:root {
            /* Color Palette - Sports Betting Theme */
            color-scheme: dark;

            /* Color Palette - Sports Betting Theme (DARK as default) */
            --color-primary: #3d7a52;
            --color-primary-light: #4a9463;
            --color-primary-dark: #2d5a3d;

            --color-accent: #e6c860;
            --color-accent-light: #f0d880;
            --color-accent-dark: #d4af37;

            --color-success: #28a745;

            --color-surface: #121212;
            --color-surface-alt: #1a1a1a;
            --color-surface-elevated: #242424;

            --color-text: #e8e8e8;
            --color-text-secondary: #b0b0b0;
            --color-text-muted: #787878;

            --color-border: #333333;
            --color-border-light: #2a2a2a;

            --color-bg: #121212;          
            --content-wide: min(90rem, 95vw); 

            /* Shadows (dark) */
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
            --shadow-accent: 0 4px 20px rgba(230, 200, 96, 0.2);

            /* Typography + sizes + spacing  */
            --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --font-body: 'Georgia', 'Times New Roman', serif;
            --font-mono: 'Consolas', 'Monaco', monospace;

            --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
            --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
            --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
            --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
            --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
            --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
            --text-3xl: clamp(1.875rem, 1.4rem + 2.4vw, 2.75rem);
            --text-4xl: clamp(2.25rem, 1.6rem + 3.2vw, 3.5rem);

            --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
            --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
            --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
            --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
            --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
            --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);

            --content-width: min(72ch, 90vw);
            --wide-width: min(90rem, 95vw);

            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 400ms ease;

            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 20px;
        }
        
        
        /* Reset & Base */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        
        body {
            font-family: var(--font-body);
            font-size: var(--text-base);
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-surface);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* Focus Styles */
        :focus-visible {
            outline: 3px solid var(--color-accent);
            outline-offset: 3px;
        }
        
        ::selection {
            background-color: var(--color-accent);
            color: var(--color-primary-dark);
        }
        
        /* Skip Link */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            padding: var(--space-sm) var(--space-md);
            background: var(--color-primary);
            color: white;
            text-decoration: none;
            font-family: var(--font-heading);
            font-weight: 600;
            border-radius: var(--radius-md);
            z-index: 1000;
            transition: top var(--transition-fast);
        }
        
        .skip-link:focus {
            top: var(--space-md);
        }
        
        /* Header */
        .site-header {
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            min-height: 4rem;
        }
        
        /* Main Content */
        main {
            flex: 1;
            width: 100%;
            max-width: var(--wide-width);
            margin: 0 auto;
            padding: var(--space-xl) var(--space-md);
        }
        
        /* Article Content Styles */
        main h1 {
            font-family: var(--font-heading);
            font-size: var(--text-4xl);
            font-weight: 800;
            line-height: 1.15;
            color: var(--color-text);
            margin-bottom: var(--space-lg);
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            letter-spacing: -0.02em;
            text-align: center;
        }
        
      
        
        main h2 { 
            font-family: var(--font-heading);
            font-size: var(--text-3xl);
            font-weight: 700;
            line-height: 1.2;
            color: var(--color-primary);
            margin-top: var(--space-2xl);
            margin-bottom: var(--space-md);
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            padding-bottom: var(--space-sm);
            border-bottom: 2px solid var(--color-border-light);
            position: relative;
            text-align: center;
        }
        
        @media (prefers-color-scheme: dark) {
            main h2 {
                color: var(--color-accent);
            }
        }
        
       
        
        main h3 {
            font-family: var(--font-heading);
            font-size: var(--text-2xl);
            font-weight: 600;
            line-height: 1.3;
            color: var(--color-text);
            margin-top: var(--space-xl);
            margin-bottom: var(--space-sm);
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            
            display: flex;
            align-items: center;     
            justify-content: center; 
            text-align: center;      
            gap: var(--space-sm);
        }
        
       
        
        main p {
            max-width: var(--content-width);
            margin: 0 auto var(--space-md);
            color: var(--color-text-secondary);
        }
        
        main p:last-child {
            margin-bottom: 0;
        }
        
        /* Strong & Emphasis */
        main strong {
            font-weight: 700;
            color: var(--color-text);
        }
        
        main em {
            font-style: italic;
            color: var(--color-text);
        }
        
        /* Links */
        main a {
            color: var(--color-primary);
            text-decoration: underline;
            text-decoration-color: var(--color-accent);
            text-underline-offset: 3px;
            transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
        }
        
        main a:hover {
            color: var(--color-accent-dark);
            text-decoration-color: var(--color-primary);
        }
        
        @media (prefers-color-scheme: dark) {
            main a {
                color: var(--color-accent);
            }
            
            main a:hover {
                color: var(--color-accent-light);
            }
        }
        
        /* Lists */
        main ul, main ol {
            max-width: var(--content-width);
            margin: 0 auto var(--space-md);
            padding-left: var(--space-lg);
        }
        
        main li {
            margin-bottom: var(--space-sm);
            color: var(--color-text-secondary);
            padding-left: var(--space-xs);
        }
        
        main li::marker {
            color: var(--color-accent);
            font-weight: 700;
        }
        
        main ul li {
            list-style-type: square;
        }
        
        main li > ul, main li > ol {
            margin-top: var(--space-sm);
            margin-bottom: 0;
        }
        
        /* Blockquote */
        main blockquote {
            max-width: var(--content-width);
            margin: var(--space-lg) auto;
            padding: var(--space-md) var(--space-lg);
            background: linear-gradient(135deg, var(--color-surface-alt) 0%, var(--color-surface-elevated) 100%);
            border-left: 4px solid var(--color-accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--color-text);
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        
        main blockquote::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: var(--space-md);
            font-size: 4rem;
            font-family: var(--font-heading);
            color: var(--color-accent);
            opacity: 0.3;
            line-height: 1;
        }
        
        main blockquote p {
            margin-bottom: var(--space-sm);
        }
        
        main blockquote p:last-child {
            margin-bottom: 0;
        }
        
        /* Figures & Images */
        main figure {
            max-width: var(--content-width);
            margin: var(--space-xl) auto;
        }
        
        main figure img,
        main .hero-image,
        main .article-image {
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            transition: transform var(--transition-base), box-shadow var(--transition-base);
        }
        
        main figure img:hover,
        main .article-image:hover {
            transform: scale(1.01);
            box-shadow: var(--shadow-lg);
        }
        
        main .hero-image {
            max-width: min(100%, 1200px);
            margin: var(--space-lg) auto var(--space-xl);
            display: block;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
        }
        
        main figcaption {
            margin-top: var(--space-sm);
            font-size: var(--text-sm);
            color: var(--color-text-muted);
            text-align: center;
            font-style: italic;
        }
        
        /* Tables */
        main table {
            width: 100%;
            max-width: var(--content-width);
            margin: var(--space-lg) auto;
            border-collapse: collapse;
            font-size: var(--text-sm);
            background: var(--color-surface-elevated);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        
        main thead {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            color: white;
        }
        
        main th {
            font-family: var(--font-heading);
            font-weight: 600;
            text-align: left;
            padding: var(--space-md);
            white-space: nowrap;
        }
        
        main td {
            padding: var(--space-sm) var(--space-md);
            border-bottom: 1px solid var(--color-border-light);
            color: var(--color-text-secondary);
        }
        
        main tbody tr {
            transition: background-color var(--transition-fast);
        }
        
        main tbody tr:hover {
            background-color: var(--color-surface-alt);
        }
        
        main tbody tr:last-child td {
            border-bottom: none;
        }
        
        /* Responsive Table */
        @media (max-width: 768px) {
            main table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
        }
        
        /* Code */
        main code {
            font-family: var(--font-mono);
            font-size: 0.9em;
            padding: 0.2em 0.4em;
            background: var(--color-surface-alt);
            border: 1px solid var(--color-border-light);
            border-radius: var(--radius-sm);
            color: var(--color-primary);
        }
        
        @media (prefers-color-scheme: dark) {
            main code {
                color: var(--color-accent);
            }
        }
        
        main pre {
            max-width: var(--content-width);
            margin: var(--space-lg) auto;
            padding: var(--space-md);
            background: var(--color-primary-dark);
            border-radius: var(--radius-md);
            overflow-x: auto;
            box-shadow: var(--shadow-md);
        }
        
        main pre code {
            background: transparent;
            border: none;
            padding: 0;
            color: #e8e8e8;
            font-size: var(--text-sm);
        }
        
        /* Horizontal Rule */
        main hr {
            max-width: var(--content-width);
            margin: var(--space-xl) auto;
            border: none;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--color-border), transparent);
        }
        
        /* Special Content Blocks */
        main aside {
            max-width: var(--content-width);
            margin: var(--space-lg) auto;
            padding: var(--space-md);
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.04) 100%);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: var(--radius-md);
            font-size: var(--text-sm);
        }
        
        main aside::before {
            content: 'Nota';
            display: block;
            font-family: var(--font-heading);
            font-weight: 700;
            color: var(--color-accent-dark);
            margin-bottom: var(--space-xs);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-size: var(--text-xs);
        }
        
        /* Table of Contents Styling */
        main nav[aria-label="Indice"] ul,
        main ul:first-of-type {
            background: var(--color-surface-alt);
            padding: var(--space-md) var(--space-lg);
            border-radius: var(--radius-md);
            border-left: 4px solid var(--color-primary);
        }
        
        main nav[aria-label="Indice"] li,
        main ul:first-of-type li {
            list-style: none;
            padding-left: 0;
            margin-bottom: var(--space-xs);
        }
        
        main nav[aria-label="Indice"] li::before,
        main ul:first-of-type li::before {
            content: none;
        }
        
        main nav[aria-label="Indice"] a,
        main ul:first-of-type a {
            display: block;
            padding: var(--space-xs) 0;
            color: var(--color-text-secondary);
            text-decoration: none;
            transition: color var(--transition-fast), transform var(--transition-fast);
        }
        
        main nav[aria-label="Indice"] a:hover,
        main ul:first-of-type a:hover {
            color: var(--color-primary);
            transform: translateX(4px);
        }
        
        /* FAQ Styling - for questions in bold */
        main p > strong:first-child:only-child,
        main p > strong:first-child:last-child {
            display: block;
            font-family: var(--font-heading);
            font-size: var(--text-lg);
            color: var(--color-primary);
            margin-bottom: var(--space-xs);
        }
        
        @media (prefers-color-scheme: dark) {
            main p > strong:first-child:only-child,
            main p > strong:first-child:last-child {
                color: var(--color-accent);
            }
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            min-height: 4rem;
            margin-top: auto;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        main > * {
            animation: fadeInUp 0.5s ease backwards;
        }
        
        main > *:nth-child(1) { animation-delay: 0.05s; }
        main > *:nth-child(2) { animation-delay: 0.1s; }
        main > *:nth-child(3) { animation-delay: 0.15s; }
        main > *:nth-child(4) { animation-delay: 0.2s; }
        main > *:nth-child(5) { animation-delay: 0.25s; }
        
        /* Reduce Motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            html {
                scroll-behavior: auto;
            }
        }
        
        /* Print Styles */
        @media print {
            body {
                font-size: 12pt;
                line-height: 1.5;
                color: black;
                background: white;
            }
            
            header, footer {
                display: none;
            }
            
            main {
                padding: 0;
                max-width: 100%;
            }
            
            main h1, main h2, main h3 {
                color: black;
                page-break-after: avoid;
            }
            
            main img, main figure {
                max-width: 100%;
                page-break-inside: avoid;
            }
            
            main table {
                page-break-inside: avoid;
            }
            
            main a {
                color: black;
                text-decoration: underline;
            }
            
            main a[href^="http"]::after {
                content: " (" attr(href) ")";
                font-size: 0.8em;
                color: #666;
            }
        }
        /* Footer Disclaimer */
        .footer-disclaimer {
            max-width: 72ch;
            margin: 0 auto;
            padding: 2rem 1rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
            line-height: 1.6;
        }

        /* -------------------------------------------------------------------------
   404 ERROR PAGE STYLES
   ------------------------------------------------------------------------- */

/* 1. Container - Centers everything vertically and horizontally */
.error-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Takes up most of the screen */
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg); /* Ensures dark background */
}

