/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #f7f7f7;
    --text-color: #1a1a1a;
    --accent-color: #4a90e2;
    /* System font stack */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    --spacing-unit: 1rem;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-unit);
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    /* Optional: Subtle fade-in animation */
    animation: fadeIn 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
    /* Subtle hover effect */
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    /* Limit height so it doesn't dominate too much on large screens */
    border-radius: 8px;
    /* Slight rounding for a premium feel, optional */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05);  Optional: very subtle shadow for depth */
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
    margin-top: 1rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
    /* Animated entrance */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stock Ticker Styles */
.ticker-wrapper {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #ddd;
    /* Changed from border-top to full border for better look inline */
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    /* Optional: adds a bit of style */
    position: relative;
    max-width: 600px;
    /* Constrain width so it doesn't span full 800px if not needed */
    margin-left: auto;
    margin-right: auto;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll 25s linear infinite;
    font-size: 16px;
    color: #000;
}

.up {
    color: #0a8f08;
    font-weight: bold;
}

.down {
    color: #c00000;
    font-weight: bold;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo {
        max-height: 200px;
        /* Smaller logo on mobile */
    }

    .title {
        font-size: 1.1rem;
        /* Adjust font size for mobile */
        padding: 0 1rem;
    }
}