/* ============================================
   FUGU CASINO - Urban Underwater Graffiti Design System
   Dark deep-teal ocean depths with street-art spray accents.
   Gold treasure, turquoise bioluminescence, coral neon spray.
   ============================================ */

:root {
    /* Underwater dark theme - primary palette */
    --background: #0a0e27;
    --background-alt: #0d1530;
    --foreground: #f0eee6;
    --foreground-muted: #b8c5d6;

    --card: #141838;
    --card-foreground: #f0eee6;
    --card-border: #3d4f63;

    --popover: #1a1f3a;
    --popover-foreground: #f0eee6;

    /* Bright accents */
    --primary: #2dd4bf;       /* turquoise - CTAs */
    --primary-foreground: #0a0e27;
    --primary-dark: #14b8a6;

    --secondary: #fbbf24;     /* gold - highlights */
    --secondary-foreground: #0a0e27;
    --secondary-dark: #f59e0b;

    --accent: #ff4d6d;        /* coral - spray accents */
    --accent-foreground: #000000;
    --accent-dark: #e8344f;

    --muted: #3d4f63;
    --muted-foreground: #94a3b8;

    --destructive: #f43f5e;
    --destructive-foreground: #000000;

    --border: #3d4f63;
    --input: #1a1f3a;
    --ring: #2dd4bf;

    /* Typography */
    --font-display: 'Bungee', 'Arial Black', sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Spacing scale (8px base grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;
    --space-12: 96px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 200ms var(--ease-smooth);
    --transition: 300ms var(--ease-smooth);

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;

    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-cta: 0 8px 24px rgba(45, 212, 191, 0.25);
}

/* Dark mode is the default - no light/dark switching per brief */
.dark {
    --background: #0a0e27;
    --background-alt: #0d1530;
    --foreground: #f0eee6;
    --foreground-muted: #b8c5d6;
    --card: #141838;
    --card-foreground: #f0eee6;
    --card-border: #3d4f63;
    --popover: #1a1f3a;
    --popover-foreground: #f0eee6;
    --primary: #2dd4bf;
    --primary-foreground: #0a0e27;
    --primary-dark: #14b8a6;
    --secondary: #fbbf24;
    --secondary-foreground: #0a0e27;
    --secondary-dark: #f59e0b;
    --accent: #ff4d6d;
    --accent-foreground: #000000;
    --accent-dark: #e8344f;
    --muted: #3d4f63;
    --muted-foreground: #94a3b8;
    --destructive: #f43f5e;
    --destructive-foreground: #000000;
    --border: #3d4f63;
    --input: #1a1f3a;
    --ring: #2dd4bf;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

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

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper, [class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

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

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: visible;
}

a {
    overflow-wrap: break-word;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    background-image:
        radial-gradient(ellipse at top, rgba(45, 212, 191, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 77, 109, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400; /* Bungee is single weight */
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

h1 {
    font-size: clamp(32px, 6vw, 52px);
    margin-bottom: var(--space-4);
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: var(--space-3);
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: var(--space-2);
    font-weight: 500;
}

h4 {
    font-size: 20px;
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-3);
    max-width: 70ch;
}

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

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

strong, b {
    color: var(--secondary);
    font-weight: 700;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   LAYOUT - Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2);
}

.container-narrow {
    max-width: 800px;
}

.section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
}

.section-lg {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
    .section {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ============================================
   HEADER - Sticky nav with logo, menu, CTAs
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

/* Remove backdrop-filter on mobile to avoid containing-block trap for fixed nav drawer */
@media (max-width: 1023px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 14, 39, 0.98);
    }
}

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

@media (min-width: 768px) {
    .header-inner {
        padding: 0 var(--space-4);
    }
}

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

.site-brand .logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.site-brand .brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--secondary);
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Desktop nav */
.primary-nav {
    display: none;
    align-items: center;
    gap: var(--space-4);
}

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

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--foreground);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(45, 212, 191, 0.1);
}

.nav-cta-group {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
    }
    .site-header {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: rgba(10, 14, 39, 0.92);
    }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
    margin: 0 auto;
}

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

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

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

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

/* ============================================
   MOBILE NAV DRAWER - Fixed overlay below header
   ============================================ */
.primary-nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--space-3);
    overflow-y: auto;
    gap: var(--space-3);
}

.primary-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    width: 100%;
}

.primary-nav.is-open .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-2);
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

