/* ==========================================
   DEVELOPMENT DESIGN SYSTEM: Blomipickpilt
   Theme: Subterranean Cartoon Mine Theme
   Color Palette:
     - Primary/Accent: #FFB300 (Gold Mine)
     - Secondary Accent: #4CAF50 (Lush Emerald)
     - Explosive Alert: #E53935 (TNT Red)
     - Deep Ground Dark: #1A0F0A (Rich Dark Earth)
     - Medium Earth: #2E1A12 (Rich Brown Panel)
     - Text Light: #FFFFFF
   ========================================== */

/* Resets & Base Configuration */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #ffb300;
    --primary-hover: #ffd54f;
    --secondary: #4caf50;
    --explosive: #e53935;
    --dark-bg: #1a0f0a;
    --panel-bg: #2e1a12;
    --panel-border: #4d2b1f;
    --text-color: #ffffff;
    --text-muted: #bda79e;
    --font-heading: 'Fredoka', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

/* Headers, Titles with Cartoon Aesthetic */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

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

/* BUTTONS WITH CARTOON PHYSICS & BOUNCY ACCENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    border: 3px solid #000000;
    border-radius: 12px;
    padding: 10px 24px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 6px 0 #000000;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #000000;
}

.btn-primary {
    background-color: var(--primary);
    color: #000000 !important;
}

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

.btn-secondary {
    background-color: var(--panel-bg);
    color: var(--text-color) !important;
    border-color: var(--panel-border);
}

.btn-secondary:hover {
    background-color: #3d2419;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 0 #000000;
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
    border-radius: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 1. TOP DISCLAIMER BAR */
