/*
 * WildRobin Casino - Design System
 * Dark forest adventure theme with neon green & gold accents.
 * Single dark mode - no theme switcher.
 */

/* ============================================
   DESIGN TOKENS
   Dark forest palette: charcoal, neon green, gold
   ============================================ */
:root {
    color-scheme: dark;

    --background: #0A0F0A;
    --foreground: #F5F1E8;
    --card: #121A12;
    --card-foreground: #F5F1E8;
    --popover: #0D130D;
    --popover-foreground: #F5F1E8;

    --primary: #00FF66;
    --primary-foreground: #0A0F0A;
    --secondary: #FFC700;
    --secondary-foreground: #0A0F0A;

    --muted: #1A2A1A;
    --muted-foreground: #94A894;

    --accent: #FF9500;
    --accent-foreground: #0A0F0A;

    --destructive: #ea1414;
    --destructive-foreground: #FFFFFF;

    --border: #2A3A2A;
    --input: #121A12;
    --ring: #00FF66;

    --header-height: 64px;
    --max-width: 1280px;
    --section-gap: 72px;
    --component-pad: 24px;
    --grid-gap: 16px;

    --font-display: "Cinzel Decorative", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
}

/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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 0.3s ease;
}

a:hover {
    color: #33FF88;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY
   Cinzel Decorative for display, Manrope for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    color: var(--foreground);
}

h1 {
    font-size: 32px;
    font-weight: 900;
}

h2 {
    font-size: 26px;
    font-weight: 700;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

h4 {
    font-size: 18px;
    font-weight: 400;
}

p {
    margin: 0 0 28px;
}

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

@media (min-width: 768px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }
    h4 { font-size: 22px; }
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: var(--section-gap) 0;
}

@media (min-width: 768px) {
    :root {
        --section-gap: 120px;
        --component-pad: 40px;
        --grid-gap: 24px;
    }
}

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

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 720px;
}

.seo-text {
    max-width: 720px;
}

/* ============================================
   HEADER & NAVIGATION
   Sticky header with translucent dark background
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 10, 0.95);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}

.brand-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--foreground);
}

/* Desktop navigation */
.primary-nav {
    display: none;
}

@media (min-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .primary-nav {
        display: block;
        position: static;
        background: transparent;
        transform: none;
        visibility: visible;
        padding: 0;
        overflow: visible;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 28px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        color: var(--foreground);
        font-weight: 500;
        font-size: 16px;
        padding: 8px 0;
        transition: color 0.3s ease;
    }

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

    .nav-login {
        color: var(--secondary);
        font-weight: 600;
        font-size: 16px;
        padding: 8px 16px;
    }

    .nav-login:hover {
        color: #FFD700;
    }

    .nav-register {
        padding: 10px 24px;
        font-size: 15px;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   MOBILE MENU DRAWER
   Slide-in from right, opaque background
   ============================================ */
.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;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    border-radius: 1px;
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .primary-nav {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: var(--background);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        padding: 24px;
    }

    .primary-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .primary-nav .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav .nav-list li {
        border-bottom: 1px solid var(--border);
    }

    .primary-nav .nav-list li a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 14px 8px;
        color: var(--foreground);
        font-weight: 500;
        font-size: 17px;
    }

    .primary-nav .nav-list li .nav-login {
        color: var(--secondary);
        font-weight: 600;
    }

    .primary-nav .nav-list li .nav-register {
        justify-content: center;
        margin-top: 16px;
        border-radius: 8px;
    }
}

/* ============================================
   FOOTER
   Four-column layout on desktop, stacked on mobile
   ============================================ */
.site-footer {
    background: #060906;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--foreground);
}

.footer-text {
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer-18 {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.footer-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-copy {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1.5fr 1fr;
        gap: 48px;
    }
}

/* ============================================
   PAYMENT METHODS
   Muted grayscale badges, informational only
   ============================================ */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--card);
}

/* ============================================
   BUTTONS
   Primary (neon green) and Gold variants
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    min-height: 44px;
    line-height: 1.4;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.3);
    color: var(--primary-foreground);
}

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

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 199, 0, 0.3);
    color: var(--secondary-foreground);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 255, 102, 0.1);
    color: var(--primary);
}

.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 199, 0, 0.25); }
    50% { box-shadow: 0 0 40px rgba(255, 199, 0, 0.55); }
}

/* ============================================
   HERO SECTION
   Full-bleed with forest gradient, model, arrow trail
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: clip;
    background: linear-gradient(135deg, #0A0F0A 0%, #0D1A0D 40%, #0A0F0A 100%);
}

@media (min-width: 768px) {
    .hero {
        min-height: 70vh;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    max-width: 640px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 22px;
    color: var(--muted-foreground);
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 80px 40px;
        max-width: 720px;
    }

    .hero-content h2 {
        font-size: 26px;
    }
}

.hero-subtext {
    color: var(--muted-foreground);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-microcopy {
    color: var(--muted-foreground);
    font-size: 14px;
    margin: 0;
}

.hero-model {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-height: 90%;
    max-width: 45%;
    pointer-events: none;
}

.hero-model img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom;
}

@media (max-width: 767px) {
    .hero-model {
        max-width: 65%;
        opacity: 0.35;
        right: -15%;
    }

    .hero-content {
        max-width: 100%;
    }
}

/* ============================================
   CARD GRIDS
   Responsive: 1 → 2 → 3 columns
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
}

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

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

.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
}

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

/* ============================================
   BONUS CARDS
   Oversized gold figure, dark charcoal background
   ============================================ */
