/* ==========================================================================
   DESIGN SYSTEM FOR EZRAFEEDNEST.REST (CARTOON HALLOWEEN PUMPKIN THEME)
   ========================================================================== */

/* Theme Variables */
:root {
    --primary-color: #ff7a00;       /* Neon Pumpkin Orange */
    --primary-hover: #ff9133;
    --primary-depth: #cc5200;       /* Bottom 3D border shade */
    --secondary-color: #39ff14;     /* Slime Green */
    --secondary-hover: #5eff40;
    --secondary-depth: #25b30a;
    --bg-dark-purple: #130924;      /* Sleeker deep graveyard purple background */
    --bg-deep-nest: #090312;        /* Dark outline purple background */
    --bg-card-purple: #1f103c;      /* Improved, more cohesive card background */
    --text-light: #fdfcff;
    --text-muted: #af9ecf;
    --accent-gold: #ffd700;
    --font-heading: 'Fredoka', cursive, sans-serif;
    --font-body: 'Outfit', sans-serif;
    --border-comic: 2px solid #090312;
    --radius-comic: 16px;           /* Cleaner, sleeker round borders */
    --card-shadow: 4px 4px 0px #090312;
}

/* Global Reset and Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep-nest);
    color: var(--text-light);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep-nest);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Containers Layout Rules */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.section-spacer {
    padding: 64px 0;
}

.alt-bg {
    background-color: var(--bg-dark-purple);
    border-top: var(--border-comic);
    border-bottom: var(--border-comic);
}

/* ==========================================================================
   MANDATORY DISCLAIMER BAR
   ========================================================================== */
.disclaimer-bar {
    background-color: var(--bg-deep-nest);
    border-bottom: 2px solid var(--primary-color);
    padding: 10px 16px;
    position: relative;
    z-index: 1000;
    text-align: center;
}

.disclaimer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.disclaimer-badge {
    background-color: var(--primary-color);
    color: var(--bg-deep-nest);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SLIM PREMIUM HEADER
   ========================================================================== */
.app-header {
    background: rgba(19, 9, 36, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-comic);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1.5px 1.5px 0 #000;
    letter-spacing: -0.3px;
}

.brand-text span {
    color: var(--secondary-color);
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 16px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 122, 0, 0.1);
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Cartoon Comic Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-comic);
    border: var(--border-comic);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 3px 3px 0px #090312;
    outline: none;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: #090312;
}

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

.btn-lg {
    padding: 12px 24px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 10px;
    box-shadow: 1.5px 1.5px 0px #090312;
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #090312;
}

/* Hamburger menu button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE NAVIGATION MENU
   ========================================================================== */
.mobile-navigation {
    display: none;
    background-color: var(--bg-card-purple);
    border-bottom: var(--border-comic);
    padding: 20px;
}

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

.mobile-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 122, 0, 0.2);
}

/* ==========================================================================
   COMIC CARDS DESIGN (Clean, Non-bloated, Perfect Pacing)
   ========================================================================== */
