/* ============================================
   RAINBET CASINO - DESIGN SYSTEM
   Dark crypto-noir aesthetic with neon rain accents
   Single fixed dark theme - no theme switcher
   ============================================ */

:root {
    --background: #0b1026;
    --foreground: #e8f2ff;
    --card: #161a36;
    --card-foreground: #eef6ff;
    --popover: #0e1329;
    --popover-foreground: #e8f2ff;
    --primary: #31d7ff;
    --primary-foreground: #04121f;
    --secondary: #2a1f4d;
    --secondary-foreground: #eeeaff;
    --muted: #27324f;
    --muted-foreground: #a9b8d0;
    --accent: #34f5a3;
    --accent-foreground: #03170f;
    --destructive: #d81c45;
    --destructive-foreground: #fff1f2;
    --border: #354064;
    --input: #101735;
    --ring: #31d7ff;
    --violet: #9d6bff;

    /* Typography */
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter Tight", sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    /* Container */
    --container-max: 1200px;

    /* Transitions */
    --transition-base: 250ms ease-out;
    --transition-faq: 300ms ease-out;

    /* Header height */
    --header-height: 72px;
}

.dark {
    --background: #0b1026;
    --foreground: #e8f2ff;
    --card: #161a36;
    --card-foreground: #eef6ff;
    --popover: #0e1329;
    --popover-foreground: #e8f2ff;
    --primary: #31d7ff;
    --primary-foreground: #04121f;
    --secondary: #2a1f4d;
    --secondary-foreground: #eeeaff;
    --muted: #27324f;
    --muted-foreground: #a9b8d0;
    --accent: #34f5a3;
    --accent-foreground: #03170f;
    --destructive: #d81c45;
    --destructive-foreground: #fff1f2;
    --border: #354064;
    --input: #101735;
    --ring: #31d7ff;
}

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

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

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

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

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

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Space Grotesk for headings, Inter Tight for body
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--foreground);
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 600;
}

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

p {
    max-width: 68ch;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 17px;
    margin-bottom: var(--space-lg);
    max-width: 68ch;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    width: 100%;
}

section {
    overflow: clip;
}

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

@media (min-width: 1024px) {
    .content-section {
        padding: var(--space-2xl) 0;
    }
}

.full-bleed {
    width: 100%;
    position: relative;
}

/* ============================================
   HEADER - Sticky translucent with blur
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 16, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

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

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

.raindrop-logo {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    flex-shrink: 0;
}

.raindrop-logo::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--background);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

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

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

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

.nav-list a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--foreground);
    padding: 8px 4px;
    position: relative;
    transition: color var(--transition-base);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--primary);
}

.nav-list a:hover::after,
.nav-list a:focus::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
    }
}

/* ============================================
   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;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

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

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

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

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

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

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */

.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;
    justify-content: flex-start;
    padding: var(--space-lg) var(--space-sm);
    overflow-y: auto;
    gap: var(--space-md);
}

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

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

.primary-nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 18px;
}

.primary-nav.is-open .nav-list a::after {
    display: none;
}

.primary-nav.is-open .nav-actions {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-bottom: var(--space-xl);
}

.primary-nav.is-open .nav-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: #5ae5ff;
    color: var(--primary-foreground);
    box-shadow: 0 0 20px rgba(49, 215, 255, 0.4);
}

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

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

.btn-accent {
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 17px;
    padding: 16px 40px;
    box-shadow: 0 0 24px rgba(52, 245, 163, 0.35);
}

.btn-accent:hover {
    background: #5cf8b8;
    color: var(--accent-foreground);
    box-shadow: 0 0 32px rgba(52, 245, 163, 0.5);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 600ms ease-out;
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-large {
    font-size: 18px;
    padding: 18px 48px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    overflow: clip;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--background) 0%, rgba(11, 16, 38, 0.7) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: var(--space-sm);
}

.hero-subheadline {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
    max-width: 68ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

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

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

/* ============================================
   RAIN STREAKS - Animated neon rain background
   ============================================ */

.rain-streaks {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.rain-streaks::before,
.rain-streaks::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(105deg, transparent 48%, rgba(49, 215, 255, 0.08) 49%, rgba(49, 215, 255, 0.08) 51%, transparent 52%),
        linear-gradient(105deg, transparent 48%, rgba(157, 107, 255, 0.06) 49%, rgba(157, 107, 255, 0.06) 51%, transparent 52%),
        linear-gradient(105deg, transparent 48%, rgba(52, 245, 163, 0.05) 49%, rgba(52, 245, 163, 0.05) 51%, transparent 52%);
    background-size: 80px 100%, 120px 100%, 160px 100%;
    animation: rain-drift 20s linear infinite;
}

.rain-streaks::after {
    background-size: 100px 100%, 140px 100%, 180px 100%;
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes rain-drift {
    from { transform: translateY(-25%) translateX(0); }
    to { transform: translateY(25%) translateX(-10%); }
}

@media (prefers-reduced-motion: reduce) {
    .rain-streaks::before,
    .rain-streaks::after {
        animation: none;
    }
}

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

.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

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

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

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

.game-card {
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
    min-width: 0;
}

@media (min-width: 768px) {
    .game-card {
        padding: var(--space-lg);
    }
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(49, 215, 255, 0.2);
}

.game-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.game-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 16, 38, 0.6) 100%);
    pointer-events: none;
}