.error-404-content {
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Big "404" Number */
.error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 10vw, 12rem); /* Responsive giant text */
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent); /* Gold color */
    margin: 0 0 var(--space-md);
    text-shadow: 0 0 30px rgba(230, 192, 74, 0.2); /* Golden glow */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Bouncing Ball Animation for the "0" */
.ball-icon {
    display: inline-block;
    font-size: 0.8em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

/* 3. Headlines & Text */
.error-title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: var(--color-text);
    margin-bottom: var(--space-md);
    border: none; /* Removes the bottom border from standard H2 */
}

.error-title::before {
    display: none; /* Hides the decorative line from standard H2 */
}

.error-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* 4. "Back to Home" Button */
.btn-home {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 138, 78, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-primary);
}

.btn-home:hover {
    background: transparent;
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 138, 78, 0.6);
}


.site-header {
    position: fixed; 
    top: 20px;       
    left: 50%;
    transform: translateX(-50%);
    width: auto;     
    max-width: 95%;  
    z-index: 1000;
    
    background: rgba(13, 18, 16, 0.85); 
    backdrop-filter: blur(12px);        
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 50px; 
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.5), 
        0 0 0 1px rgba(0, 0, 0, 0.2);   
        
    transition: top 0.3s ease, padding 0.3s ease;
}