.comic-card {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    padding: 24px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.hover-glow:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0px #090312, 0 0 16px rgba(255, 122, 0, 0.25);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    background: rgba(0,0,0,0.15);
    display: inline-flex;
    padding: 8px;
    border-radius: 10px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   HERO STYLE
   ========================================================================== */
.hero-wrapper {
    background-color: var(--bg-dark-purple);
    background-image: radial-gradient(rgba(255, 122, 0, 0.12) 1.5px, transparent 0);
    background-size: 20px 20px;
    padding: 80px 0;
    border-bottom: var(--border-comic);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-text-block {
    z-index: 2;
}

.hero-eyebrow {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
    background: rgba(57, 255, 20, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #090312;
}

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

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image-box {
    overflow: hidden;
    padding: 0;
    transform: rotate(1.5deg);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 340px;
}

.hero-card-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: var(--secondary-color);
    color: #090312;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    border: var(--border-comic);
    box-shadow: 2px 2px 0px #090312;
    font-size: 0.8rem;
}

/* Floating animation details */
@keyframes bubbleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(57, 255, 20, 0.05);
    pointer-events: none;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 5%;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    right: 8%;
    animation-delay: 2s;
}

/* ==========================================================================
   GRID & LAYOUT UTILITIES
   ========================================================================== */
.grid {
    display: grid;
    gap: 24px;
}

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

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

.section-header {
    margin-bottom: 48px;
}

.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-top: 6px;
    margin-bottom: 12px;
    text-shadow: 1.5px 1.5px 0 #090312;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Highlight Featured Cards (Improved proportion & sizing) */
.featured-highlight-card {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.featured-highlight-card:hover {
    transform: translateY(-3px);
}

.highlight-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: var(--border-comic);
}

.highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-highlight-card:hover .highlight-img {
    transform: scale(1.05);
}

.highlight-content {
    padding: 20px;
}

.badge {
    display: inline-block;
    background-color: var(--bg-dark-purple);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.badge-hot { background-color: var(--primary-color); color: #090312; }
.badge-new { background-color: var(--secondary-color); color: #090312; }

.highlight-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.highlight-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ==========================================================================
   STATS AND TIMELINE
   ========================================================================== */
.stats-panel {
    background-color: var(--secondary-color);
    color: #090312;
    border-radius: var(--radius-comic);
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline Milestones */
.milestone-wrapper {
    background-color: var(--bg-dark-purple);
}

.milestone-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.milestone {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    padding: 20px;
    text-align: left;
}

.milestone h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.milestone p {
    font-size: 0.88rem;
}

.milestone-year {
    display: inline-block;
    font-family: var(--font-heading);
    background-color: var(--primary-color);
    color: #090312;
    padding: 2px 8px;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

/* Testimonial styling */
.testimonial-card {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.testimonial-stars {
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* ==========================================================================
   GAME HUB STYLING (Dual-Column Layout)
   ========================================================================== */
.game-dashboard-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

.game-primary-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-frame-wrapper {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    overflow: hidden;
    box-shadow: 6px 6px 0px #090312;
}

.game-frame-header {
    background-color: var(--bg-dark-purple);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-comic);
}

.game-dots {
    display: flex;
    gap: 6px;
}

.game-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #000;
}

.game-dots .red { background-color: #ff5f56; }
.game-dots .yellow { background-color: #ffbd2e; }
.game-dots .green { background-color: #27c93f; }

.game-frame-title {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
}

.iframe-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 480px;
    background-color: #000;
    position: relative;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-frame-footer {
    background-color: var(--bg-dark-purple);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--border-comic);
}

.game-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: glow-pulse 1.5s infinite alternate;
}

@keyframes glow-pulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 1; }
}

.game-footer-buttons {
    display: flex;
    gap: 8px;
}

/* Dashboard Control Layout */
.game-meta-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.meta-widget {
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 3px 3px 0px #090312;
}

.meta-widget h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 8px;
}

.meta-widget p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.control-keys {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.key-badge {
    background-color: var(--bg-deep-nest);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    color: var(--text-light);
}

/* Sidebar companion styling */
.game-sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-widget {
    padding: 20px;
}

.widget-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
    border-bottom: 2px dashed rgba(255, 122, 0, 0.15);
    padding-bottom: 8px;
}

.widget-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.stats-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats-check-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.stats-check-list .label {
    color: var(--text-muted);
    margin-right: auto;
    margin-left: 8px;
}

.stats-check-list .value {
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stats-check-list .green-text {
    color: var(--secondary-color);
}

.challenge-item {
    background-color: var(--bg-dark-purple);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    position: relative;
}

.challenge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2px;
}

.reward-tag {
    font-size: 0.7rem;
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.progress-mini {
    height: 6px;
    background-color: var(--bg-deep-nest);
    border-radius: 3px;
    overflow: hidden;
}

.progress-mini .progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
}

/* Lights Out Effect on page background toggle */
body.lights-out {
    background-color: #060309 !important;
}
body.lights-out .section-spacer:not(.game-frame-wrapper) {
    opacity: 0.3;
}
body.lights-out .app-header, body.lights-out .app-footer, body.lights-out .disclaimer-bar {
    opacity: 0.2;
}

/* Alternative Gourd Arcade Cards Styling */
.game-item-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-color);
    color: #090312;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    z-index: 2;
    border: 1px solid #090312;
}

.card-img-holder {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-bottom: var(--border-comic);
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-item-card:hover .card-thumb-img {
    transform: scale(1.05);
}

.card-content-wrap {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-grid-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    margin-top: 6px;
}

.card-grid-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 14px;
    flex-grow: 1;
}

/* ==========================================================================
   IMPROVED SPOOKY BLOG & ARTICLE STYLES (Magazine Grid Layout)
   ========================================================================== */
.blog-magazine-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* Giant Feature Post spans full width in the magazine layout */
.blog-feature-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-card-purple);
    border-radius: var(--radius-comic);
}

.feature-post-media {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    border-right: var(--border-comic);
}

.feature-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-feature-post:hover .feature-post-img {
    transform: scale(1.04);
}

.post-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--secondary-color);
    color: #090312;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1.5px solid #090312;
    box-shadow: 1.5px 1.5px 0px #090312;
}

.feature-post-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta-line {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
}

.post-headline {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.25;
    text-shadow: 1.5px 1.5px 0px #000;
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px dashed rgba(255, 122, 0, 0.15);
    padding-top: 16px;
    margin-top: auto;
}

.author-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    font-size: 1.25rem;
    background-color: var(--bg-dark-purple);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color);
}

.author-name {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Sub-card blog styling */
.blog-sub-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-media-box {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-bottom: var(--border-comic);
}

.sub-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-sub-card:hover .sub-post-img {
    transform: scale(1.05);
}

.sub-post-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-sub-headline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 8px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sub-post-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 122, 0, 0.1);
}

/* Single Article Viewer */
.single-article-viewer {
    max-width: 800px;
    margin: 32px auto 0 auto;
}

.article-sheet {
    padding: 24px !important;
    position: relative;
}