.game-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.game-card__desc {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.game-card__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.game-card__link {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-base);
}

.game-card__link:hover {
    color: var(--accent);
}

/* ============================================
   BADGES
   ============================================ */

.provably-fair-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(52, 245, 163, 0.12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(52, 245, 163, 0.3);
}

.checkmark-icon {
    flex-shrink: 0;
}

.rtp-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(52, 245, 163, 0.12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(52, 245, 163, 0.3);
}

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

.badge-18plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    padding: 0 8px;
}

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

/* ============================================
   BONUS CARDS
   ============================================ */

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

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

.bonus-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: center;
    min-width: 0;
}

.bonus-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(49, 215, 255, 0.15);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

.bonus-percentage {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 44px);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.bonus-spins {
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.bonus-desc {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   STAT HIGHLIGHTS
   ============================================ */

.stat-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: var(--space-lg);
}

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

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 44px);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

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

/* ============================================
   TRUST PANEL
   ============================================ */

.trust-strip {
    background: var(--card);
    border-top: 2px solid var(--primary);
    border-radius: 12px;
    padding: var(--space-lg);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.trust-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.trust-badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--destructive);
    color: var(--destructive-foreground);
    border: 2px solid var(--destructive);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-label {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

.trust-desc {
    font-size: 14px;
    color: var(--muted-foreground);
    max-width: 30ch;
}

/* ============================================
   CTA BANNER SECTION
   ============================================ */

.cta-banner-section {
    position: relative;
    padding: var(--space-xl) var(--space-sm);
    overflow: clip;
    background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-banner-section {
        padding: var(--space-2xl) var(--space-sm);
    }
}

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

.cta-rain-streaks {
    opacity: 0.5;
}

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

.cta-banner-headline {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.cta-banner-subline {
    font-size: 17px;
    color: var(--foreground);
    margin-bottom: var(--space-lg);
    max-width: 68ch;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: border-left-color var(--transition-faq);
    overflow: hidden;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--foreground);
    list-style: none;
    min-height: 44px;
}

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

.faq-question::marker {
    content: '';
}

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

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    transition: transform var(--transition-faq);
}

.faq-panel[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

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

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

/* ============================================
   CONTENT BLOCKS - Two-column layouts
   ============================================ */

.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
}

@media (min-width: 768px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}

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

.content-block--accent-left {
    border-left: 3px solid var(--primary);
}

.content-block--violet-left {
    border-left: 3px solid var(--violet);
}

.content-block--accent-green-left {
    border-left: 3px solid var(--accent);
}

/* ============================================
   CALLLOUT BOX
   ============================================ */

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

.callout-box--warning {
    border-left-color: var(--destructive);
}

.callout-box--success {
    border-left-color: var(--accent);
}

.callout-box--info {
    border-left-color: var(--primary);
}

.callout-box p {
    margin: 0;
}

.callout-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

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

.pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    border-left: 4px solid var(--violet);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    background: var(--secondary);
    border-radius: 0 10px 10px 0;
}

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

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

.tldr-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: var(--space-lg);
    margin: var(--space-md) 0;
}

.tldr-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tldr-box li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 17px;
    line-height: 1.6;
}

.tldr-checkmark {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 3px;
}

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

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

.comparison-table,
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
}

.comparison-table th,
.data-table th {
    background: var(--popover);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--primary);
    white-space: nowrap;
}

.comparison-table td,
.data-table td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--foreground);
    vertical-align: top;
}

.comparison-table tr:last-child td,
.data-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td,
.data-table tr:hover td {
    background: rgba(49, 215, 255, 0.05);
}

.cell-positive {
    color: var(--accent);
    font-weight: 500;
}

.cell-negative {
    color: #e87a8a;
}

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

/* ============================================
   NUMBERED TIMELINE / STEPS
   ============================================ */

.step-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    counter-reset: step-counter;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-lg);
    min-width: 0;
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(49, 215, 255, 0.15);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.step-content {
    min-width: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 17px;
    color: var(--muted-foreground);
}

/* ============================================
   CRYPTO ICONS ROW
   ============================================ */

