/* ============================================
   FUGU CASINO - 8-Bit Retro Arcade Underwater Design System
   Dark underwater theme only (no toggle per brief).
   Fonts: Press Start 2P (pixel display) + Nunito (body)
   ============================================ */

:root {
    /* === Color Palette - Dark Underwater === */
    --background: #0a1f2c;
    --background-gradient-start: #0a1f2c;
    --background-gradient-end: #0d2b3e;
    --foreground: #f8fafc;
    --card: #132f3f;
    --card-foreground: #f8fafc;
    --card-hover: #163547;
    --popover: #102935;
    --popover-foreground: #f8fafc;
    --primary: #06d6a0;
    --primary-foreground: #0a1f2c;
    --secondary: #1e1b4b;
    --secondary-foreground: #f8fafc;
    --muted: #1e3a4a;
    --muted-foreground: #9bb2c4;
    --accent: #fbbf24;
    --accent-foreground: #0a1f2c;
    --coral: #f97068;
    --coral-foreground: #0a1f2c;
    --destructive: #f43f5e;
    --destructive-foreground: #000000;
    --border: #1e3a4a;
    --border-glow: rgba(251, 191, 36, 0.4);
    --input: #132f3f;
    --ring: #06d6a0;

    /* === Typography === */
    --font-display: 'Press Start 2P', monospace;
    --font-body: 'Nunito', sans-serif;
    --h1-size: clamp(1.5rem, 5vw, 2rem);
    --h2-size: clamp(1.25rem, 4vw, 1.625rem);
    --h3-size: clamp(1.125rem, 3vw, 1.25rem);
    --h4-size: clamp(0.875rem, 2vw, 1rem);
    --body-size: 17px;
    --body-line-height: 1.6;
    --small-size: 14px;

    /* === Spacing (8px grid) === */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 100px;

    /* === Layout === */
    --max-width: 1200px;
    --header-height: 68px;
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 250ms ease-out;
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* Dark is the only theme - .dark mirrors :root for consistency */
.dark {
    --background: #0a1f2c;
    --background-gradient-start: #0a1f2c;
    --background-gradient-end: #0d2b3e;
    --foreground: #f8fafc;
    --card: #132f3f;
    --card-foreground: #f8fafc;
    --card-hover: #163547;
    --popover: #102935;
    --popover-foreground: #f8fafc;
    --primary: #06d6a0;
    --primary-foreground: #0a1f2c;
    --secondary: #1e1b4b;
    --secondary-foreground: #f8fafc;
    --muted: #1e3a4a;
    --muted-foreground: #9bb2c4;
    --accent: #fbbf24;
    --accent-foreground: #0a1f2c;
    --coral: #f97068;
    --coral-foreground: #0a1f2c;
    --destructive: #f43f5e;
    --destructive-foreground: #000000;
    --border: #1e3a4a;
    --border-glow: rgba(251, 191, 36, 0.4);
    --input: #132f3f;
    --ring: #06d6a0;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: #0a1f2c;
    scroll-padding-top: 68px;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--foreground);
    background: linear-gradient(180deg, var(--background-gradient-start), var(--background-gradient-end));
    background-attachment: scroll;
    min-height: 100vh;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

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

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

/* ============================================
   TYPOGRAPHY
   Press Start 2P for headings, Nunito for body
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: var(--h1-size);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--space-md);
    margin-top: var(--space-md);
}

h3 {
    font-size: var(--h3-size);
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
}

h4 {
    font-size: var(--h4-size);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

p {
    margin-bottom: var(--space-md);
    max-width: 80ch;
}

strong { font-weight: 800; }
em { font-style: italic; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.text-turquoise { color: var(--primary); }
.text-coral { color: var(--coral); }
.text-muted { color: var(--muted-foreground); }

/* ============================================
   SKIP LINK
   ============================================ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius);
}

.skip-link:focus {
    left: var(--space-md);
    top: var(--space-md);
}

/* ============================================
   HEADER & NAVIGATION
   Sticky header with pixel logo + mobile drawer
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a1f2c;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Desktop nav: hidden on mobile, shown at 1024px+ */
.primary-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--foreground);
    text-decoration: none;
    padding: var(--space-sm) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-cta-group {
    display: flex;
    gap: var(--space-sm);
    margin-left: var(--space-md);
}

.nav-btn {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.nav-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-btn-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.nav-btn-primary:hover {
    background: #e6ac10;
    color: var(--accent-foreground);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0 8px;
    z-index: 1001;
    transition: border-color var(--transition);
}

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

.burger-line {
    display: block;
    height: 3px;
    background: var(--accent);
    border-radius: 1px;
    transition: all var(--transition);
}

/* Hamburger → X animation when open */
.mobile-toggle[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav drawer - fixed overlay below header */
.primary-nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: var(--space-lg) var(--space-md);
    border-top: 2px solid var(--border);
}

.primary-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.primary-nav.is-open .nav-item {
    border-bottom: 1px solid var(--border);
}

.primary-nav.is-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-sm) var(--space-sm);
    font-size: 16px;
    border-bottom: none;
}

