:root {
            /* Color Palette - Football Field & Betting Theme */
            --color-primary: #1a472a;
            --color-primary-light: #2d5a3d;
            --color-primary-dark: #0f2d1a;
            --color-accent: #d4af37;
            --color-accent-light: #e8c85a;
            --color-accent-dark: #b8952e;
            --color-success: #28a745;
            --color-warning: #ffc107;
            --color-danger: #dc3545;
            
            /* Neutrals */
            --color-bg: #fafaf8;
            --color-bg-alt: #f0efe8;
            --color-surface: #ffffff;
            --color-text: #1a1a1a;
            --color-text-muted: #5a5a5a;
            --color-text-light: #7a7a7a;
            --color-border: #e0dfd8;
            --color-border-light: #eeedea;
            
            /* Typography */
            --font-heading: 'Georgia', 'Times New Roman', serif;
            --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --font-mono: 'Consolas', 'Monaco', monospace;
            
            /* Spacing */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            
            /* Layout */
            --content-width: 720px;
            --content-wide: 900px;
            --content-full: 1200px;
            
            /* Effects */
            --shadow-sm: 0 1px 3px rgba(26, 71, 42, 0.08);
            --shadow-md: 0 4px 12px rgba(26, 71, 42, 0.1);
            --shadow-lg: 0 8px 24px rgba(26, 71, 42, 0.12);
            --shadow-accent: 0 4px 16px rgba(212, 175, 55, 0.25);
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 400ms ease;
        }

        /* Dark Theme */
        @media (prefers-color-scheme: dark) {
            :root {
                --color-primary: #3d8a5a;
                --color-primary-light: #4a9d6a;
                --color-primary-dark: #2d6a45;
                --color-accent: #e8c85a;
                --color-accent-light: #f0d878;
                --color-accent-dark: #d4af37;
                
                --color-bg: #0d1210;
                --color-bg-alt: #141a17;
                --color-surface: #1a2420;
                --color-text: #e8e8e6;
                --color-text-muted: #a8a8a5;
                --color-text-light: #888885;
                --color-border: #2a3530;
                --color-border-light: #1f2925;
                
                --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 24px rgba(0, 0, 0, 0.5);
                --shadow-accent: 0 4px 16px rgba(232, 200, 90, 0.2);
            }
        }

        /* Reset & Base */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            font-size: 100%;
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-body);
            font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
            line-height: 1.7;
            color: var(--color-text);
            background: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Focus Styles */
        :focus-visible {
            outline: 3px solid var(--color-accent);
            outline-offset: 3px;
        }

        ::selection {
            background: var(--color-accent);
            color: var(--color-primary-dark);
        }

        /* Header */
        header {
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            border-bottom: 3px solid var(--color-accent);
            min-height: 4px;
        }

        /* Main Content */
        main {
            flex: 1;
            width: 100%;
            max-width: var(--content-full);
            margin: 0 auto;
            padding: var(--space-xl) var(--space-md);
        }

        @media (min-width: 768px) {
            main {
                padding: var(--space-3xl) var(--space-xl);
            }
        }

        /* Article Container */
        article {
            max-width: var(--content-width);
            margin: 0 auto;
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.25;
            color: var(--color-text);
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
            margin-bottom: var(--space-lg);
            color: var(--color-primary);
            position: relative;
            padding-bottom: var(--space-md);
        }


        h2 {
            font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
            margin-top: var(--space-3xl);
            margin-bottom: var(--space-lg);
            color: var(--color-primary);
            padding-left: var(--space-md);
            border-left: 4px solid var(--color-accent);
        }

        h3 {
            font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
            margin-top: var(--space-2xl);
            margin-bottom: var(--space-md);
            color: var(--color-primary-light);
        }

        h4 {
            font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
            margin-top: var(--space-xl);
            margin-bottom: var(--space-sm);
        }

        p {
            margin-bottom: var(--space-lg);
            text-align: left;
            hyphens: auto;
        }

        /* Links */
        a {
            color: var(--color-primary);
            text-decoration: underline;
            text-decoration-color: var(--color-accent);
            text-decoration-thickness: 2px;
            text-underline-offset: 3px;
            transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
        }

        a:hover {
            color: var(--color-accent-dark);
            text-decoration-color: var(--color-primary);
        }

        /* Strong & Emphasis */
        strong, b {
            font-weight: 700;
            color: var(--color-text);
        }

        em, i {
            font-style: italic;
        }

        /* Lists */
        ul, ol {
            margin-bottom: var(--space-lg);
            padding-left: var(--space-xl);
        }

        li {
            margin-bottom: var(--space-sm);
            padding-left: var(--space-sm);
        }

        li::marker {
            color: var(--color-accent);
            font-weight: 700;
        }

        ul li::marker {
            content: '\25C6  ';
            font-size: 0.75em;
        }

        ol {
            counter-reset: list-counter;
            list-style: none;
            padding-left: var(--space-lg);
        }

        ol li {
            counter-increment: list-counter;
            position: relative;
            padding-left: var(--space-xl);
        }

        ol li::before {
            content: counter(list-counter);
            position: absolute;
            left: 0;
            top: 0;
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
            color: white;
            font-size: 0.85rem;
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Nested Lists */
        li > ul, li > ol {
            margin-top: var(--space-sm);
            margin-bottom: 0;
        }

        /* Blockquote */
        blockquote {
            margin: var(--space-xl) 0;
            padding: var(--space-lg) var(--space-xl);
            background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface));
            border-left: 4px solid var(--color-accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--color-text-muted);
            position: relative;
        }

        blockquote::before {
            content: '\201C';
            position: absolute;
            top: -10px;
            left: 15px;
            font-size: 4rem;
            font-family: var(--font-heading);
            color: var(--color-accent);
            opacity: 0.3;
            line-height: 1;
        }

        blockquote p:last-child {
            margin-bottom: 0;
        }

        /* Code */
        code {
            font-family: var(--font-mono);
            font-size: 0.9em;
            background: var(--color-bg-alt);
            padding: var(--space-xs) var(--space-sm);
            border-radius: var(--radius-sm);
            border: 1px solid var(--color-border);
        }

        pre {
            margin: var(--space-xl) 0;
            padding: var(--space-lg);
            background: var(--color-primary-dark);
            color: #e8e8e6;
            border-radius: var(--radius-md);
            overflow-x: auto;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        pre code {
            background: none;
            padding: 0;
            border: none;
            color: inherit;
        }

        /* Images */
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        figure {
            margin: var(--space-2xl) 0;
        }

        figure img {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
        }

        figcaption {
            margin-top: var(--space-md);
            font-size: 0.9rem;
            color: var(--color-text-muted);
            text-align: center;
            font-style: italic;
        }

        .hero-image {
            width: 100vw;
            max-width: none;
            margin-left: 50%;
            transform: translateX(-50%);
            margin-top: var(--space-xl);
            margin-bottom: var(--space-2xl);
        }

        .hero-image img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 0;
        }

        @media (min-width: 768px) {
            .hero-image {
                width: calc(100% + var(--space-3xl) * 2);
                margin-left: calc(-1 * var(--space-3xl));
                transform: none;
            }

            .hero-image img {
                border-radius: var(--radius-lg);
            }
        }

        .article-image {
            margin: var(--space-2xl) 0;
        }

        .article-image img {
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            transition: transform var(--transition-base), box-shadow var(--transition-base);
        }

        .article-image img:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Tables */
        table {
            width: 100%;
            margin: var(--space-xl) 0;
            border-collapse: collapse;
            font-size: 0.95rem;
        }

        th, td {
            padding: var(--space-md);
            text-align: left;
            border-bottom: 1px solid var(--color-border);
        }

        th {
            background: var(--color-primary);
            color: white;
            font-weight: 600;
        }

        tr:nth-child(even) {
            background: var(--color-bg-alt);
        }

        tr:hover {
            background: rgba(212, 175, 55, 0.1);
        }

        /* Horizontal Rule */
        hr {
            margin: var(--space-3xl) auto;
            border: none;
            width: 60%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
        }

        /* Disclaimer/Warning Box */
        .disclaimer, article > p:first-of-type > em:only-child {
            display: block;
            padding: var(--space-md) var(--space-lg);
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
            border: 1px solid var(--color-accent);
            border-radius: var(--radius-md);
            font-size: 0.9rem;
            color: var(--color-text-muted);
            margin-bottom: var(--space-2xl);
        }

        /* Table of Contents */
        article > ul:first-of-type {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: var(--space-xl);
            margin: var(--space-2xl) 0;
            box-shadow: var(--shadow-sm);
        }

        article > ul:first-of-type::before {
            content: 'Indice';
            display: block;
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: var(--space-md);
            padding-bottom: var(--space-sm);
            border-bottom: 2px solid var(--color-accent);
        }

        article > ul:first-of-type li {
            margin-bottom: var(--space-sm);
            padding-left: 0;
        }

        article > ul:first-of-type li::marker {
            content: '';
        }

        /* FAQ Section */
        h2 + p > strong:first-child {
            display: block;
            background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
            color: white;
            padding: var(--space-md) var(--space-lg);
            margin: var(--space-xl) calc(-1 * var(--space-md)) var(--space-md);
            border-radius: var(--radius-md);
            font-size: 1.05rem;
        }

        @media (min-width: 768px) {
            h2 + p > strong:first-child {
                margin-left: 0;
                margin-right: 0;
            }
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            border-top: 3px solid var(--color-accent);
            min-height: 4px;
            margin-top: auto;
        }

        /* Utility: Smooth Scroll Target Offset */
        [id] {
            scroll-margin-top: var(--space-xl);
        }

        /* Print Styles */
        @media print {
            body {
                background: white;
                color: black;
                font-size: 11pt;
            }

            header, footer {
                display: none;
            }

            main {
                padding: 0;
            }

            h1, h2, h3 {
                color: black;
                page-break-after: avoid;
            }

            a {
                text-decoration: none;
                color: black;
            }

            blockquote {
                border-left-color: #333;
                background: #f5f5f5;
            }
        }

        /* Reduced 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;
            }
        }
    
        /* Footer Disclaimer */
        .footer-disclaimer {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: var(--space-xl) var(--space-md);
            text-align: center;
        }
        
        .footer-disclaimer p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.85rem;
            line-height: 1.6;
            margin-bottom: var(--space-sm);
        }
        
        .footer-disclaimer p:last-child {
            margin-bottom: 0;
        }
        
        .footer-disclaimer a {
            color: var(--color-accent-light);
            text-decoration: underline;
        }
        
        .footer-disclaimer a:hover {
            color: var(--color-accent);
        }

        /* =========================================
   Global Reset & Variables
   ========================================= */