.crypto-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
}

.crypto-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.crypto-btc {
    background: linear-gradient(135deg, #f7931a, #ffb347);
    color: #fff;
    border-color: #f7931a;
}

.crypto-usdt {
    background: linear-gradient(135deg, #26a17b, #50c878);
    color: #fff;
    border-color: #26a17b;
}

.crypto-ltc {
    background: linear-gradient(135deg, #345d9d, #5a8fd4);
    color: #fff;
    border-color: #345d9d;
}

.crypto-sol {
    background: linear-gradient(135deg, #9945ff, #14f195);
    color: #fff;
    border-color: #9945ff;
}

.crypto-eth {
    background: linear-gradient(135deg, #627eea, #8aa1f5);
    color: #fff;
    border-color: #627eea;
}

.crypto-tron {
    background: linear-gradient(135deg, #eb0029, #ff4d6d);
    color: #fff;
    border-color: #eb0029;
}

.crypto-ton {
    background: linear-gradient(135deg, #0098ea, #00b4ff);
    color: #fff;
    border-color: #0098ea;
}

/* ============================================
   CRYPTO COIN ROW (generated PNG icons)
   ============================================ */

.coin-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-lg);
    max-width: 700px;
    margin: 0 auto;
}

.coin-row img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .coin-row img {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   RISK LEVEL STRIP
   ============================================ */

.risk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

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

.risk-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: var(--space-md);
    text-align: center;
    min-width: 0;
}

.risk-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.risk-payout {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.risk-desc {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   TOURNAMENT CARDS
   ============================================ */

.tournament-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

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

.tournament-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-lg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    min-width: 0;
}

.tournament-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(49, 215, 255, 0.15);
}

.tournament-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.tournament-prize {
    color: var(--accent);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--space-xs);
}

.tournament-entry {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-sm);
}

.tournament-timer {
    font-family: monospace;
    font-size: 15px;
    color: var(--primary);
    background: var(--input);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* ============================================
   REWARDS TIMELINE
   ============================================ */

.rewards-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .rewards-timeline {
        flex-direction: row;
        align-items: stretch;
    }
}

.reward-segment {
    flex: 1;
    background: var(--card);
    border-radius: 12px;
    padding: var(--space-lg);
    border-top: 3px solid var(--border);
    min-width: 0;
}

.reward-segment--daily {
    border-top-color: var(--accent);
}

.reward-segment--weekly {
    border-top-color: var(--primary);
}

.reward-segment--monthly {
    border-top-color: var(--violet);
}

.reward-type {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.reward-desc {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   RESPONSIBLE GAMBLING BADGES
   ============================================ */

.limit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.limit-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--foreground);
    min-height: 44px;
}

/* ============================================
   SOFT CTA (informational pages)
   ============================================ */

.soft-cta {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: 12px;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.soft-cta h2 {
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

.soft-cta p {
    margin: 0 auto var(--space-md);
    color: var(--muted-foreground);
}

/* ============================================
   INLINE IMAGE
   ============================================ */

.inline-image {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.inline-image img {
    width: 100%;
    height: auto;
}

.inline-image--rounded {
    border-radius: 50%;
    max-width: 200px;
    margin: 0 auto;
}

/* ============================================
   ICON GRID (concept icons)
   ============================================ */

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: var(--space-md);
    justify-items: center;
}

.icon-grid img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* ============================================
   MONOSPACE SNIPPET
   ============================================ */

.code-snippet {
    font-family: monospace;
    font-size: 14px;
    background: var(--input);
    color: var(--accent);
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow-x: auto;
    max-width: 100%;
}

/* ============================================
   SITEMAP LIST
   ============================================ */

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.sitemap-entry {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-md) var(--space-lg);
    transition: border-color var(--transition-base);
}

.sitemap-entry:hover {
    border-color: var(--primary);
}

.sitemap-entry h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.sitemap-entry h2 a {
    color: var(--primary);
}

.sitemap-entry h2 a:hover {
    color: var(--accent);
}

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

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

.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

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

.footer-brand .site-brand {
    margin-bottom: var(--space-sm);
}

.footer-license {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    max-width: 40ch;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--foreground);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

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

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

.footer-payments .crypto-icons {
    justify-content: flex-start;
    margin-bottom: var(--space-md);
}

.footer-badge-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

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

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
    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;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.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;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1023px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .hero {
        min-height: 500px;
        padding: var(--space-xl) 0;
    }

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

    .footer-inner {
        gap: var(--space-md);
    }
}

@media (max-width: 374px) {
    .site-brand__text {
        font-size: 16px;
    }

    .crypto-icon {
        width: 48px;
        height: 48px;
        font-size: 11px;
    }
}

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