.primary-nav.is-open .nav-cta-group {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    margin-left: 0;
    padding-top: var(--space-lg);
    border-top: 2px solid var(--border);
}

.primary-nav.is-open .nav-btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}

/* ============================================
   BUTTONS - Pixel-arcade style
   ============================================ */

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    padding: 16px 32px;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
    min-height: 48px;
    transition: all var(--transition);
    box-shadow: 0 4px 0 #b8860b;
    cursor: pointer;
}

.btn-cta:hover {
    background: #e6ac10;
    color: var(--accent-foreground);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b8860b, var(--shadow-glow);
}

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

.btn-coin {
    display: inline-block;
    font-size: 18px;
    animation: coin-spin 1.5s linear infinite;
}

@keyframes coin-spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 15px;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    min-height: 44px;
    transition: all var(--transition);
}

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

/* ============================================
   HERO SECTIONS
   Full-bleed with animated bubbles + mascot
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
    overflow: clip;
    background: linear-gradient(180deg, #0d2b3e 0%, #0a1f2c 100%);
    border-bottom: 2px solid var(--border);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

.hero h1 {
    margin-top: 0;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    max-width: 60ch;
}

.hero-mascot {
    width: 100%;
    max-width: 400px;
    image-rendering: pixelated;
    margin: 0 auto;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

/* Animated bubbles for hero backgrounds */
.hero-bubbles, .cta-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-bubbles span, .cta-bubble {
    position: absolute;
    bottom: -20px;
    width: 8px;
    height: 8px;
    background: rgba(6, 214, 160, 0.3);
    border-radius: 50%;
    animation: bubble-rise linear infinite;
}

.hero-bubbles span:nth-child(1), .cta-bubble:nth-child(1) { left: 10%; width: 12px; height: 12px; animation-duration: 8s; animation-delay: 0s; }
.hero-bubbles span:nth-child(2), .cta-bubble:nth-child(2) { left: 25%; width: 6px; height: 6px; animation-duration: 6s; animation-delay: 1s; }
.hero-bubbles span:nth-child(3), .cta-bubble:nth-child(3) { left: 40%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: 2s; }
.hero-bubbles span:nth-child(4), .cta-bubble:nth-child(4) { left: 60%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: 0.5s; }
.hero-bubbles span:nth-child(5), .cta-bubble:nth-child(5) { left: 80%; width: 14px; height: 14px; animation-duration: 9s; animation-delay: 1.5s; }
.hero-bubbles span:nth-child(6) { left: 90%; width: 6px; height: 6px; animation-duration: 5s; animation-delay: 3s; }

@keyframes bubble-rise {
    0% { bottom: -20px; opacity: 0; transform: translateX(0); }
    10% { opacity: 1; }
    50% { transform: translateX(15px); }
    90% { opacity: 0.5; }
    100% { bottom: 100%; opacity: 0; transform: translateX(-10px); }
}

.hero-inner > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA BANNER COMPONENT
   ============================================ */

.cta-banner {
    position: relative;
    width: 100%;
    padding: var(--space-3xl) var(--space-md);
    background: linear-gradient(180deg, #0d2b3e 0%, #0a1f2c 100%);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    overflow: clip;
    text-align: center;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-heading {
    font-size: clamp(1.25rem, 4vw, 1.625rem);
    color: var(--accent);
    margin: 0;
}

.cta-subtext {
    font-size: var(--body-size);
    color: var(--foreground);
    margin: 0;
}

.cta-micro-copy {
    font-size: var(--small-size);
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   STAT BLOCK COMPONENT
   Grid of metric cards
   ============================================ */

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ============================================
   FAQ ACCORDION COMPONENT
   Native <details> based - zero JS dependency
   ============================================ */

.faq-section {
    padding: var(--space-xl) 0;
}

.faq-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    padding: var(--space-md) 0;
    list-style: none;
    transition: color var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question-text {
    font-family: var(--font-display);
    font-size: clamp(0.75rem, 2vw, 1rem);
    color: var(--primary);
    line-height: 1.4;
    flex: 1;
}

.faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    background: var(--muted);
    border-radius: var(--radius);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--accent);
    transition: transform var(--transition), opacity var(--transition);
}

.faq-toggle::before {
    top: 50%;
    left: 25%;
    width: 50%;
    height: 3px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    top: 25%;
    left: 50%;
    width: 3px;
    height: 50%;
    transform: translateX(-50%);
}

.faq-item[open] .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 0 var(--space-md);
}