.bonus-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bonus-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 255, 102, 0.12);
}

.bonus-card-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.bonus-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-card-body {
    padding: var(--component-pad);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bonus-figure {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--secondary) 0%, #FFD700 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 1024px) {
    .bonus-figure {
        font-size: 56px;
    }
}

.bonus-card-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    color: var(--foreground);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .bonus-card-title {
        font-size: 22px;
    }
}

.bonus-card-desc {
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.bonus-microcopy {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ============================================
   GAME CATEGORY CARDS
   Icon-based headers, hover glow effect
   ============================================ */
.game-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 255, 102, 0.12);
}

.game-card-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-body {
    padding: var(--component-pad);
}

.game-card-body h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
}

.game-card-body p {
    color: var(--muted-foreground);
    font-size: 16px;
    margin-bottom: 0;
}

/* ============================================
   CTA BANNER SECTION
   Full-bleed with forest gradient and arrow trail
   ============================================ */
.cta-banner-section {
    position: relative;
    overflow: clip;
    padding: 72px 0;
    background: linear-gradient(135deg, #0A0F0A 0%, #0D1A0D 50%, #0A0F0A 100%);
}

@media (min-width: 768px) {
    .cta-banner-section {
        padding: 120px 0;
    }
}

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

.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 15, 10, 0.88), rgba(10, 15, 10, 0.75));
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    font-size: 28px;
    color: var(--foreground);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-banner-content h2 {
        font-size: 36px;
    }
}

.cta-subtext {
    color: var(--muted-foreground);
    font-size: 17px;
    margin-bottom: 32px;
}

.cta-microcopy {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-top: 14px;
    margin-bottom: 0;
}

/* ============================================
   FAQ ACCORDION
   Native <details> with CSS grid height animation
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    color: var(--foreground);
    user-select: none;
}

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

.faq-chevron {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 24px 20px;
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SPLIT LAYOUT
   Two-column: text + image/visual
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.split-layout__media {
    border-radius: 16px;
    overflow: hidden;
}

.split-layout__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* ============================================
   VIP PROGRAM
   Level badges and coin shop elements
   ============================================ */
.vip-levels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .vip-levels {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

.vip-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vip-badge:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.vip-badge-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.vip-badge-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.vip-badge-perk {
    font-size: 13px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* ============================================
   WAGERING PROGRESS BARS
   Visual stat blocks for bonus conditions
   ============================================ */
.wagering-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wagering-stat-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.wagering-stat-label strong {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--secondary);
}

.wagering-stat-label span {
    font-size: 15px;
    color: var(--muted-foreground);
}

.wagering-bar {
    height: 8px;
    background: var(--muted);
    border-radius: 4px;
    overflow: hidden;
}

.wagering-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* ============================================
   ENGAGEMENT PATTERNS
   TL;DR box, callout, stat highlight, pull quote
   ============================================ */

/* TL;DR / Summary box */
.tldr-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    background: var(--card);
    margin: 28px 0;
}

.tldr-box-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 12px;
}

.tldr-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted-foreground);
}

.tldr-box li {
    margin-bottom: 8px;
}

.tldr-box li:last-child {
    margin-bottom: 0;
}

/* Callout / highlight box */
.callout {
    border-left: 4px solid var(--primary);
    background: rgba(0, 255, 102, 0.05);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 28px 0;
}

.callout-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 16px;
}

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

/* Stat highlight */
.stat-highlight {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}

.stat-highlight-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--secondary), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .stat-highlight-number {
        font-size: 56px;
    }
}

.stat-highlight-label {
    color: var(--muted-foreground);
    font-size: 17px;
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--secondary);
    padding: 24px 32px;
    margin: 40px 0;
    font-size: 20px;
    font-style: italic;
    color: var(--foreground);
    line-height: 1.5;
    font-family: var(--font-display);
    font-weight: 400;
}

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

/* Generic details/summary styling */
details summary {
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

/* ============================================
   ANIMATIONS
   Fade-in slide-up on viewport entry
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    color: var(--primary-foreground);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted-foreground);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   SITEMAP PAGE
   Neutral dark forest styling, single column list
   ============================================ */
.sitemap-section {
    padding: 72px 0;
}

@media (min-width: 768px) {
    .sitemap-section {
        padding: 120px 0 120px;
    }
}

.sitemap-header {
    text-align: center;
    margin-bottom: 48px;
}

.sitemap-header h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .sitemap-header h1 {
        font-size: 36px;
    }
}

.sitemap-intro {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sitemap-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    padding: 24px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sitemap-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.08);
}

.sitemap-item h2 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
}

.sitemap-item h2 a {
    color: var(--primary);
    text-decoration: none;
}

.sitemap-item h2 a:hover {
    color: #33FF88;
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
.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;
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn-pulse {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