:root {
    --primary-color: #1a1a1a;       /* Dark background */
    --accent-color: #eebb4d;        /* Gold/Yellow from your screenshot */
    --text-color: #ffffff;          /* White text */
    --nav-height: 70px;
}

body {
    margin: 0;
    padding-top: var(--nav-height); /* Prevent content from hiding behind fixed header */
}

/* =========================================
   Header Styles (Desktop)
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(20, 30, 20, 0.95); /* Deep dark green/black transparent */
    backdrop-filter: blur(10px);        /* Glassmorphism effect */
    border-bottom: 1px solid rgba(238, 187, 77, 0.3); /* Subtle gold border */
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.top-navigation-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Keeps logo left (if added) and menu right/center */
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

/* Desktop Menu List */
.menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.menu-desktop li {
    position: relative;
}

.menu-desktop a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: block;
}

/* Hover Effect: Gold Underline Animation */
.menu-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.menu-desktop a:hover {
    color: var(--accent-color);
}

.menu-desktop a:hover::after {
    width: 100%;
}

/* Mobile Controls (Hidden on Desktop) */
.mobile-controls {
    display: none;
}

/* =========================================
   Mobile Menu Styles
   ========================================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100%;
    background: #111;
    z-index: 1002;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    padding-top: 60px;
}

.mobile-menu.is-open {
    transform: translateX(-300px);
}

.mobile-menu__inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__inner a {
    display: block;
    padding: 15px 30px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.mobile-menu__inner a:hover {
    background: rgba(238, 187, 77, 0.1);
    color: var(--accent-color);
    padding-left: 35px; /* Slight movement on hover */
}