.faq-answer p {
    color: var(--foreground);
    margin: 0;
}

/* ============================================
   CARD - Generic content container
   ============================================ */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    min-width: 0;
}

.card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX
   ============================================ */

.callout {
    background: var(--secondary);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
}

.callout-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.callout p {
    margin-bottom: 0;
    color: var(--foreground);
}

/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */

.tldr {
    background: var(--card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.tldr-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

/* ============================================
   PULL QUOTE
   ============================================ */

.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    color: var(--accent);
    text-align: center;
    border: none;
    padding: var(--space-lg) var(--space-md);
    margin: var(--space-xl) auto;
    max-width: 700px;
    line-height: 1.5;
}

.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: var(--small-size);
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
    font-style: normal;
}

/* ============================================
   STAT HIGHLIGHT (inline)
   ============================================ */

.stat-highlight {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--accent);
    padding: 0 var(--space-xs);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.table-wrapper:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 0;
}

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

thead th {
    background: var(--secondary);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
}

tbody tr:nth-child(even) {
    background: var(--card);
}

.col-recommended {
    background: rgba(251, 191, 36, 0.08);
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    padding: var(--space-lg) 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   SOCIAL PROOF - Testimonial cards
   ============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.testimonial-text {
    color: var(--foreground);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--primary);
}

/* ============================================
   FEATURE GRID
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition), border-color var(--transition);
    min-width: 0;
}

.feature-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.feature-card h3 {
    color: var(--accent);
    margin-top: 0;
}

.feature-card p {
    margin-bottom: 0;
}

/* ============================================
   GAME GRID
   ============================================ */

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: scale(1.03);
}

.game-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--muted);
}

.game-card img {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
    object-fit: cover;
}

.game-card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.game-badge {
    display: inline-block;
    background: var(--coral);
    color: var(--coral-foreground);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
}

/* ============================================
   LEADERBOARD
   ============================================ */

.leaderboard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

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

.leaderboard-rank {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    min-width: 40px;
}

.leaderboard-name {
    flex: 1;
    color: var(--foreground);
    font-weight: 700;
}

.leaderboard-score {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--primary);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */

.content-block {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.content-block p {
    max-width: 80ch;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: #061521;
    border-top: 2px solid var(--border);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer-col h3 {
    font-size: 0.875rem;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 15px;
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-payments {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.payment-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--muted-foreground);
    font-weight: 600;
}

.footer-license-text {
    color: var(--muted-foreground);
    font-size: var(--small-size);
    margin-bottom: var(--space-md);
}

.footer-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.badge-18, .badge-curaçao {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
}

.badge-18 {
    background: var(--coral);
    color: var(--coral-foreground);
}

.badge-curaçao {
    background: var(--card);
    color: var(--primary);
    border: 1px solid var(--border);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-disclaimer {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer a {
    color: #3eecb5;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   HERO BADGE - Coral badge floating in hero
   ============================================ */

.hero-badge {
    display: inline-block;
    background: var(--coral);
    color: var(--coral-foreground);
    font-family: var(--font-display);
    font-size: 11px;
    padding: 8px 16px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   GAME CARD TITLE & PROVIDER
   ============================================ */

.game-card-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 14px;
    color: var(--foreground);
    margin-bottom: 4px;
}

.game-card-provider {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* ============================================
   ANIMATIONS - Scroll-triggered reveal
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */

@media (min-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }

    .hero-inner {
        gap: var(--space-xl);
    }

    .container-fluid {
        padding: 0 var(--space-lg);
    }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
    }

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

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

    .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .hero {
        padding: var(--space-3xl) var(--space-md) var(--space-2xl);
    }

    .cta-banner {
        padding: var(--space-3xl) var(--space-md);
    }

    .section-padding {
        padding: var(--space-3xl) 0;
    }
}

/* ============================================
   RESPONSIVE - Large desktop (1280px+)
   ============================================ */

@media (min-width: 1280px) {
    .container, .container-fluid {
        max-width: var(--max-width);
    }
}

/* ============================================
   SITEMAP PAGE
   ============================================ */

.sitemap-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.sitemap-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: border-color var(--transition), transform var(--transition);
}

.sitemap-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.sitemap-item h3 {
    margin-top: 0;
    font-size: var(--h3-size);
}

.sitemap-item h3 a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.sitemap-item h3 a:hover {
    color: var(--primary);
}

.sitemap-item p {
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: 15px;
}

/* ============================================
   ACCESSIBILITY - Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
    .site-header, .site-footer, .cta-banner, .hero-bubbles, .cta-bubbles {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}