/* ==========================================================================
   DESIGN SYSTEM - CARTOON STYLE SINGLE GAME SOCIAL CASINO (Minecraft extraction)
   ========================================================================== */

/* Variables */
:root {
    /* Minecraft-inspired theme colors, cartoonified */
    --color-bg: #1a1105; /* Deep dirt/cave brown */
    --color-bg-light: #2c1d0b; /* Lighter bedrock brown */
    --color-primary: #4caf50; /* Grass green */
    --color-primary-dark: #2e7d32; /* Rich grass shadow */
    --color-accent: #ffd700; /* Rich gold blocks */
    --color-cyan: #00e5ff; /* Diamond blue */
    --color-text-white: #ffffff;
    --color-text-muted: #d7ccc8;
    --color-border: #150d03; /* Thick cartoon border black */
    --font-heading: 'Lilita One', cursive;
    --font-body: 'Nunito', sans-serif;
    --header-height-desktop: 68px; /* Slimmed for perfect aesthetics */
    --header-height-mobile: 56px; /* Compact mobile size */
    --border-width: 4px;
    --shadow-offset: 6px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text-white);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-white);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px var(--color-border);
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-cyan);
}

/* CARTOON COMPONENT SYSTEM */

/* Buttons */
.btn-cartoon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-bg);
    background-color: var(--color-accent);
    padding: 0.75rem 1.75rem;
    border: var(--border-width) solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--color-border);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
    text-align: center;
}

.btn-cartoon:hover {
    background-color: #ffea00;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--color-border);
}

.btn-cartoon:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px var(--color-border);
}

.btn-hero-secondary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-hero-secondary:hover {
    background-color: var(--color-primary-dark);
}

/* Card System */
.card-cartoon {
    background-color: var(--color-bg-light);
    border: var(--border-width) solid var(--color-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-cartoon:hover {
    transform: translateY(-4px);
    box-shadow: 10px 10px 0px var(--color-border);
}

/* Grid Layouts */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* Helper sections */
.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   1. TOP DISCLAIMER BAR
   ========================================================================== */
.top-disclaimer-bar {
    background-color: #0b0702;
    border-bottom: 3px solid var(--color-primary);
    position: relative;
    z-index: 1000;
}

.disclaimer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.disclaimer-badge {
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-heading);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 900;
}

.disclaimer-badge.buy-badge {
    background-color: #ff5722 !important;
    color: var(--color-text-white);
}

.disclaimer-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-white);
}

/* ==========================================================================
   2. PIXEL-PERFECT HEADER (PRECISE SLIM & ULTRA FIT NAVIGATION)
   ========================================================================== */
.main-header {
    height: var(--header-height-desktop);
    background: rgba(44, 29, 11, 0.9); /* Semi-transparent background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 4px solid var(--color-border);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    border-radius: 8px;
    border: 3px solid var(--color-border);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--color-text-white);
    text-shadow: 2px 2px 0px var(--color-border);
    white-space: nowrap;
}

.logo-text span {
    color: var(--color-primary);
}

/* Desktop Navigation (Slim & Perfect Font Size Integration) */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem; /* Cleaned and scaled to fit dynamically without wrapping */
    color: var(--color-text-white);
    text-shadow: 2px 2px 0px var(--color-border);
    transition: transform 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
    transform: scale(1.05);
}

/* Header CTA Button - 120px x 40px */
.header-cta-wrapper {
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-header-cta {
    width: 120px;
    height: 38px;
    font-size: 0.95rem;
    padding: 0;
    border-radius: 8px;
    border-width: 3px;
    box-shadow: 3px 3px 0px var(--color-border);
}

/* Mobile Hamburger & Slide Menu */
.hamburger-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    border: 3px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.hamburger-coin {
    display: block;
    width: 24px;
    height: 24px;
    background: #ffa000;
    border-radius: 50%;
    margin: 7px auto;
    border: 2px solid var(--color-border);
}

.mobile-slide-menu {
    position: fixed;
    top: var(--header-height-mobile);
    right: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height-mobile));
    background-color: var(--color-bg-light);
    border-left: var(--border-width) solid var(--color-border);
    z-index: 998;
    transition: right 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 40px;
}