.primary-nav.is-open .nav-cta-group {
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    margin-top: var(--space-3);
}

.primary-nav.is-open .nav-cta-group .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   BUTTONS - CTA system
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 48px;
    min-width: 120px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.35);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--secondary-foreground);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(45, 212, 191, 0.08);
}

.btn-lg {
    font-size: 18px;
    padding: 18px 40px;
    min-height: 56px;
}

.btn-login {
    font-size: 14px;
    padding: 10px 20px;
    min-height: 40px;
}

.btn-register {
    font-size: 14px;
    padding: 10px 20px;
    min-height: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    padding: var(--space-8) 0 var(--space-4);
    margin-top: var(--space-8);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

@media (min-width: 768px) {
    .footer-inner {
        padding: 0 var(--space-4);
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-col {
    min-width: 0;
    flex: 1;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
}

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

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

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

.footer-license,
.footer-age,
.footer-copy {
    font-size: 14px;
    color: var(--foreground-muted);
    margin-bottom: var(--space-2);
    max-width: 300px;
    line-height: 1.5;
}

/* ============================================
   CTA BANNER - Full-width conversion section
   ============================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 50%, #060818 100%);
    padding: var(--space-7) var(--space-2);
    text-align: center;
    overflow: clip;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.paint-splatter {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.35;
}

.splatter-left {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 10%;
    left: -5%;
}

.splatter-right {
    width: 250px;
    height: 250px;
    background: var(--primary);
    bottom: 5%;
    right: -5%;
}

.cta-mascot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 250px;
    z-index: 1;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
    max-width: 35vw;
    object-fit: contain;
}

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

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 42px);
    color: var(--secondary);
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.cta-subtitle {
    color: var(--foreground);
    font-size: 17px;
    max-width: 500px;
    margin: 0;
}

.cta-float {
    animation: float-pulse 3s ease-in-out infinite;
    margin: var(--space-2) 0;
}

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

@media (min-width: 768px) {
    .cta-banner {
        padding: var(--space-12) var(--space-4);
    }
    .cta-mascot {
        width: 280px;
        height: 340px;
        right: 2%;
        max-width: 30vw;
    }
}

@keyframes float-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================
   INFO CARD GRID - Feature/category cards
   ============================================ */
.info-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    width: 100%;
}

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

@media (min-width: 1024px) {
    .info-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.info-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: transform var(--transition), box-shadow var(--transition);
    min-width: 0;
    position: relative;
    overflow: visible;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.info-card:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    font-size: 40px;
    margin-bottom: var(--space-3);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.info-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--foreground);
    margin-bottom: var(--space-2);
    letter-spacing: 0;
}

.info-card-desc {
    color: var(--foreground-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Inline links within text blocks must be distinguishable without relying on color */
.info-card-desc a,
.faq-answer a,
.callout-text a,
blockquote a,
.bonus-highlight a,
.lead-text a,
.content-section p a {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

/* ============================================
   STAT BLOCK - Highlighted metrics
   ============================================ */
.stat-block-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    background: var(--card);
    border-top: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    width: 100%;
}

@media (min-width: 768px) {
    .stat-block-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-6);
        padding: var(--space-4) var(--space-6);
    }
}

.stat-item {
    text-align: center;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    color: var(--secondary);
    line-height: 1;
    letter-spacing: 0;
}

.stat-num-turquoise {
    color: var(--primary);
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-source {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: var(--space-1);
}

/* ============================================
   FAQ ACCORDION - Native details/summary
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    max-width: 800px;
    width: 100%;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item[open] {
    border-left-color: var(--primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: var(--space-3);
}

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

.faq-q-text {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--foreground);
    letter-spacing: 0;
    flex: 1;
    min-width: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
}

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

.faq-icon::after {
    width: 3px;
    height: 16px;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    transition: transform var(--transition);
}

.faq-item[open] .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-item[open] .faq-icon::before {
    background: var(--primary);
}

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

.faq-answer p {
    color: var(--foreground-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CALLOUT BOX - Notice/tip with coral border
   ============================================ */
.callout-box {
    background: var(--background-alt);
    border-left: 4px solid var(--accent);
    padding: var(--space-3) var(--space-4);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: var(--space-3) 0;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.callout-label {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent);
    margin-bottom: var(--space-1);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.callout-text {
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.6;
}

.callout-text p {
    margin-bottom: var(--space-1);
    max-width: none;
}

/* ============================================
   ENGAGEMENT PATTERNS - TL;DR, blockquote, tables
   ============================================ */
.tldr-box {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    margin: var(--space-3) 0;
}

.tldr-label {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: var(--space-1);
    display: block;
}

blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) 0;
    background: rgba(45, 212, 191, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

blockquote cite {
    font-size: 14px;
    color: var(--muted-foreground);
    font-style: normal;
}

/* ============================================
   TABLES - Structured comparison data
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: var(--space-3) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    min-width: 480px;
}

thead {
    background: var(--background-alt);
}

th {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--card-border);
}

td {
    padding: var(--space-2) var(--space-3);
    color: var(--foreground);
    font-size: 15px;
    border-bottom: 1px solid rgba(61, 79, 99, 0.3);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(45, 212, 191, 0.04);
}

/* ============================================
   ANIMATIONS - Scroll reveal, floating mascot
   ============================================ */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
    transition-delay: var(--delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .cta-float {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   HERO - Full-bleed underwater graffiti
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-5) var(--space-2);
    background: linear-gradient(135deg, #0a0e27 0%, #0d1530 40%, #142840 100%);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(32px, 8vw, 52px);
    color: var(--foreground);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: var(--space-3);
}

.hero .hero-subtitle {
    font-size: 18px;
    color: var(--foreground-muted);
    margin-bottom: var(--space-4);
    max-width: 500px;
}

.hero .hero-mascot {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 380px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
    animation: float-mascot 4s ease-in-out infinite;
}

@media (max-width: 767px) {
    .hero .hero-mascot {
        position: static;
        transform: none;
        width: 70%;
        max-width: 260px;
        margin: 0 auto;
        order: 2;
        animation: float-mascot-mobile 4s ease-in-out infinite;
    }
    .hero-content {
        order: 1;
    }
}

@keyframes float-mascot-mobile {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-8) var(--space-4);
        min-height: 420px;
        flex-direction: row;
        align-items: center;
    }
    .hero .hero-mascot {
        position: absolute;
        right: 2%;
        top: 50%;
        transform: translateY(-50%);
        width: 40%;
        max-width: 380px;
        height: auto;
        z-index: 1;
        filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
        animation: float-mascot 4s ease-in-out infinite;
        order: unset;
    }
    .hero-content {
        order: unset;
    }
}

@keyframes float-mascot {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-54%) rotate(2deg); }
}

