/* Стилі хедера (з header.php) */

        :root {
            --accent: #00F5A0;
            --bg-dark: #0B0F1A;
            --text-gray: #A1A1AA;
            --header-h: 80px;
        }

        .ch-header {
            position: fixed !important;
            top: 0; left: 0; width: 100%;
            height: var(--header-h);
            background: rgba(11, 15, 26, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 999999 !important;
            display: flex; align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: all 0.3s ease;
        }

        .ch-header.scrolled {
            height: 65px;
            background: rgba(11, 15, 26, 0.95);
        }

        .ch-container {
            max-width: 1200px; margin: 0 auto; width: 100%;
            padding: 0 24px; display: flex; justify-content: space-between; align-items: center;
        }

        .ch-logo { 
            font-size: 21px; font-weight: 800; color: #fff; 
            text-decoration: none; text-transform: uppercase; letter-spacing: -1px;
        }
        .ch-logo span { color: var(--accent); }

        .ch-nav-desktop { display: flex; gap: 28px; align-items: center; }
        .ch-nav-link { 
            color: var(--text-gray); text-decoration: none; font-size: 12px; 
            font-weight: 600; text-transform: uppercase; transition: 0.3s;
            position: relative; padding: 8px 0;
        }
        .ch-nav-link:hover, .ch-nav-link.active { color: #fff; }

        /* LANGUAGE SWITCHER */
        .lang-switcher {
            position: relative;
            margin-left: 20px;
            z-index: 1000011;
        }

        .lang-current {
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            padding: 6px 12px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            font-family: inherit;
            line-height: 1;
            transition: 0.3s;
        }

        button.lang-current {
            appearance: none;
            -webkit-appearance: none;
            margin: 0;
        }

        .lang-current:hover {
            background: rgba(255,255,255,0.1);
            border-color: var(--accent);
        }

        .lang-current::after {
            content: '';
            border: solid #fff;
            border-width: 0 2px 2px 0;
            display: inline-block;
            padding: 2px;
            transform: rotate(45deg);
            margin-bottom: 2px;
            transition: 0.3s;
        }

        .lang-switcher.active .lang-current::after {
            transform: rotate(-135deg);
            margin-bottom: -2px;
        }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: #161b26;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 8px;
            min-width: 100px;
            display: none;
            flex-direction: column;
            gap: 4px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .lang-switcher.active .lang-dropdown {
            display: flex;
            animation: fadeIn 0.2s ease;
        }

        .lang-item {
            padding: 8px 12px;
            color: var(--text-gray);
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            border-radius: 6px;
            transition: 0.2s;
        }

        .lang-item:hover {
            background: rgba(255,255,255,0.05);
            color: #fff;
        }

        .lang-item.active {
            color: var(--accent);
            background: rgba(0, 245, 160, 0.05);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* BURGER ICON */
        .ch-burger {
            display: none; width: 44px; height: 44px;
            background: none; border: none; cursor: pointer;
            position: relative; z-index: 1000010 !important;
            padding: 0; outline: none;
        }

        .ch-burger .line {
            width: 24px; height: 2px; background: #fff;
            position: absolute; left: 10px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        .ch-burger .line:nth-child(1) { top: 16px; }
        .ch-burger .line:nth-child(2) { top: 22px; }
        .ch-burger .line:nth-child(3) { top: 28px; }

        .ch-burger.active .line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
        .ch-burger.active .line:nth-child(2) { opacity: 0; }
        .ch-burger.active .line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

        /* MOBILE MENU OVERLAY */
        .ch-mobile-menu {
            position: fixed; inset: 0;
            background: rgba(11, 15, 26, 0.5);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            z-index: 1000000 !important;
            display: none;
            flex-direction: column;
            align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.3s ease;
        }
        
        .ch-mobile-menu.active { display: flex; opacity: 1; }

        .ch-nav-mobile { 
            display: flex; flex-direction: column; gap: 35px; text-align: center;
            transform: translateY(20px); transition: 0.4s ease;
        }
        .ch-mobile-menu.active .ch-nav-mobile { transform: translateY(0); }

        .ch-mobile-link { 
            color: #fff; text-decoration: none; font-size: 1.55rem; 
            font-weight: 800; text-transform: uppercase;
        }

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

        @media (max-width: 992px) {
            .ch-nav-desktop { display: none; }
            .ch-burger { display: block; }
            .lang-switcher { margin-right: 10px; }
        }
    

/* Стилі футера (з footer.php) */

:root {
    --ch-bg: #0B0F1A;
    --ch-accent: #00F5A0;
    --ch-text: #A1A1AA;
}

.ch-footer {
    position: relative;
    background: var(--ch-bg);
    padding: 30px 0 20px; /* Трохи збільшено відступи для балансу */
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ch-footer-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ch-accent), transparent);
    opacity: 0.3;
    animation: ch-glow-flow 8s linear infinite;
}

@keyframes ch-glow-flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ch-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Вирівнювання по верху, щоб контакти були вище */
    margin-bottom: 25px;
}

.ch-footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.ch-footer-logo span { color: var(--ch-accent); }

.ch-footer-desc {
    font-size: 10px;
    color: var(--ch-text);
    margin-top: 4px;
}

.ch-footer-contacts {
    text-align: right;
    margin-top: 2px; /* Точне підтягування під рівень лого */
}

.ch-contact-label {
    font-size: 9px;
    color: var(--ch-text);
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.5;
}

.ch-footer-mail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.ch-footer-mail svg { width: 14px; color: var(--ch-accent); }

.ch-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Новий ряд для лінків та 18+ */
.ch-footer-legal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ch-footer-legal-links {
    display: flex;
    gap: 20px;
}

.ch-legal-item {
    color: var(--ch-text);
    text-decoration: none;
    font-size: 11px;
    opacity: 0.7;
    transition: 0.3s;
}

.ch-legal-item:hover { opacity: 1; color: #fff; }

.ch-footer-copy {
    font-size: 10px;
    color: rgba(161, 161, 170, 0.3);
}

.ch-18 {
    color: #ff4d4d;
    font-size: 11px;
    font-weight: 900;
    padding: 1px 5px;
    border: 1.5px solid rgba(255, 77, 77, 0.4);
    border-radius: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ch-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .ch-footer-contacts { text-align: center; }
    .ch-footer-mail { justify-content: center; }
    
    .ch-footer-legal-row {
        flex-wrap: wrap;
        gap: 15px;
    }
    .ch-footer-legal-links { gap: 15px; }
}