.top-disclaimer-bar {
    background-color: #0d0805;
    border-bottom: 2px solid var(--primary);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.disclaimer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.disclaimer-badge {
    background-color: var(--explosive);
    color: #ffffff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.disclaimer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

/* SECURITY BADGES SECTION (SEO & Security enhancement) */
.security-badges-bar {
    background: rgba(13, 8, 5, 0.8);
    border-bottom: 2px solid var(--panel-border);
    padding: 16px 20px;
    margin-top: 30px;
    border-radius: 16px;
}

.security-badges-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.security-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.security-badge-icon {
    font-size: 20px;
    color: var(--primary);
}

/* 2. DYNAMIC HEADER SYSTEM */
.main-header {
    height: 72px;
    background: rgba(26, 15, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    font-size: 28px;
    animation: bounce 2s infinite alternate;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

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

/* Desktop Navigation */
.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.desktop-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
}

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

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.25s ease-in-out;
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after {
    width: 100%;
}

/* Hamburger button styling */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    outline: none;
    width: 44px;
    height: 44px;
}

/* Mobile Side Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 1010;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-menu-content {
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--dark-bg);
    border-left: 4px solid var(--primary);
    margin-left: auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
}

/* PAGE WRAPPING STRUCTURE */
.page-section {
    display: none;
    min-height: calc(100vh - 72px - 32px);
    padding: 60px 20px;
}

.page-section.active-section {
    display: block;
    animation: fadeInPage 0.5s ease-in-out forwards;
}

/* HERO SECTION HOME */
.hero-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle, #2e1a12 0%, #1a0f0a 100%);
    border: 4px solid var(--panel-border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 16px 0 #000000;
}

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

.parallax-element {
    position: absolute;
    font-size: 40px;
    user-select: none;
    opacity: 0.15;
}

.coin-1 { top: 15%; left: 10%; animation: spin 8s infinite linear; }
.pickaxe-1 { top: 70%; left: 8%; animation: bounce 3s infinite alternate; }
.gem-1 { top: 20%; right: 12%; animation: pulse 2.5s infinite alternate; }
.tnt-1 { top: 75%; right: 10%; animation: wobble 4s infinite ease-in-out; }

.hero-tagline {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

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

.hero-title .highlight {
    color: var(--primary);
    text-shadow: 0 4px 0 #000000;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FEATURES BAR */
.features-bar {
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 0 #000000;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
}

/* LOBBY TEASER & EXPERIENCE CARDS */
.lobby-teaser {
    max-width: 1200px;
    margin: 80px auto 0 auto;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-wrap h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-title-wrap p {
    color: var(--text-muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.lobby-card {
    background-color: var(--panel-bg);
    border: 4px solid #000000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 0 #000000;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lobby-card:hover {
    transform: scale(1.03) translateY(-4px);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    border: 2px solid #000000;
    z-index: 2;
}

.card-badge.gold { background-color: var(--primary); color: #000; }
.card-badge.explosive { background-color: var(--explosive); color: #fff; }
.card-badge.premium { background-color: var(--secondary); color: #fff; }

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid #000000;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

/* STATS BAR */
.stats-section {
    background-color: #0d0805;
    padding: 40px 20px;
    margin: 80px -20px -60px -20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-box {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 44px;
    color: var(--primary);
    text-shadow: 0 3px 0 #000000;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* INTEGRITY SECTION */
.integrity-section {
    max-width: 1000px;
    margin: 120px auto 0 auto;
    text-align: center;
}

.integrity-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.integrity-intro {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.integrity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.integrity-card {
    background: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 24px;
    padding: 30px;
    text-align: left;
}

.integrity-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.integrity-card h3 {
    margin-bottom: 12px;
}

.integrity-card p {
    color: var(--text-muted);
}

/* ==========================================
   PAGE: SOCIAL CASINO LOBBY
   ========================================== */
.lobby-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.lobby-header h1 {
    font-size: 44px;
    color: var(--primary);
}

.game-frame-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 6px solid #000000;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 0 #000000;
    background-color: #000000;
}

.game-frame-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

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

.game-controls {
    background-color: #0d0805;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-status {
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

/* Switch Dig Sites Interface */
.lobby-rooms-filter {
    max-width: 1000px;
    margin: 60px auto 0 auto;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border: 3px solid #000000;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    background-color: var(--panel-bg);
    color: #ffffff;
    box-shadow: 0 4px 0 #000000;
    transition: all 0.15s ease-in-out;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: #000000;
}

/* ==========================================
   PAGE: ABOUT
   ========================================== */
.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 48px;
    color: var(--primary);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.about-infographic {
    background: var(--panel-bg);
    border: 4px solid var(--panel-border);
    border-radius: 28px;
    padding: 30px;
}

.info-node {
    margin-bottom: 30px;
}

.info-node:last-child {
    margin-bottom: 0;
}

.node-num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.info-node h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.info-node p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================
   PAGE: BLOG
   ========================================== */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 44px;
    color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 0 #000000;
    transition: transform 0.2s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--panel-border);
}

.blog-card-body {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    background-color: rgba(255, 179, 0, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.blog-card-body h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-readmore {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

/* BLOG MODAL (DETAILED POPUP WITH 500+ WORDS) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--panel-bg);
    border: 4px solid var(--primary);
    border-radius: 28px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 12px 0 #000000;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.modal-content h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.modal-content .meta-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 12px;
}

.modal-content p {
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.7;
}

.modal-content h2, .modal-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

/* ==========================================
   PAGE: CONTACT
   ========================================== */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 44px;
    color: var(--primary);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 28px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    color: var(--text-muted);
}

/* Form Styles */
.contact-form-wrapper {
    background-color: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 0 #000000;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--dark-bg);
    border: 3px solid var(--panel-border);
    border-radius: 12px;
    padding: 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.success-banner {
    display: none;
    background-color: rgba(76, 175, 80, 0.2);
    color: #a4f5a8;
    border: 2px solid var(--secondary);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

/* ==========================================
   PAGE: RESPONSIBLE GAMING
   ========================================== */
.rg-header {
    text-align: center;
    margin-bottom: 50px;
}

.rg-header h1 {
    font-size: 44px;
    color: var(--primary);
}

.rg-container {
    max-width: 1100px;
    margin: 0 auto;
}

.rg-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.rg-text h2 {
    margin-bottom: 20px;
}

.rg-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.rg-text ul {
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.rg-text ul li {
    margin-bottom: 10px;
}

.rg-sidebar .rg-card {
    background-color: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
}

.rg-sidebar .rg-card h3 {
    margin-bottom: 12px;
}

.rg-sidebar .rg-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.rg-links {
    list-style: none;
}

.rg-links li {
    margin-bottom: 10px;
}

.rg-links a {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================
   LEGAL PAGES STRUCTURE (Privacy, Terms, FAQ)
   ========================================== */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.legal-container p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-container h2 {
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 16px;
}

/* FAQ PAGE ACCORDION */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 10px;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--panel-bg);
    border: 3px solid var(--panel-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-toggle-icon {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* ==========================================
   PAGE: 404 NOT FOUND
   ========================================== */
.notfound-container {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
}

.notfound-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.notfound-container h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.notfound-container p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ==========================================
   3. FOOTER
   ========================================== */
.main-footer {
    background-color: #0d0805;
    border-top: 4px solid var(--panel-border);
    padding: 60px 20px 30px 20px;
    margin-top: 80px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 450px;
}

.footer-logo-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-links-grid h4 {
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--panel-border);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 12px;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.footer-address {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 12px;
}

/* ==========================================
   4. COOKIE CONSENT BANNER
   ========================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background-color: var(--panel-bg);
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 0 #000000;
    z-index: 1050;
    display: none;
}

.cookie-banner-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-monster {
    font-size: 44px;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

/* ANIMATIONS DEFINITIONS */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .header-cta {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
    .main-header {
        height: 60px;
    }
    .page-section {
        padding: 40px 15px;
        min-height: calc(100vh - 60px - 44px);
    }
    .hero-title {
        font-size: 36px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rg-grid {
        grid-template-columns: 1fr;
    }
}