:root {
            --color-primary: #60a5fa;       
            --color-primary-light: #93c5fd; 
            --color-primary-dark: #3b82f6;  
            
            --color-accent: #fbbf24;        
            --color-accent-light: #fcd34d;
            --color-success: #10b981;

            --color-bg: #0d1b2a;            
            --color-bg-alt: #162638;        
            --color-bg-card: #1e2e42;      

            --color-text: #f1f5f9;          
            --color-text-muted: #94a3b8;    
            --color-text-light: #64748b;    

            --color-border: #334155;        

            --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5);

            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 350ms ease;
            --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
            --font-display: 'Playfair Display', Georgia, serif;
            --container-max: 75rem;
            --content-max: 48rem;
        }

        /* REMOVED @media (prefers-color-scheme: dark) - Dark mode is now default */

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

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

        body {
            font-family: var(--font-sans);
            font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg); /* Enforce dark background */
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

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

        :focus-visible {
            outline: 3px solid var(--color-primary-light);
            outline-offset: 2px;
        }

        a {
            color: var(--color-primary);
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        a:hover {
            color: var(--color-primary-light);
        }

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

        .skip-link {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--color-primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-md);
            z-index: 1000;
            transition: top var(--transition-fast);
        }

        .skip-link:focus {
            top: 1rem;
        }

        main {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 2rem);
        }

        .article-header {
            padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
            text-align: center;
            background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
            border-bottom: 1px solid var(--color-border);
            margin-bottom: clamp(2rem, 5vw, 3rem);
        }

        .header-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--color-primary);
            color: white;
            padding: 0.375rem 1rem;
            border-radius: 2rem;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            letter-spacing: 0.025em;
        }

        h1 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
            font-weight: 700;
            line-height: 1.15;
            color: var(--color-text);
            max-width: 20ch;
            margin: 0 auto 1.5rem;
        }

        .header-intro {
            font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
            color: var(--color-text-muted);
            max-width: 55ch;
            margin: 0 auto;
            line-height: 1.6;
        }

        .header-meta {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
            font-size: 0.9375rem;
            color: var(--color-text-muted);
        }

        .header-meta span {
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: clamp(2rem, 4vw, 3rem);
        }

        @media (min-width: 64rem) {
            .content-grid {
                grid-template-columns: 1fr 18rem;
            }
        }

        .article-content {
            max-width: var(--content-max);
        }

        .toc-nav {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 3rem;
        }

        .toc-nav h2 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-text);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--color-border);
        }

        .toc-nav ol {
            list-style: none;
            counter-reset: toc-counter;
        }

        .toc-nav li {
            counter-increment: toc-counter;
            margin-bottom: 0.5rem;
        }

        .toc-nav a {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            padding: 0.375rem 0;
            color: var(--color-text-muted);
            font-size: 0.9375rem;
            transition: all var(--transition-fast);
            border-radius: var(--radius-sm);
        }

        .toc-nav a::before {
            content: counter(toc-counter, decimal-leading-zero);
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-primary);
            min-width: 1.5rem;
        }

        .toc-nav a:hover {
            color: var(--color-primary);
            transform: translateX(4px);
        }

        section {
            margin-bottom: clamp(3rem, 6vw, 4rem);
            scroll-margin-top: 2rem;
        }

        h2 {
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem);
            font-weight: 700;
            color: var(--color-text);
            margin-bottom: 1.25rem;
            line-height: 1.25;
            position: relative;
            padding-left: 1rem;
        }

        h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.25em;
            bottom: 0.25em;
            width: 4px;
            background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
            border-radius: 2px;
        }

        h3 {
            font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);
            font-weight: 600;
            color: var(--color-text);
            margin: 2rem 0 1rem;
        }

        p {
            margin-bottom: 1.25rem;
            color: var(--color-text);
        }

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

        strong {
            font-weight: 600;
            color: var(--color-text);
        }

        .highlight-box {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
            color: white;
            padding: clamp(1.5rem, 3vw, 2rem);
            border-radius: var(--radius-xl);
            margin: 2rem 0;
        }

        .highlight-box p {
            color: rgba(255,255,255,0.95);
            margin-bottom: 0;
        }

        .highlight-box strong {
            color: white;
        }

        .info-card {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin: 1.5rem 0;
            transition: all var(--transition-base);
        }

        .info-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--color-primary-light);
        }

        .info-card h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: 0.75rem;
        }

        ul, ol {
            margin: 1.25rem 0;
            padding-left: 1.5rem;
        }

        li {
            margin-bottom: 0.5rem;
            padding-left: 0.25rem;
        }

        li::marker {
            color: var(--color-primary);
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }

        .feature-item {
            background: var(--color-bg-alt);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            padding: 1.25rem;
            transition: all var(--transition-base);
        }

        .feature-item:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .feature-item h4 {
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--color-text);
            margin-bottom: 0.5rem;
        }

        .feature-item p {
            font-size: 0.875rem;
            color: var(--color-text-muted);
            margin: 0;
        }

        blockquote {
            border-left: 4px solid var(--color-accent);
            background: var(--color-bg-alt);
            padding: 1.25rem 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--color-text-muted);
        }

        blockquote p {
            margin: 0;
        }

        .faq-item {
            border-bottom: 1px solid var(--color-border);
            padding: 1.5rem 0;
        }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-question {
            font-size: 1.0625rem;
            font-weight: 600;
            color: var(--color-text);
            margin-bottom: 0.75rem;
        }

        .faq-answer {
            color: var(--color-text-muted);
            line-height: 1.7;
        }

        aside {
            position: sticky;
            top: 2rem;
            height: fit-content;
        }

        @media (max-width: 63.9375rem) {
            aside {
                display: none;
            }
        }

        .sidebar-card {
            background: var(--color-bg-card);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-card h3 {
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--color-text);
            margin: 0 0 1rem 0;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--color-border);
        }

        .sidebar-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-card li {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--color-border);
            margin: 0;
        }

        .sidebar-card li:last-child {
            border-bottom: none;
        }

        .sidebar-card a {
            font-size: 0.875rem;
            color: var(--color-text-muted);
            display: block;
            transition: all var(--transition-fast);
        }

        .sidebar-card a:hover {
            color: var(--color-primary);
            transform: translateX(4px);
        }

        .warning-box {
            background: linear-gradient(135deg, #451a03 0%, #78350f 100%); /* Dark Amber gradient */
            border: 1px solid #f59e0b;
            border-radius: var(--radius-md);
            padding: 1.25rem;
            margin: 2rem 0;
        }

        .warning-box p {
            color: #fef3c7; /* Light text */
            font-size: 0.9375rem;
            margin: 0;
        }

        footer {
            background: var(--color-bg-alt);
            border-top: 1px solid var(--color-border);
            margin-top: clamp(3rem, 6vw, 5rem);
            padding: clamp(2rem, 4vw, 3rem) 0;
        }

        .footer-content {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 2rem);
            text-align: center;
        }

        .footer-disclaimer {
            font-size: 0.875rem;
            color: var(--color-text-muted);
            max-width: 60ch;
            margin: 0 auto 1.5rem;
            line-height: 1.6;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .footer-links a {
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }

        .footer-links a:hover {
            color: var(--color-primary);
        }

        .footer-copy {
            font-size: 0.8125rem;
            color: var(--color-text-light);
        }

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

        .article-header,
        section {
            animation: fadeIn 0.5s ease-out both;
        }

        @media print {
            body {
                font-size: 12pt;
                line-height: 1.5;
            }
            
            .skip-link,
            aside,
            .toc-nav {
                display: none;
            }
            
            h1, h2, h3 {
                page-break-after: avoid;
            }
            
            section {
                page-break-inside: avoid;
            }
        }

        /* ============================================
   IMAGES STYLES - Serie C Scommesse Article
   ============================================ */

/* === BASE IMAGE STYLES === */
.article-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    transition: transform var(--transition-base), 
                box-shadow var(--transition-base);
}