/* ============================================
   CONTENT SECTIONS - Article body styling
   ============================================ */
.content-section {
    padding: var(--space-7) 0;
}

@media (min-width: 768px) {
    .content-section {
        padding: var(--space-12) 0;
    }
}

.content-section h2 {
    margin-bottom: var(--space-4);
}

.content-section p {
    margin-bottom: var(--space-3);
}

.lead-text {
    font-size: 19px;
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

/* ============================================
   BONUS HIGHLIGHT BLOCK
   ============================================ */
.bonus-highlight {
    background: linear-gradient(135deg, var(--card) 0%, var(--background-alt) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin: var(--space-4) 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.bonus-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.05), transparent);
    transform: rotate(20deg);
}

/* ============================================
   PAYMENT METHODS STRIP
   ============================================ */
.payment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    align-items: center;
    padding: var(--space-3);
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.payment-item {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--foreground-muted);
    font-weight: 600;
}

/* ============================================
   SITEMAP PAGE - Simple list layout
   ============================================ */
.sitemap-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sitemap-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    transition: border-left-color var(--transition-fast);
}

.sitemap-item:hover {
    border-left-color: var(--secondary);
}

.sitemap-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: var(--space-2);
    letter-spacing: 0;
}

.sitemap-title a {
    color: var(--foreground);
    transition: color var(--transition-fast);
}

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

.sitemap-desc {
    color: var(--foreground-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--secondary); }
.text-turquoise { color: var(--primary); }
.text-coral { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.hidden { display: none !important; }

/* Mobile nav drawer z-index safety */
.primary-nav.is-open {
    z-index: 9999;
}

/* Bottom nav for mobile */
.bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--background-alt);
        border-top: 1px solid var(--border);
        z-index: 998;
        justify-content: space-around;
        padding: var(--space-1);
    }
    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 10px;
        color: var(--muted-foreground);
        padding: var(--space-1);
        min-height: 44px;
        justify-content: center;
    }
    .bottom-nav a.active {
        color: var(--primary);
    }
    body {
        padding-bottom: 60px;
    }
}