.top-navigation-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px; 
    height: auto;
    min-height: 50px;
}

.menu-desktop {
    display: flex;
    gap: 5px; 
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-desktop a {
    position: relative;
    display: block;
    padding: 10px 20px;
    
    font-family: var(--font-heading); 
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted); 
    text-decoration: none;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px; 
    overflow: hidden;
}

.menu-desktop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary); 
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
    border-radius: 30px;
}

.menu-desktop a:hover {
    color: #ffffff; 
    transform: translateY(-2px); 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.menu-desktop a:hover::before {
    opacity: 1;
    transform: scale(1); 
    box-shadow: 0 0 15px rgba(61, 138, 90, 0.4); 
}

.menu-desktop .current-menu-item a {
    color: var(--color-bg); 
    background: var(--color-accent); 
    font-weight: 800;
    box-shadow: 0 0 15px rgba(230, 192, 74, 0.3); 
}

@media (max-width: 768px) {
    .site-nav--desktop { display: none; }
    .site-header { 
        top: 0; 
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0;
    }
    .top-navigation-bar {
        justify-content: flex-end; 
    }
}

/* =========================================
   CINEMATIC MOBILE MENU (APP STYLE)
   ========================================= */

/* 1. Burger Button Animation Logic */
.burger {
    position: relative;
    z-index: 2100; /* Highest priority: stays above the overlay */
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Default white */
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); /* Smooth snap effect */
    transform-origin: center;
}