.article-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* === HERO IMAGE === */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
}

/* Hero image caption overlay */
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* === SECTION IMAGES === */
.section-image-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base),
                filter var(--transition-base);
}

.section-image-container:hover .section-image {
    transform: scale(1.03);
}

/* === INFOGRAPHIC IMAGES (PNG) === */
.infographic-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.infographic-container:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.infographic-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* === MAP IMAGE (Gironi) === */
.map-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.map-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* === IMAGE CAPTIONS === */
.image-caption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

/* === FLOAT IMAGES (Optional) === */
.image-float-right {
    float: right;
    max-width: 45%;
    margin: 0 0 1.5rem 2rem;
}

.image-float-left {
    float: left;
    max-width: 45%;
    margin: 0 2rem 1.5rem 0;
}

/* Clear floats */
.clear-float {
    clear: both;
}

/* === RESPONSIVE ADJUSTMENTS === */

/* Tablet */
@media (max-width: 48rem) {
    .hero-image-container {
        max-width: 100%;
        margin: 2rem -1rem 0;
        border-radius: 0;
    }
    
    .hero-image-container::after {
        border-radius: 0;
    }
    
    .article-image {
        margin: 1.5rem 0;
    }
    
    .infographic-container,
    .map-container {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .image-float-right,
    .image-float-left {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

/* Mobile */
@media (max-width: 30rem) {
    .hero-image-container {
        margin: 1.5rem -1rem 0;
    }
    
    .section-image-container {
        margin: 1.5rem -0.5rem;
        border-radius: var(--radius-md);
    }
    
    .infographic-container,
    .map-container {
        margin: 1.5rem -0.5rem;
        padding: 0.75rem;
        border-radius: var(--radius-md);
    }
    
    .image-caption {
        font-size: 0.8125rem;
        padding: 0 0.5rem;
    }
}

/* === DARK MODE ADJUSTMENTS === */
@media (prefers-color-scheme: dark) {
    .section-image-container {
        background: var(--color-bg-alt);
    }
    
    .infographic-container,
    .map-container {
        background: var(--color-bg-card);
        border-color: var(--color-border);
    }
    
    /* Slight brightness adjustment for images in dark mode */
    .section-image,
    .infographic-image,
    .map-image {
        filter: brightness(0.95);
    }
    
    .section-image-container:hover .section-image,
    .infographic-container:hover .infographic-image,
    .map-container:hover .map-image {
        filter: brightness(1);
    }
}

/* === LOADING STATE === */
.image-loading {
    background: linear-gradient(
        90deg,
        var(--color-bg-alt) 0%,
        var(--color-border) 50%,
        var(--color-bg-alt) 100%
    );
    background-size: 200% 100%;
    animation: imageLoading 1.5s ease-in-out infinite;
}

@keyframes imageLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* === ACCESSIBILITY === */
.article-image:focus,
.hero-image:focus,
.section-image:focus,
.infographic-image:focus,
.map-image:focus {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .article-image,
    .hero-image,
    .section-image,
    .infographic-image,
    .map-image,
    .hero-image-container,
    .section-image-container,
    .infographic-container,
    .map-container {
        transition: none;
    }
    
    .hero-image-container:hover .hero-image,
    .section-image-container:hover .section-image {
        transform: none;
    }
    
    .image-loading {
        animation: none;
    }
}

/* --- Header & Reset Basic --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0d1b2a; /* Dark background matching your screenshot */
    color: #ffffff;
}

.site-header {
    background-color: #0b121e; /* Slightly darker than body for contrast */
    padding: 15px 0;
    position: sticky; /* Keeps menu at top when scrolling */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Container to align Logo and Menu */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Branding / Logo --- */
.site-branding a {
    text-decoration: none;
    color: #fff;
    font-family: 'Playfair Display', serif; /* Using your secondary font for Logo */
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* --- Desktop Menu Styling --- */
.menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px; /* Space between items */
}

.menu-desktop li {
    position: relative;
}

.menu-desktop a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85); /* Slightly muted white */
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase; /* Makes it look like a pro menu */
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
}

/* Hover Effect - Simple color change + Bottom border animation */
.menu-desktop a:hover {
    color: #ffffff;
}

.menu-desktop > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: #4cc9f0; /* Nice accent color (cyan) */
    transition: width 0.3s ease;
}

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

