.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.main-header.scrolled {
    background: rgba(8, 8, 8, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0.9rem 4rem;
    transition: padding 0.3s ease;
}

.main-header.scrolled .container {
    padding: 0.7rem 4rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--accent);
}

.top-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}


@media (max-width: 768px) {
    .main-header .container {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 12px;
    }

    .main-header.scrolled .container {
        padding: 0.6rem 1rem;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .brand-logo {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .top-nav {
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

.sync-subticker {
    font-family: inherit;
    font-size: 0.85em;
    opacity: 0.6;
    margin-left: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card:hover .sync-subticker {
    opacity: 1;
    color: var(--accent);
}

.sync-subticker.syncing {
    color: var(--accent);
    animation: blink-soft 2s infinite;
}

@keyframes blink-soft {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}