.mobile-slide-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 36px; /* SPECIFIED MOBILE SLIDE MENU SIZE */
    color: var(--color-text-white);
    text-shadow: 3px 3px 0px var(--color-border);
}

.mobile-link:hover {
    color: var(--color-accent);
}

.mobile-menu-cta-wrap {
    margin-top: 40px;
}

.btn-mobile-cta {
    width: 100%;
}

/* ==========================================================================
   PAGE VIEWS ARCHITECTURE
   ========================================================================== */
.page-view {
    display: none;
    padding: 60px 0;
}

.page-view.active {
    display: block;
}

/* ==========================================================================
   HOME VIEW SPECIFICS
   ========================================================================== */

/* Hero */
.hero-section {
    min-height: calc(85vh - var(--header-height-desktop));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(44, 29, 11, 0) 0%, rgba(26, 17, 5, 1) 100%), 
                radial-gradient(circle at center, var(--color-primary-dark) 0%, rgba(26, 17, 5, 1) 100%);
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pixel-gem {
    position: absolute;
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: gem-float 3s ease-in-out infinite;
}

.cyan-gem {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,10 90,50 50,90 10,50' fill='%2300e5ff' stroke='%23150d03' stroke-width='8'/%3E%3C/svg%3E");
    animation-delay: 0.5s;
}

.gold-gem {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,10 90,50 50,90 10,50' fill='%23ffd700' stroke='%23150d03' stroke-width='8'/%3E%3C/svg%3E");
    animation-delay: 1s;
}

.emerald-gem {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,10 90,50 50,90 10,50' fill='%234caf50' stroke='%23150d03' stroke-width='8'/%3E%3C/svg%3E");
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-badge {
    background-color: var(--color-cyan);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    padding: 6px 16px;
    border-radius: 8px;
    border: 3px solid var(--color-border);
    display: inline-block;
    box-shadow: 3px 3px 0px var(--color-border);
}

.hero-badge.purchase-badge {
    background-color: #ff5722;
    color: var(--color-text-white);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-white);
    margin-bottom: 40px;
}

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

/* Home features */
.home-why-us {
    background-color: var(--color-bg-light);
    border-top: var(--border-width) solid var(--color-border);
    border-bottom: var(--border-width) solid var(--color-border);
    padding: 100px 0;
}

.card-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 4px 4px 0px var(--color-border);
}

.bg-green { background-color: var(--color-primary); }
.bg-yellow { background-color: var(--color-accent); }
.bg-cyan { background-color: var(--color-cyan); }

/* Room preview sections */
.home-lobby-preview {
    padding: 100px 0;
}

.preview-img-container {
    height: 180px;
    border: 3px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

/* Custom CSS Art Generators for Previews */
.pixel-art-reel {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #422d14, #422d14 10px, #36240f 10px, #36240f 20px);
}
.pixel-art-forest {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(-45deg, #1b5e20, #1b5e20 15px, #2e7d32 15px, #2e7d32 30px);
}

/* Social Counter Stats Bar */
.live-stats-bar {
    background-color: var(--color-primary-dark);
    border-top: var(--border-width) solid var(--color-border);
    border-bottom: var(--border-width) solid var(--color-border);
    padding: 40px 0;
}

.stat-item {
    padding: 10px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-accent);
    text-shadow: 3px 3px 0px var(--color-border);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-white);
    text-shadow: 2px 2px 0px var(--color-border);
}

/* Home Blog Preview */
.home-blog-preview {
    padding: 100px 0;
}

/* Final CTA */
.home-final-cta {
    background-color: var(--color-bg-light);
    border-top: var(--border-width) solid var(--color-border);
    padding: 120px 0;
}

.cta-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.btn-cta-massive {
    font-size: 1.75rem;
    padding: 1.25rem 3rem;
    border-radius: 16px;
    background-color: var(--color-cyan);
}

/* ==========================================================================
   LOBBY VIEW (Game Integration Screen + Rooms)
   ========================================================================== */
.lobby-header-section {
    padding: 80px 0 40px 0;
}

.lobby-badge {
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    display: inline-block;
    margin-bottom: 10px;
}

.lobby-title {
    font-size: 4rem;
}