/* Close Button in Mobile Menu */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Burger Button Styling */
.burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 1003;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 5px;
    transition: 0.3s;
    border-radius: 2px;
}

/* Burger Animation when Active */
.burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 992px) {
    .site-nav--desktop {
        display: none; /* Hide desktop menu */
    }
    
    .mobile-controls {
        display: block; /* Show burger */
        margin-left: auto;
    }
}

/* =========================================
   UPDATES: Layout Fixes & Mobile Cleanup
   ========================================= */

/* 1. Center Desktop Menu */
@media (min-width: 993px) {
    .top-navigation-bar {
        /* Override 'space-between' to center the content */
        justify-content: center !important; 
    }

    .menu-desktop {
        /* Ensure the list itself is centered */
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* 2. Remove Diamonds (Rombics) on Mobile */
.mobile-menu li,
.mobile-menu ul {
    list-style: none !important; /* Remove default bullets */
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide pseudo-elements that create the diamonds */
.mobile-menu li::before,
.mobile-menu a::before {
    content: none !important;
    display: none !important;
}

/* Optional: Align mobile links cleanly to the left */
.mobile-menu a {
    display: block;
    text-align: left;
    padding-left: 20px; /* Give it some breathing room */
}

/* =========================================
   FIX: Remove Diamond Markers on Mobile
   ========================================= */

/* Target the marker specifically to remove the diamond symbol */
.mobile-menu ul li::marker {
    content: none !important;
    display: none !important;
}

/* Ensure the list style is reset on container and items */
.mobile-menu ul,
.mobile-menu li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important; /* Remove default padding for list */
}
/* =========================================
   PAGE TITLES: Remove Green Background
   ========================================= */

/* Remove background from the header container and title */
.cl-header, 
.content-title, 
.cl-title {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ensure no pseudo-elements are creating the colored box */
.cl-header::before,
.cl-header::after,
.content-title::before,
.content-title::after {
    background: transparent !important;
    display: none !important;
}

/* Update text color to stand out on dark background */
.content-title, 
.cl-title {
    color: #ffffff !important; /* Set to White */
    /* color: var(--accent-color) !important;  <-- Uncomment if you want Gold text */
}

/* =========================================
   FOOTER STYLES (Premium Look)
   ========================================= */

.site-footer {
    background-color: #111111;      /* Deep dark background */
    color: #b0b0b0;                 /* Soft grey text for better reading */
    border-top: 3px solid var(--accent-color); /* Gold border on top */
    padding: 60px 0 20px;
    font-size: 14px;
    margin-top: auto;               /* Pushes footer to bottom if page is short */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 280px; /* Ensures columns don't get too squished */
}

/* Headings */
.footer-heading {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border-left: 3px solid var(--accent-color); /* Gold vertical line */
    padding-left: 15px;
}

/* --- Navigation Links --- */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 12px;
}

.footer-menu-list a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu-list a:hover {
    color: var(--accent-color);
    transform: translateX(5px); /* Slide effect on hover */
}

/* --- Disclaimer Section --- */
.footer-disclaimer p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-disclaimer strong {
    color: #fff;
}

.footer-disclaimer a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
}

.legal-note {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
    border-top: 1px solid #222;
    padding-top: 15px;
}

/* --- Bottom Bar --- */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgb(255, 255, 255);
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack columns vertically */
        gap: 30px;
    }
    
    .footer-col {
        width: 100%;
    }

    .site-footer {
        text-align: center; /* Center text on mobile */
    }

    .footer-heading {
        border-left: none;
        border-bottom: 2px solid var(--accent-color);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }
}

