/* --- 1. RESET & VARIABLES --- */
:root {
    /* --- COLOR PALETTE UPDATES (Bravo Play Theme) --- */
    --bg-body: #1b222c;       /* Requested Dark Blue/Grey */
    --bg-card: #252c38;       /* Slightly lighter for cards/headers */
    --bg-sidebar: #151a22;    /* Darker shade for sidebar contrast */
    --bg-hover: #2c3542;      /* Hover state for list items */
    --bg-input: #0f1318;      /* Very dark background for search bars */
    
    --text-primary: #ffffff;  /* White text for high contrast */
    --text-secondary: #94a3b8;/* Cool grey for subtitles */
    
    --accent-color: #b13dd7;  /* Requested Vivid Purple */
    --accent-color-dark: #8a2ba8; /* Darker purple for hover states */
    --accent-glow: rgba(177, 61, 215, 0.35); /* Glow effect color */
    
    --success-green: #4ade80; /* Matches the "+140" badge in screenshot */
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --sidebar-width: 260px;
    --header-height-mobile: 60px;
    --border-color: #2d3642;  /* Subtle blue-grey border */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* --- 2. LAYOUT UTILITIES --- */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* --- 3. MOBILE NAV CONTROLLER --- */
#nav-toggle { display: none; }

.nav-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 34, 44, 0.8);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#nav-toggle:checked ~ .nav-backdrop { opacity: 1; visibility: visible; }
#nav-toggle:checked ~ .app-container .sidebar {
    transform: translateX(0);
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);
}
#nav-toggle:checked ~ .app-container { overflow: hidden; }

/* --- 4. SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.sidebar-brand {
    height: 80px; /* Taller to match screenshot logo area */
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: var(--bg-sidebar);
    position: sticky;
    top: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    font-style: italic;
    letter-spacing: -1px;
}