.article-navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2.5px dashed rgba(255, 122, 0, 0.2);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.article-genre-badge {
    background-color: var(--primary-color);
    color: #090312;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Inside the article content */
.blog-body-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-body-text h2 {
    color: var(--secondary-color);
    font-size: 1.35rem;
    margin-top: 24px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.blog-body-text h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 18px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.blog-body-text blockquote {
    background-color: var(--bg-dark-purple);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    padding: 16px;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-light);
    margin: 20px 0;
    line-height: 1.5;
}

.blog-body-text ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.blog-body-text li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Article Comments & Interaction Section */
.article-interactive-footer {
    border-top: 2px solid #090312;
    padding-top: 32px;
    margin-top: 32px;
}

.feedback-poll-box {
    background-color: var(--bg-dark-purple);
    border: var(--border-comic);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.feedback-poll-box h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.poll-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mock-comments-section h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.comment-item {
    background-color: var(--bg-dark-purple);
    border: 1.5px solid #090312;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.user-pfp {
    font-size: 1.1rem;
}

.comment-body {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

/* ==========================================================================
   ACTIVE ROUTING SYSTEM CLASSES
   ========================================================================== */
.page-section {
    display: none;
}

.page-section.active-section {
    display: block;
    animation: slideUpFade 0.35s ease forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   DETAILED RICH TEXT LAYOUT
   ========================================================================== */
.detailed-rich-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.detailed-rich-text h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.detailed-rich-text h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.45rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.detailed-rich-text h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 18px;
    margin-bottom: 8px;
}

.detailed-rich-text p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.detailed-rich-text ul, .detailed-rich-text ol {
    margin-left: 20px;
    margin-bottom: 18px;
}

.detailed-rich-text li {
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 0.92rem;
}

.detailed-rich-text blockquote {
    border-left: 3px solid var(--primary-color);
    background-color: var(--bg-dark-purple);
    padding: 14px;
    margin: 18px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
    font-size: 0.95rem;
}

.updated-date {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   FORM & FIELDS DESIGN
   ========================================================================== */
.spooky-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-control {
    background-color: var(--bg-deep-nest);
    border: var(--border-comic);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-light);
    font-size: 0.92rem;
    transition: box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 8px var(--primary-color);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-checkbox-group input {
    margin-top: 3px;
}

.success-message-box {
    background-color: var(--bg-dark-purple);
    border: var(--border-comic);
    border-color: var(--secondary-color);
    border-radius: var(--radius-comic);
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}

/* FAQ Accordion system */
.faq-item {
    border-bottom: 1px dashed rgba(255, 122, 0, 0.15);
    padding: 14px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '➕';
    font-size: 0.75rem;
}

.faq-question.active::after {
    content: '➖';
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ==========================================================================
   NEWSLETTER AND PROMO CARDS
   ========================================================================== */
.newsletter-cta {
    background-color: var(--bg-dark-purple);
    border: var(--border-comic);
    border-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-cta-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.newsletter-cta-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.newsletter-inline-form {
    display: flex;
    gap: 10px;
}

.newsletter-inline-form input {
    background-color: var(--bg-deep-nest);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    padding: 8px 14px;
    color: var(--text-light);
    font-size: 0.88rem;
    min-width: 200px;
}

/* ==========================================================================
   COOKIE CONSENT BOX
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: 16px;
    background-color: var(--bg-card-purple);
    border: var(--border-comic);
    border-radius: var(--radius-comic);
    box-shadow: 6px 6px 0px #000;
    z-index: 1000;
    padding: 20px;
    max-width: 740px;
    margin: 0 auto;
    display: none;
}

.cookie-consent-banner.active {
    display: block;
    animation: slideUpFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.cookie-emoji {
    font-size: 2rem;
}

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

.cookie-banner-text h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.cookie-banner-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-banner-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ==========================================================================
   EVERY PAGE HAS FOOTER
   ========================================================================== */
.app-footer {
    background-color: var(--bg-deep-nest);
    border-top: var(--border-comic);
    padding: 48px 0 20px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.brand-col .logo-wrapper {
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-disclaimer-warning {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease-in-out;
}

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

.footer-bottom {
    border-top: 1px dashed rgba(255, 122, 0, 0.15);
    padding-top: 20px;
    text-align: center;
}

.address-block {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.address-block a {
    color: var(--secondary-color);
    text-decoration: none;
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================================================
   ADVANCED RESPONSIVE REQUIREMENTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .game-dashboard-layout { grid-template-columns: 1fr; }
    .blog-magazine-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-container { grid-template-columns: 1fr; gap: 32px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .milestone-timeline { grid-template-columns: 1fr; gap: 16px; }
    .newsletter-cta { flex-direction: column; text-align: center; }
    .newsletter-inline-form { flex-direction: column; width: 100%; }
    .newsletter-inline-form button { width: 100%; }
    .newsletter-inline-form input { min-width: 100%; }
    .section-spacer { padding: 48px 0; }
    .game-meta-dashboard { grid-template-columns: 1fr; }
    .blog-feature-post { grid-template-columns: 1fr; }
    .feature-post-media { border-right: none; border-bottom: var(--border-comic); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .cookie-consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .article-sheet { padding: 16px !important; }
}