:root {
    --gold-primary: #FFC600;
    --gold-light: #FFD740;
    --gold-lighter: #FFE57F;
    --gold-dark: #E6B200;
    --gold-gradient: linear-gradient(135deg, #FFC600, #FFD740, #FFC600);
    --gold-glow: 0 0 50px rgba(255, 198, 0, 0.25);
    --gold-glow-strong: 0 0 80px rgba(255, 198, 0, 0.35);
    --gold-border: rgba(255, 198, 0, 0.25);
}

.header-wrapper {
    background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header {
    padding: 15px 0;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.btn-icon-menu {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--gold-border, rgba(255, 198, 0, 0.25));
    color: #e5e7eb;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-icon-menu:hover {
    border-color: var(--gold-primary, #FFC600);
    box-shadow: var(--gold-glow, 0 0 50px rgba(255, 198, 0, 0.25));
    color: var(--gold-primary, #FFC600);
}

.btn-icon-menu::after {
    display: none;
}

.logo-link img {
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 198, 0, 0.2));
}

.live-dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 14px;
    color: #9ca3af;
}

.live-dot span {
    width: 8px;
    height: 8px;
    background: #FFC600;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

ul.dropdown-menu.dropdown-menu-dark {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    border: 1px solid var(--gold-border, rgba(255, 198, 0, 0.15));
    border-radius: 14px;
    padding: 10px 8px;
    min-width: 230px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    margin-top: 12px;
    animation: dropdownSlide 0.2s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--gold-primary, #FFC600);
    flex-shrink: 0;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 198, 0, 0.08);
    color: var(--gold-primary, #FFC600);
    transform: translateX(4px);
}

.dropdown-menu .dropdown-item:active {
    background: rgba(255, 198, 0, 0.15);
    color: var(--gold-primary, #FFC600);
}

.dropdown-menu .dropdown-item.active {
    background: rgba(255, 198, 0, 0.12);
    color: var(--gold-primary, #FFC600);
}

.dropdown-menu .dropdown-divider {
    margin: 6px 12px;
    border-color: var(--gold-border, rgba(255, 198, 0, 0.1));
    opacity: 0.5;
}

.dropdown-menu .dropdown-item.auth {
    color: var(--gold-primary, #FFC600);
    font-weight: 600;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu .dropdown-item.auth:hover {
    background: rgba(255, 198, 0, 0.08);
    color: var(--gold-light, #FFD740);
    transform: translateX(4px);
}

.dropdown-menu .dropdown-item.auth i {
    color: #ff4444;
}

header hr {
    display: none;
}

.ticker-content {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
    color: #c8c8c8;
    border-top: 1px solid var(--gold-border, rgba(255, 198, 0, 0.08));
    border-bottom: 1px solid var(--gold-border, rgba(255, 198, 0, 0.08));
    gap: 50px;
    font-weight: 600;
}

.ticker-content span {
    color: var(--gold-primary, #FFC600);
}

@media (max-width: 768px) {
    .header-grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 5px 0;
    }

    .logo-link img {
        max-height: 40px;
    }

    .live-dot {
        font-size: 11px;
    }

    ul.dropdown-menu.dropdown-menu-dark {
        min-width: 200px;
        padding: 8px 6px;
        border-radius: 12px;
    }

    .dropdown-menu .dropdown-item {
        padding: 8px 14px;
        font-size: 13px;
        gap: 10px;
        border-radius: 8px;
    }

    .dropdown-menu .dropdown-item i {
        font-size: 14px;
        width: 18px;
    }

    .dropdown-menu .dropdown-divider {
        margin: 4px 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 14px;
    }

    .logo-link img {
        max-height: 36px;
    }

    .btn-icon-menu {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .live-dot {
        font-size: 10px;
    }

    ul.dropdown-menu.dropdown-menu-dark {
        min-width: 180px;
        padding: 6px 4px;
        border-radius: 10px;
        margin-top: 8px;
    }

    .dropdown-menu .dropdown-item {
        padding: 6px 12px;
        font-size: 12px;
        gap: 8px;
        border-radius: 6px;
    }

    .dropdown-menu .dropdown-item i {
        font-size: 13px;
        width: 16px;
    }

    .dropdown-menu .dropdown-divider {
        margin: 3px 8px;
    }
}