/* --- Site Header (Sticky Glassmorphism) --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 33, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.header-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.header-logo span {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dim, #8f9bb3);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    padding: 10px 0;
}

.nav-link:hover {
    color: #fff;
}

.nav-link .chevron-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 33, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item:hover .nav-link {
    color: #fff;
}

.nav-item:hover .nav-link .chevron-icon {
    transform: rotate(180deg);
}

.nav-dropdown a, .nav-dropdown span {
    color: var(--text-dim, #8f9bb3);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: block;
    font-weight: 500;
}

.nav-dropdown span {
    cursor: not-allowed;
    position: relative;
}

.nav-dropdown a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.nav-dropdown span.coming-soon-link {
    cursor: default;
}

.nav-dropdown span.coming-soon-link:hover {
    color: var(--accent, #ffcd30);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-header-app {
    background: linear-gradient(135deg, #ffcd30 0%, #ff9900 100%);
    color: #000;
    text-decoration: none;
    padding: 10px 24px;
    font-weight: 900;
    font-size: 13px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(255, 205, 48, 0.2);
    transition: all 0.3s ease;
}

.btn-header-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 205, 48, 0.4);
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.burger-btn svg {
    width: 28px;
    height: 28px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 33, 0.98);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 110px 30px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-logo {
    position: absolute;
    top: 25px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mobile-menu-logo img {
    height: 32px;
    width: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 32px;
    height: 32px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
}

.mobile-nav-title {
    display: block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    padding-bottom: 5px;
    text-align: center;
    transition: color 0.3s ease;
}

.mobile-nav-title:hover {
    color: var(--accent, #ffcd30);
}

.mobile-nav-sublist {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-left: 0;
}

.mobile-nav-sublist a, .mobile-nav-sublist span {
    color: var(--text-dim, #8f9bb3);
    text-decoration: none;
    font-size: 14px;
}

.mobile-nav-sublist span.coming-soon-link {
    cursor: default;
}

.mobile-nav-sublist a:hover,
.mobile-nav-sublist span.coming-soon-link:hover {
    color: var(--accent, #ffcd30);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: auto;
}

.mobile-actions .f-lang-selector.dropdown,
.mobile-actions .dropdown-trigger {
    width: auto !important;
    justify-content: center !important;
}

.mobile-actions .btn-header-app {
    padding: 12px 40px;
}

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .burger-btn { display: block; }
    .header-actions { display: none; }
    .header-container { padding: 0 30px; }
}

/* Header Lang Selector Support */
.header-actions .f-lang-selector.dropdown .dropdown-menu {
    top: calc(100% + 8px);
    bottom: auto;
}
.header-actions .f-lang-selector.dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}
.header-actions .f-lang-selector.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}
.header-actions .f-lang-selector.dropdown:hover .dropdown-trigger .chevron-icon {
    transform: rotate(180deg);
}