/* Burger Transformation to 'X' when active */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-accent); /* Turns Gold */
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%); /* Slides out to left */
}

.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-accent); /* Turns Gold */
}

/* 2. Fullscreen Overlay Styling */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 18, 16, 0.96); /* Deep dark theme background */
    backdrop-filter: blur(20px);        /* Heavy glass blur */
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    
    /* Layout: Center everything */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

/* Open State */
.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hide the duplicate close button inside menu (we use the burger itself) */
.mobile-menu__close {
    display: none;
}

/* 3. The Menu List & Typography */
.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.menu-mobile li {
    margin-bottom: 5vh; /* Responsive vertical spacing */
    opacity: 0;
    transform: translateY(40px); /* Start lower for slide-up effect */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Ease-out quart */
}

.menu-mobile a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem); /* Huge cinematic text */
    font-weight: 700;
    color: var(--color-text-muted); /* Start dimmed */
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

/* Active/Hover State */
.menu-mobile a:hover,
.menu-mobile .current-menu-item a {
    color: #ffffff;
    text-shadow: 0 0 20px var(--color-accent); /* Golden Glow */
}

/* 4. Staggered Animation Delays (The "Waterfall" Effect) */
/* When menu opens, items fly in one by one */
.mobile-menu.is-open li:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(6) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(7) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* 5. Mobile Controls Layout Fix */
.mobile-controls {
    display: block;
    margin-left: auto; /* Pushes burger to the right edge */
}

/* 6. Desktop Compatibility (Hide mobile stuff on PC) */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu-overlay, 
    .mobile-controls {
        display: none !important;
    }
}

/* 7. Mobile Compatibility (Hide desktop stuff on Mobile) */
@media (max-width: 768px) {
    .site-nav--desktop {
        display: none !important;
    }
}

/* -------------------------------------------------------------------------
   FOOTER STYLES (4-Column Layout like Reference)
   ------------------------------------------------------------------------- */

/* 1. Main Footer Container */
.site-footer {
    background-color: #0d1210; 
    color: #b0b0b0; 
    padding: 60px 20px 20px;
    margin-top: auto;
    border-top: 1px solid #2a3630; 
    font-size: 0.9rem;
}

/* 2. Grid Layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px;
    max-width: var(--content-wide); 
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-heading {
    color: var(--color-accent); 
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: capitalize; 
    letter-spacing: 0.5px;
    border: none; 
    padding: 0;
    display: block;
    text-align: left;
}

/* 4. Lists & Links */
.footer-list, 
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li, 
.footer-menu-list li {
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

/* Links color logic */
.footer-list a, 
.footer-menu-list a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover, 
.footer-menu-list a:hover {
    color: var(--color-accent); 
    text-decoration: underline;
}

/* Warning Icons (Red/Yellow styling similar to reference) */
.warning-icon {
    margin-right: 8px;
    color: #ff4444; 
}

/* 5. Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom-content p {
    font-size: 0.8rem;
    color: rgb(255, 255, 255);
    margin-bottom: 5px;
}

.adm-subtext strong {
    color: var(--color-accent);
}

/* -------------------------------------------------------------------------
   RESPONSIVE FOOTER
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr; 
        text-align: left; 
    }
    
    .footer-heading {
        margin-top: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #222; 
        padding-bottom: 5px;
    }
}


.footer-container {
    text-align: center;
}

.footer-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border: none; 
}


.footer-list li, 
.footer-menu-list li {
    justify-content: center; 
    text-align: center;
}

.warning-icon {
    margin-right: 5px;
    margin-left: 0;
}


#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
    margin-top: 100px;
}

#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

#crumbs a:hover {
    text-decoration: underline;
}

#crumbs .current {
    font-weight: bold;
    color: rgb(255, 255, 255);
}