/* Active State (if WordPress adds current-menu-item class) */
.menu-desktop .current-menu-item > a {
    color: #ffffff;
}
.menu-desktop .current-menu-item > a::after {
    width: 100%;
}

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

/* --- Responsive Breakpoint (Switch to Burger) --- */
@media (max-width: 991px) {
    .site-nav--desktop {
        display: none; /* Hide text menu on tablets/mobile */
    }
    
    .mobile-controls {
        display: block; /* Show burger */
    }
}

/* --- Burger Button Styling --- */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above header */
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: 1px;
}

/* Burger Animation to "X" when active */
.burger.is-active span:first-child {
    transform: rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}
.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* --- Mobile Menu Overlay (Dark background) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); /* Blur effect behind menu */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

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

/* --- Mobile Menu Panel (Slide-in) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen right */
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: #102030; /* Dark blue background */
    z-index: 2000;
    padding: 80px 30px 40px; /* Top padding creates space for close button */
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.is-open {
    right: 0; /* Slide in */
}

/* Close Button inside menu */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

/* --- Mobile Menu Links Styling --- */
.mobile-menu__inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__inner li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.mobile-menu__inner a {
    display: block;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu__inner a:hover,
.mobile-menu__inner .current-menu-item > a {
    color: #4cc9f0; /* Accent color */
    padding-left: 10px; /* Slight movement on hover */
}

/* --- Footer Styling --- */
.site-footer {
    background-color: #080f18; 
    color: #b0b8c4; 
    padding: 60px 0 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layout: 4 Columns on Desktop */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

/* Headings (Yellow/Gold like reference) */
.footer-heading {
    color: #fca311; 
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

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

.footer-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Links Styling */
.footer-list a {
    color: #b0b8c4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #fca311; /* Gold on hover */
    text-decoration: underline;
}

/* Special Styling for Warning Column */
.warning-list li {
    position: relative;
    padding-left: 15px;
}

.warning-list li::before {
    content: "•";
    color: #e63946; 
    position: absolute;
    left: 0;
    font-weight: bold;
}

.age-limit {
    display: inline-block;
    background-color: #e63946;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 5px;
}

.help-link {
    color: #e63946 !important; 
    font-weight: bold;
}

/* Divider Line */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0 0 30px;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    .footer-widgets {
        display: flex;
        flex-direction: column; 
        gap: 30px;
    }
    
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 20px;
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }
}

/* --- 404 Page Styling --- */

.error-404-page {
    background-color: #0d1b2a; 
    color: #ffffff;
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

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

.big-404 {
    font-family: 'Playfair Display', serif; 
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 20px;
    
    color: transparent; 
    -webkit-text-stroke: 2px #fca311;
    opacity: 0.8;
}

.error-404-page .page-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.error-404-page .page-content p {
    font-family: 'Inter', sans-serif;
    color: #b0b8c4;
    font-size: 18px;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: #fca311;
    color: #0d1b2a;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.4);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
    .big-404 {
        font-size: 100px;
    }
    
    .error-404-page .page-title {
        font-size: 24px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%; 
        text-align: center;
    }
}

#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);
}