.lobby-desc {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Lobby Compliance Block */
.lobby-compliance-banner {
    background-color: var(--color-bg-light);
    border: var(--border-width) solid var(--color-border);
    margin-bottom: 25px;
    padding: 1.5rem !important;
}

.compliance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.comp-badge {
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: 6px;
    border: 2px solid var(--color-border);
    font-size: 0.9rem;
}

.comp-badge.red { background-color: #ff5252; color: #fff; }
.comp-badge.orange { background-color: #ff5722; color: #fff; }
.comp-badge.green { background-color: var(--color-primary); color: #fff; }

.compliance-details {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Game Area */
.game-play-area {
    padding: 20px 0 60px 0;
}

.game-frame-wrapper {
    background-color: #3e2723;
    padding: 15px;
    border-radius: 24px;
}

.game-frame-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-border);
    margin-bottom: 15px;
}

.game-frame-header .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.game-frame-header .red { background-color: #ff5252; }
.game-frame-header .yellow { background-color: #ffd740; }
.game-frame-header .green { background-color: #69f0ae; }

.frame-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-left: 10px;
    color: var(--color-text-white);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border: 4px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lobby Rooms */
.lobby-rooms-section {
    padding: 60px 0;
    border-top: var(--border-width) solid var(--color-border);
}

.room-card {
    position: relative;
    overflow: hidden;
}

.room-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 2px solid var(--color-border);
}

.room-tag.premium { background-color: var(--color-accent); color: var(--color-bg); }
.room-tag.epic { background-color: #b71c1c; color: var(--color-text-white); }
.room-tag.new { background-color: var(--color-cyan); color: var(--color-bg); }

.room-img {
    height: 150px;
    border-radius: 10px;
    border: 3px solid var(--color-border);
    margin-bottom: 15px;
    overflow: hidden;
}

.pixel-art-diamonds {
    width: 100%; height: 100%;
    background: radial-gradient(circle, var(--color-cyan) 10%, transparent 20%),
                radial-gradient(circle, #0d47a1 15%, transparent 30%);
    background-size: 30px 30px;
}

.pixel-art-nether {
    width: 100%; height: 100%;
    background: radial-gradient(circle, #e65100 20%, transparent 40%),
                repeating-linear-gradient(45deg, #3e2723, #150d03 40px);
}

.pixel-art-ender {
    width: 100%; height: 100%;
    background: radial-gradient(circle, #311b92 10%, transparent 20%),
                radial-gradient(circle, #4a148c 25%, transparent 50%);
    background-size: 40px 40px;
}

/* ==========================================================================
   ABOUT VIEW
   ========================================================================== */
.about-hero-block {
    padding: 60px 0;
}

.about-story-grid {
    margin-top: 40px;
}

.about-text-content h2 {
    font-size: 2.5rem;
}

.about-infographic {
    background-color: var(--color-bg);
}

.tenet-list {
    list-style: none;
    margin-top: 20px;
}

.tenet-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tenet-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   BLOG VIEW
   ========================================================================== */
.blog-header-block {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-article-card {
    display: flex;
    flex-direction: column;
}

.blog-image-placeholder {
    height: 240px;
    border-radius: 12px;
    border: 3px solid var(--color-border);
    margin-bottom: 20px;
}

/* Highly cartoonish blog headers */
.art-bg-1 { background: repeating-linear-gradient(45deg, #4caf50, #2e7d32 40px); }
.art-bg-2 { background: repeating-linear-gradient(135deg, #e65100, #ffb300 40px); }
.art-bg-3 { background: repeating-linear-gradient(90deg, #0d47a1, #00e5ff 30px); }
.art-bg-4 { background: repeating-linear-gradient(180deg, #795548, #3e2723 50px); }
.art-bg-5 { background: radial-gradient(circle, #ffd700 20%, #4caf50 80%); }
.art-bg-6 { background: radial-gradient(circle, #e040fb 30%, #311b92 90%); }
.art-bg-7 { background: repeating-linear-gradient(45deg, #1b5e20, #00e5ff 60px); }
.art-bg-8 { background: repeating-linear-gradient(-45deg, #ff5722, #009688 50px); }

.blog-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.blog-article-card h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-article-card .excerpt {
    flex-grow: 1;
}

.full-content {
    margin: 20px 0;
    border-top: 2px dashed var(--color-border);
    padding-top: 20px;
}

.full-content.hidden {
    display: none;
}

.full-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.full-content h3 {
    font-size: 1.35rem;
    margin-top: 25px;
}

.full-content ul {
    margin: 15px 0 20px 25px;
}

.full-content li {
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CONTACT VIEW
   ========================================================================== */
.contact-header {
    padding: 60px 0;
}

.contact-grid {
    align-items: stretch;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-bg);
    border: 3px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-white);
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-security-note {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.form-security-note p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-submit-form {
    width: 100%;
}

.hidden {
    display: none !important;
}

.contact-info-list {
    margin-top: 30px;
}

.info-item {
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--color-border);
    padding-bottom: 15px;
}

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

.info-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 6px;
}

/* ==========================================================================
   RESPONSIBLE GAMING & LEGAL & FAQ & 404
   ========================================================================== */
.responsible-header-block, .faq-header {
    padding: 60px 0;
}

.responsible-content-wrap, .legal-content-card {
    max-width: 900px;
    margin: 0 auto;
}

.responsible-content-wrap h2, .legal-content-card h1, .legal-content-card h2, .legal-content-card h3 {
    margin-top: 30px;
}

.responsible-content-wrap ul, .responsible-content-wrap ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.responsible-content-wrap li {
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.legal-date {
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 30px;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 404 Error */
.err-404-container {
    padding: 100px 40px;
}

.error-character-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
    border: 4px solid var(--color-border);
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #1b5e20, #4caf50 20px);
}

.err-title {
    font-size: 4rem;
}

.err-text {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   3. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0c0803;
    border-top: var(--border-width) solid var(--color-border);
    padding: 80px 0 40px 0;
    position: relative;
}

.footer-decor-blocks {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background-image: repeating-linear-gradient(90deg, #4caf50, #4caf50 40px, #2e7d32 40px, #2e7d32 80px);
}

.footer-grid {
    border-bottom: 3px solid var(--color-border);
    padding-bottom: 50px;
    margin-bottom: 40px;
}

.footer-disclaimer-p {
    font-size: 0.85rem;
    margin-top: 15px;
}

.footer-links-col h4, .footer-address-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-nav-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 20px;
}

.footer-nav-list a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-white);
}

.footer-nav-list a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.regulatory-badges {
    display: flex;
    gap: 10px;
}

.badge-item {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    border: 2px solid var(--color-border);
    background-color: var(--color-bg-light);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--color-accent);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    max-width: 450px;
}

.cookie-banner-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #3e2723;
}

.cookie-illustration {
    font-size: 3rem;
}

.cookie-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-cookie-accept, .btn-cookie-reject {
    font-size: 0.85rem;
    padding: 8px 16px;
}

.btn-cookie-reject {
    background-color: #757575;
    color: var(--color-text-white);
}

.cookie-manage-link {
    font-size: 0.85rem;
    font-weight: 700;
}

/* ==========================================================================
   ANIMATIONS & FLOATS
   ========================================================================== */
@keyframes gem-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT SYSTEM
   ========================================================================== */

/* Laptop / Mid-size Desktop (Ensures all 6 header links fit perfectly without wrapping) */
@media (max-width: 1320px) {
    .header-container {
        padding: 0 20px;
        gap: 15px;
    }
    .logo-text {
        font-size: 1.55rem;
    }
    .desktop-nav {
        gap: 16px;
    }
    .nav-link {
        font-size: 1.05rem;
    }
}

@media (max-width: 1120px) {
    .desktop-nav {
        gap: 10px;
    }
    .nav-link {
        font-size: 0.95rem;
    }
}

/* Tablet & Smaller Screens */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none; /* Hide desktop links */
    }

    .hamburger-menu-btn {
        display: block; /* Show menu toggle */
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-nav-list {
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile Screens */
@media (max-width: 767px) {
    :root {
        --shadow-offset: 4px;
        --border-width: 3px;
    }

    .top-disclaimer-bar {
        font-size: 0.75rem;
    }

    .header-container {
        padding: 0 15px;
    }

    .main-header {
        height: var(--header-height-mobile);
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .header-cta-wrapper {
        display: none; /* Move to slide menu */
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner-wrapper {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }

    .cookie-banner-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}