.nav-menu {
    padding: 1rem;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 4px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.nav-link i { 
    width: 20px; 
    text-align: center; 
    font-size: 1.1rem;
    color: #64748b; /* Muted icon color */
}
.nav-link:hover i, .nav-link.active i { color: var(--accent-color); }

/* Badge (Matches the "New" purple badge in screenshot) */
.badge {
    margin-left: auto;
    background: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 5. MAIN CONTENT WRAPPER --- */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* --- 6. HEADER --- */
.top-header {
    height: var(--header-height-mobile);
    background-color: var(--bg-body); /* Solid match to body */
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 900;
}

/* Search Bar Simulation (Matches screenshot top bar) */
.search-container {
    display: none; /* Hidden on mobile by default */
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin-left: 1rem;
}

.hamburger-btn {
    font-size: 1.25rem;
    color: var(--text-primary);
    padding: 0.5rem;
    cursor: pointer;
}

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

/* Buttons */
.btn {
    font-weight: 700;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

/* "Log In" Style (Dark/Outlined) */
.btn-ghost { 
    background: var(--bg-card); 
    color: var(--text-primary); 
    border: 1px solid var(--border-color); 
}
.btn-ghost:hover { 
    background: var(--bg-hover);
    border-color: var(--text-secondary);
}

/* "Sign Up" Style (Requested Purple) */
.btn-primary { 
    background: var(--accent-color); 
    color: #ffffff;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid transparent;
}
.btn-primary:hover { 
    background: var(--accent-color-dark); 
    transform: translateY(-1px);
}

/* --- 7. CONTENT SECTIONS --- */
.content-container {
    padding: 1.5rem 1rem;
    max-width: 1400px; /* Wider for casino layout */
    margin: 0 auto;
    width: 100%;
}
/* --- STYLED LISTS (Modern & Glowing) --- */

/* Загальні відступи для списків в контенті */
.info-section ul, 
.info-section ol {
    margin: 1.5rem 0;
    padding-left: 0; /* Прибираємо стандартний відступ, бо робимо свій */
    list-style: none; /* Прибираємо стандартні маркери */
}

/* Стиль для елементів списку */
.info-section li {
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 2rem; /* Місце для іконки/цифри */
}

/* --- 1. МАРКОВАНИЙ СПИСОК (UL) - Світяща точка --- */
.info-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px; /* Вирівнювання по центру першого рядка тексту */
    width: 8px;
    height: 8px;
    background-color: var(--accent-color); /* Фіолетовий */
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color); /* Ефект світіння (Glow) */
    transition: transform 0.2s ease;
}

/* Ефект при наведенні на пункт списку */
.info-section ul li:hover::before {
    transform: scale(1.3); /* Точка трохи збільшується */
}

/* --- 2. НУМЕРОВАНИЙ СПИСОК (OL) - Круглі бейджі --- */
.info-section ol {
    counter-reset: item; /* Ініціалізація лічильника */
}

.info-section ol li {
    padding-left: 3rem; /* Більше відступу для цифри */
}

.info-section ol li::before {
    content: counter(item); /* Виводимо цифру */
    counter-increment: item;
    position: absolute;
    left: 0;
    top: -2px;
    
    /* Стиль кружечка */
    width: 28px;
    height: 28px;
    background: rgba(177, 61, 215, 0.1); /* Дуже прозорий фіолетовий фон */
    border: 1px solid var(--accent-color); /* Фіолетова рамка */
    color: var(--accent-color);
    border-radius: 50%;
    
    /* Центрування цифри */
    text-align: center;
    line-height: 26px; /* Вирівнювання по вертикалі */
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 5px rgba(177, 61, 215, 0.2);
}

/* Ефект при наведенні на пункт нумерованого списку */
.info-section ol li:hover::before {
    background: var(--accent-color);
    color: #fff; /* Цифра стає білою, фон фіолетовим */
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero Banner */
.banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    /* Purple/Blue Gradient similar to screenshot */
    background: linear-gradient(110deg, #3b0e52 0%, #200527 50%, #1b222c 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.main-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Gradient overlay + Your Image */
    background: 
                url('bravo play-min.png'); 
    background-size: cover;
    background-position: center top;
    border-radius: 16px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 600px;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Green CTA Button (like +€140 in screenshot) */
.hero-btn {
    background-color: var(--success-green);
    color: #0f391a;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}
.hero-btn:hover { transform: scale(1.05); background-color: #22c55e; }

/* Filter Tabs (Slots, Favorite, etc.) */
.filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.filter-pill {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s;
}
.filter-pill:hover, .filter-pill.active {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.filter-pill i { color: var(--accent-color); }

/* Games Grid */
.section-header { margin-bottom: 1.5rem; }
.section-title { 
    font-size: 1.4rem; 
    color: var(--text-primary); 
    font-weight: 700; 
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.game-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10; /* Landscape aspect ratio */
    border: 1px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}
.game-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--accent-color); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.game-thumb { width: 100%; height: 100%; object-fit: cover; }

/* Info Section (Typography updates) */
.info-section {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}
.info-section h2 { color: var(--text-primary); border-bottom-color: var(--border-color); }
.info-section p, .info-section li { color: var(--text-secondary); }
.info-section strong { color: var(--text-primary); }
.info-section a { color: var(--accent-color); border-bottom-color: rgba(177, 61, 215, 0.5); }
.info-section h3::before { background: var(--accent-color); }
.info-section ul li::before { background-color: var(--accent-color); }

/* FAQ & Footer */
details { background-color: var(--bg-card); border-color: var(--border-color); }
summary { color: var(--text-primary); }
summary:after { color: var(--accent-color); }
.site-footer { background-color: var(--bg-card); border-top-color: var(--border-color); }

/* --- 8. DESKTOP MEDIA QUERIES --- */
@media (min-width: 1024px) {
    .sidebar {
        transform: translateX(0);
        position: sticky;
        top: 0;
        height: 100vh;
        z-index: 100;
    }
    .hamburger-btn { display: none; }
    .nav-backdrop { display: none; }
    
    .top-header { padding: 0 2rem; height: 80px; }
    
    /* Show Search Bar */
    .search-container { display: flex; }
    
    .desktop-nav-items { 
        display: flex; 
        flex: 1; 
        align-items: center;
        margin-left: 2rem;
    }
    
    .content-container { padding: 2rem 3rem; }
    .games-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    
    /* Align Hero text for desktop */
    .hero-content { padding: 4rem; max-width: 650px; }
}

@media (min-width: 1440px) {
    .games-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 767px) {
    .hero-headline { font-size: 2rem; }
    .hero-content { padding: 2rem 1.5rem; text-align: center; width: 100%; max-width: 100%; }
    .hero-btn { width: 100%; justify-content: center; }
}
/* --- TABLE STYLING --- */

/* Wrapper to handle horizontal scroll on mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card); /* Matches card background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Prevents squishing on mobile */
    font-size: 0.95rem;
    text-align: left;
}

/* Header Row Styling (For tables with <thead>) */
.info-table thead th {
    background-color: rgba(17, 21, 28, 0.5); /* Darker header bg */
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid var(--accent-color); /* Vivid Purple underline */
}

/* Standard Cells */
.info-table td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    transition: color 0.2s;
}

/* Row Hover Effect */
.info-table tbody tr:hover td {
    color: var(--text-primary); /* Brighten text on hover */
    background-color: rgba(177, 61, 215, 0.05); /* Very subtle purple tint */
}

/* Remove border from the very last row for a clean look */
.info-table tbody tr:last-child td,
.info-table tbody tr:last-child th {
    border-bottom: none;
}

/* --- SPECIAL STYLING FOR THE "KEY SPECS" TABLE --- */
/* (The first table in your HTML where headers are on the left) */

.info-table tbody th {
    background-color: rgba(255, 255, 255, 0.03); /* Subtle contrast for labels */
    color: var(--accent-color); /* Make the label Purple */
    font-weight: 700;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    width: 35%; /* Fixed width for the label column */
    border-right: 1px solid var(--border-color); /* Vertical separator */
}

/* Mobile Tweak for Tables */
@media (max-width: 768px) {
    .info-table tbody th {
        width: 40%;
        font-size: 0.85rem;
    }
    .info-table td {
        font-size: 0.9rem;
    }
}
/* --- TABLE STYLING --- */

/* Wrapper to handle horizontal scroll on mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card); /* Matches card background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Prevents squishing on mobile */
    font-size: 0.95rem;
    text-align: left;
}

/* Header Row Styling (For tables with <thead>) */
.info-table thead th {
    background-color: rgba(17, 21, 28, 0.5); /* Darker header bg */
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid var(--accent-color); /* Vivid Purple underline */
}

/* Standard Cells */
.info-table td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    transition: color 0.2s;
}

/* Row Hover Effect */
.info-table tbody tr:hover td {
    color: var(--text-primary); /* Brighten text on hover */
    background-color: rgba(177, 61, 215, 0.05); /* Very subtle purple tint */
}

/* Remove border from the very last row for a clean look */
.info-table tbody tr:last-child td,
.info-table tbody tr:last-child th {
    border-bottom: none;
}

/* --- SPECIAL STYLING FOR THE "KEY SPECS" TABLE --- */
/* (The first table in your HTML where headers are on the left) */

.info-table tbody th {
    background-color: rgba(255, 255, 255, 0.03); /* Subtle contrast for labels */
    color: var(--accent-color); /* Make the label Purple */
    font-weight: 700;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    width: 35%; /* Fixed width for the label column */
    border-right: 1px solid var(--border-color); /* Vertical separator */
}

/* Mobile Tweak for Tables */
@media (max-width: 768px) {
    .info-table tbody th {
        width: 40%;
        font-size: 0.85rem;
    }
    .info-table td {
        font-size: 0.9rem;
    }
}
/* --- REVIEWS SECTION --- */

.reviews-section {
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    /* Auto-fit: Creates as many columns as fit, but they must be at least 300px wide */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color); /* Keep subtle or change to accent if preferred */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* User Header Area */
.reviewer-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* The Circle Avatar */
.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: var(--bg-hover); /* Dark grey background */
    color: var(--accent-color);        /* Purple letter */
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.stars {
    color: #fbbf24; /* Golden Yellow for stars */
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-left: 52px; /* Aligns stars with the name text, not the avatar */
    margin-top: -5px;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto; /* Pushes text to align if cards have different heights */
}


/* --- FAQ SECTION --- */

.faq-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

details {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

details[open] {
    border-color: var(--accent-color); /* Highlight border when open */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

summary {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hides default triangle */
    outline: none;
    transition: background-color 0.2s;
}

/* Custom Chevron Arrow using FontAwesome unicode */
summary::after {
    content: '\f078'; /* FontAwesome Chevron Down */
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
details[open] summary::after {
    transform: rotate(180deg);
}

summary:hover {
    background-color: var(--bg-hover);
}

/* Hide default marker in Webkit browsers */
summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 1.2rem 1.5rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator line */
    margin-top: 0;
}
/* --- PAYMENT METHODS BLOCK --- */

/* 1. Container Alignment */
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items */
    gap: 12px; /* Space between the pills */
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

/* 2. The "Pill" Card Style */
.pay-pill {
    background-color: var(--bg-card); /* Uses your dark card color */
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Smooth rounded corners */
    padding: 0 1.5rem;
    height: 54px; /* Fixed height for uniformity */
    min-width: 90px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

/* 3. Hover Effects (The "Glow") */
.pay-pill:hover {
    border-color: var(--accent-color); /* Turns border Purple */
    box-shadow: 0 4px 15px rgba(177, 61, 215, 0.25); /* Purple Glow */
    transform: translateY(-3px); /* Lifts up slightly */
    background-color: rgba(255, 255, 255, 0.03); /* Slightly lighter bg */
}

/* 4. Image Styling (Overrides inline styles for consistency) */
.pay-pill img {
    height: 24px !important; /* Enforces size */
    width: auto;
    object-fit: contain;
    
    /* Make logos grey & dim by default so they don't distract */
    filter: grayscale(100%) opacity(0.6); 
    transition: filter 0.3s ease;
}

/* 5. Make logos pop with color on hover */
.pay-pill:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Mobile Tweak: Allow them to be slightly smaller on phones */
@media (max-width: 480px) {
    .pay-pill {
        padding: 0 1rem;
        height: 48px;
        flex: 1 1 30%; /* Auto-size to fit 3 per row */
    }
}
/* --- FOOTER STYLING --- */

.site-footer {
    background-color: #151a22; /* Darker than body, same as sidebar */
    border-top: 1px solid var(--border-color);
    margin-top: auto; /* Pushes footer to bottom */
    padding-bottom: 3rem;
    font-size: 0.95rem;
}

/* 1. Update Bar (Top of footer) */
.footer-update-bar {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-align: center;
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

/* 2. Main Grid Layout */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}

/* 3. Brand Column */
.footer-brand {
    max-width: 300px;
}
.footer-logo-link img {
    max-height: 40px; /* Restrict logo size */
    margin-bottom: 1.5rem;
}
.copyright-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 4. Navigation Links (Grid Layout) */
.footer-nav {
    flex: 1; /* Takes up remaining space */
    min-width: 250px;
}

.footer-links-list {
    display: grid;
    /* Creates 2 columns of links automatically */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 20px;
    padding: 0;
    list-style: none;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links-list a:hover {
    color: var(--text-primary); /* White on hover */
    padding-left: 5px; /* Slight slide effect */
    color: var(--accent-color); /* Purple Accent */
}

/* 5. Authorities & Logos */
.authorities-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.authorities-section img {
    height: 35px;
    width: auto;
    opacity: 0.6; /* Dimmed by default */
    transition: opacity 0.3s;
}
.authorities-section a:hover img {
    opacity: 1; /* Bright on hover */
}

/* 18+ Circle */
.age-restriction {
    border: 2px solid #ef4444; /* Red warning color */
    color: #ef4444;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* --- MOBILE FOOTER TWEAKS --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-links-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .authorities-section {
        justify-content: center;
    }
}
/* --- СТИЛІ ДЛЯ ЛОГОТИПУ --- */

/* 1. За замовчуванням (мобільні) логотип у хедері ВИДИМИЙ */
.mobile-logo {
    display: flex;
    align-items: center;
}

/* 2. Медіа-запит для десктопу (екрани ширші за 1024px) */
@media (min-width: 1024px) {
    /* Приховуємо логотип у верхньому хедері, бо вже є логотип у сайдбарі */
    .mobile-logo {
        display: none;
    }

    /* На всяк випадок переконуємося, що сайдбар видимий */
    .sidebar {
        display: flex; 
        /* інші стилі сайдбару... */
    }
}
/* --- АДАПТИВНІСТЬ БАНЕРА (MOBILE) --- */
@media (max-width: 768px) {
    .banner {
        min-height: unset;
        width: 100%;
        /* Змінюємо пропорції на більш широкі, щоб відповідати вашій картинці.
           Спробуйте 2.5 / 1 або 3 / 1, якщо картинка дуже широка. */
        aspect-ratio: 2.5 / 1; 
        margin-bottom: 2rem;
    }

    .main-bg {
        /* 'contain' змушує картинку показатися повністю */
        background-size: contain; 
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 8px;
    }

    /* Стилі для кнопки під банером */
    div[style*="text-align: center"] {
        margin-top: -0.5rem !important; /* Відступ між картинкою і кнопкою */
        margin-bottom: 2rem !important;
    }

    .btn-primary {
        padding: 0.8rem 3rem !important;
        font-size: 1rem !important;
        width: 80%; /* Кнопка ширша на мобільному */
    }
}
/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.lang-trigger {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.lang-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1d21; /* Match your header/sidebar color */
    min-width: 140px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 100;
    margin-top: 8px;
    overflow: hidden;
}

.lang-menu a {
    color: #ccc;
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.lang-menu a img {
    width: 18px;
    border-radius: 2px;
}

.lang-menu a:hover {
    background: var(--accent-green); /* Or your primary theme color */
    color: #000;
}

/* Show on hover */
.lang-dropdown:hover .lang-menu {
    display: block;
}