/* =========================================
   LOGO STYLES (SVG + Text)
   ========================================= */

.site-logo {
    display: flex;
    align-items: center;
    z-index: 1100; /* Ensure it stays above other elements */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px; /* Space between icon and text */
}

/* SVG Icon Animation */
.logo-icon {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-icon {
    transform: rotate(30deg); /* Cool spin effect on hover */
}

/* Typography */
.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-size: 20px;
    font-weight: 800; /* Extra bold */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-title .highlight {
    color: var(--accent-color); /* Gold color for 'SCOMMESSE' */
}

.logo-subtitle {
    font-size: 10px;
    color: #bbbbbb;
    letter-spacing: 4px; /* Wide spacing for premium look */
    text-transform: uppercase;
    margin-top: 3px;
    text-align: justify; /* Trick to stretch text width */
    text-align-last: justify;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .logo-title {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }
}

/* Update Layout for Header with Logo */
@media (min-width: 993px) {
    .top-navigation-bar {
        justify-content: space-between !important; /* Logo Left, Menu Center/Right */
    }

    /* Pull menu slightly to the right or center depending on preference */
    .site-nav--desktop {
        flex-grow: 1;
        display: flex;
        justify-content: center; /* Menu centered relative to available space */
        margin-right: -100px; /* Compensation to make it visually center despite logo width */
    }
}

:root {
  --color-bg: #0d1210;
  --color-bg-alt: #141a17;
  --color-surface: #1a2420;

  --color-text: #e8e8e6;
  --color-text-muted: #a8a8a5;
  --color-text-light: #888885;

  --color-border: #2a3530;
  --color-border-light: #1f2925;

  --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 24px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 16px rgba(232, 200, 90, 0.2);
}
html { color-scheme: dark; }


/* =========================================
   404 ERROR PAGE STYLES
   ========================================= */

.error-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Takes up most of the screen */
    background: #111; /* Dark background */
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* Optional: Background gradient to look like stadium lights */
.error-page-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(238, 187, 77, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.error-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* The Huge 404 Number */
.error-code {
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* The Soccer Ball representing '0' */
.ball-icon {
    display: inline-block;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' fill='none'%3E%3Ccircle cx='25' cy='25' r='23' stroke='%23eebb4d' stroke-width='2' fill='transparent'/%3E%3Cpath d='M25 2L32 16L47 20L36 31L39 46L25 38L11 46L14 31L3 20L18 16L25 2Z' fill='%23eebb4d' fill-opacity='0.2' stroke='%23eebb4d' stroke-width='1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: spin 10s linear infinite;
}

/* Text Styling */
.error-message h2 {
    font-size: 36px;
    color: var(--accent-color); /* Gold */
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.error-message p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* The Gold Button */
.btn-gold {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 187, 77, 0.3);
}

.btn-gold:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Animation for the ball */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .error-code {
        font-size: 100px;
    }
    .ball-icon {
        width: 80px;
        height: 80px;
    }
    .error-message h2 {
        font-size: 28px;
    }
}

/* --- Footer Styles (Dark & Gold) --- */

.site-footer {
    background-color: #111111; /* Dark background */
    color: #cccccc;
    padding: 60px 20px 30px;
    font-family: -apple-system, system-ui, sans-serif;
    border-top: 3px solid #d4af37; /* Gold border on top */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 4 Column Layout */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Headings */
.footer-heading {
    color: #ffcc00; /* Gold */
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.footer-list a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Red Bullets */
.bullet-red {
    color: #ff0000;
    margin-right: 8px;
    font-weight: bold;
}

/* Bottom Section */
.footer-divider {
    height: 1px;
    background-color: #333;
    margin-bottom: 25px;
    width: 100%;
}

.copyright-text {
    text-align: center;
    font-size: 12px;
    color: rgb(255, 255, 255);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 30px;
    }
    .footer-col {
        text-align: left;
    }
}

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

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

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

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