/* ============================================
   CRAZYBUZZER CASINO - DESIGN SYSTEM
   Maximalist carnival-royal aesthetic
   Yellow-black with pink mascot accents
   ============================================ */

/* ============================================
   RESET / OVERFLOW SAFETY
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code { max-width: 100%; overflow-x: auto; }
.table-wrapper { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; position: relative; }

a { color: var(--foreground); text-decoration: none; }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--royal-gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--primary); color: var(--primary-foreground);
    padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================
   TYPOGRAPHY
   Bungee for headlines (Marktschreier-style)
   Fredoka for body (friendly rounded)
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Bungee", "Fredoka", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--foreground);
}

h1 { font-size: clamp(28px, 6vw, 44px); }
h2 { font-size: clamp(24px, 4.5vw, 34px); }
h3 { font-size: clamp(20px, 2.6vw, 24px); }
h4 { font-size: clamp(18px, 2.2vw, 20px); }

p { margin: 0 0 16px; }

.lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; }
.eyebrow {
    display: inline-block;
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b5210;
    margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--royal-gold); }
.hero .eyebrow { color: var(--royal-gold); }
.cta-banner .eyebrow { color: var(--royal-gold); }
.legal-hero .eyebrow { color: var(--royal-gold-bright); }

.text-stroke-yellow {
    color: var(--secondary);
    -webkit-text-stroke: 2px var(--primary);
    text-shadow: 4px 4px 0 var(--primary);
}

.gold-text {
    background: linear-gradient(180deg, #f4d03f 0%, #d4af37 60%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 3px 0 rgba(0,0,0,0.25);
}

.huge-stat {
    font-family: "Bungee", sans-serif;
    font-size: clamp(48px, 12vw, 96px);
    line-height: 0.95;
    background: linear-gradient(180deg, #f4d03f 0%, #d4af37 60%, #8b6914 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(2px 4px 0 #0c0a09);
}

/* ============================================
   LAYOUT - Sections & Container
   Section padding: 56px mobile, 96px desktop
   Content max-width 1240px
   ============================================ */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }

.section {
    padding: 56px 0;
    position: relative;
}
@media (min-width: 1024px) {
    .section { padding: 96px 0; }
}

.section-dark { background: var(--secondary); color: var(--secondary-foreground); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--primary); }
.section-dark p { color: #e7e5e4; }

.section-cream { background: var(--muted); }
.section-yellow { background: var(--primary); color: var(--primary-foreground); }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
@media (min-width: 1024px) { .section-header { margin-bottom: 56px; } }

/* ============================================
   WARNING STRIPES (Warnstreifen)
   Signature yellow-black diagonal hazard pattern
   ============================================ */
.warning-stripes-bottom,
.warning-stripes {
    background: repeating-linear-gradient(
        -12deg,
        var(--warning-black) 0,
        var(--warning-black) 24px,
        var(--warning-yellow) 24px,
        var(--warning-yellow) 48px
    );
    height: 16px;
    width: 100%;
}

.warning-band {
    background: repeating-linear-gradient(
        -12deg,
        #0c0a09 0, #0c0a09 28px,
        #facc15 28px, #facc15 56px
    );
    height: 24px;
    transform: rotate(-2deg);
    width: 110%;
    margin-left: -5%;
}

/* ============================================
   BUTTONS
   Primary: yellow with royal gold border + pulse
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 14px 28px;
    font-family: "Bungee", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 3px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .25s ease-out, box-shadow .25s ease-out, background .25s;
    text-decoration: none;
    user-select: none;
    text-align: center;
    line-height: 1.1;
}

.btn-primary {
    background: linear-gradient(180deg, #fde047 0%, #facc15 50%, #eab308 100%);
    color: #0c0a09;
    border-color: var(--royal-gold);
    box-shadow: 0 0 0 0 rgba(250, 204, 21, .6), 0 6px 0 #b45309, 0 8px 24px rgba(0,0,0,.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0 24px 4px rgba(250, 204, 21, .55), 0 8px 0 #b45309, 0 12px 32px rgba(0,0,0,.35);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: var(--primary-foreground); }

.btn-block { width: 100%; }
.btn-xl { min-height: 64px; padding: 18px 36px; font-size: 18px; }

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, .55), 0 6px 0 #b45309; }
    50% { box-shadow: 0 0 24px 8px rgba(250, 204, 21, .35), 0 6px 0 #b45309; }
}
.btn-pulse { animation: pulse-gold 2.4s ease-in-out infinite; }

/* ============================================
   HEADER - Fixed black header with gold underline
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(12, 10, 9, 0.96);
    border-bottom: 2px solid var(--royal-gold);
}
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}
@media (min-width: 768px) { .header-inner { padding: 12px 24px; } }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    flex-shrink: 0;
}
.brand .logo {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    padding: 4px;
    border: 2px solid var(--royal-gold);
    object-fit: contain;
}
.brand-name {
    font-family: "Bungee", sans-serif;
    font-size: 20px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}
.main-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}
.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    color: #fdf6e3;
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.main-nav .nav-link:hover { color: var(--primary); background: rgba(250, 204, 21, 0.08); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }

.mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid var(--royal-gold);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}
.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        position: static;
    }
    .mobile-toggle { display: none; }
}

/* Mobile drawer */
@media (max-width: 1023px) {
    .main-nav {
        position: fixed;
        top: 68px;
        left: 0; right: 0; bottom: 0;
        z-index: 999;
        background: var(--secondary);
        border-top: 2px solid var(--royal-gold);
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px 40px;
        gap: 16px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease-out;
        display: flex;
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .main-nav .nav-link {
        min-height: 56px;
        padding: 14px 16px;
        font-size: 18px;
        border-bottom: 1px solid rgba(212, 175, 55, .25);
        border-radius: 0;
    }
    .nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 12px;
    }
    .nav-cta .btn { min-height: 56px; font-size: 16px; }
}

main { padding-top: 68px; }

/* ============================================
   HERO - Full-bleed dramatic intro
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 40%, #422006 70%, #facc15 130%);
    color: var(--secondary-foreground);
    padding: 56px 0 72px;
    overflow: clip;
}
@media (min-width: 1024px) { .hero { padding: 96px 0 120px; } }

.hero::before {
    content: "";
    position: absolute;
    inset: -40px -10% auto -10%;
    height: 32px;
    background: repeating-linear-gradient(-12deg, #0c0a09 0 28px, #facc15 28px 56px);
    transform: rotate(-2deg);
    top: 80px;
    opacity: .9;
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 32px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    z-index: 2;
}
@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.1fr 1fr;
        padding: 0 24px;
        gap: 48px;
    }
}

.hero-headline {
    font-size: clamp(32px, 7vw, 56px);
    color: var(--primary);
    -webkit-text-stroke: 1px #0c0a09;
    text-shadow: 4px 4px 0 #0c0a09, 0 0 32px rgba(250, 204, 21, .35);
    margin-bottom: 18px;
}

.hero p { color: #fef3c7; max-width: 56ch; }

.hero-mascot {
    position: relative;
    text-align: center;
}
.hero-mascot img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.hero-fineprint {
    margin-top: 16px;
    font-size: 13px;
    color: #d4d4d4;
}

/* ============================================
   GAME CARDS - Dense mosaic 2/4 cols
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 768px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0c0a09;
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--primary);
    transition: transform .3s ease-out, box-shadow .3s ease-out;
    isolation: isolate;
}
.game-card:hover, .game-card:focus-visible {
    transform: translateY(-4px) rotate(-1.5deg);
    box-shadow: 0 12px 28px rgba(212, 175, 55, .4), 0 0 0 1px var(--royal-gold-bright);
}

.game-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1c1917, #422006);
    overflow: hidden;
}
.game-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.warning-corner {
    position: absolute;
    top: -12px; right: -12px;
    width: 60px; height: 60px;
    background: repeating-linear-gradient(-12deg, #0c0a09 0 8px, #facc15 8px 16px);
    transform: rotate(45deg);
    z-index: 2;
}

.game-badge {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 3;
    padding: 4px 10px;
    font-family: "Bungee", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    border: 2px solid #0c0a09;
}
.game-badge-jackpot { background: linear-gradient(180deg, #f472b6, #db2777); }
.game-badge-neu { background: linear-gradient(180deg, #fde047, #eab308); color: #0c0a09; }
.game-badge-hot { background: linear-gradient(180deg, #fb923c, #c2410c); }

.game-card-body {
    padding: 14px;
    background: #0c0a09;
}
@media (min-width: 1024px) { .game-card-body { padding: 20px; } }

.game-title {
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    color: var(--primary);
    margin: 0 0 4px;
    text-transform: uppercase;
}
@media (min-width: 1024px) { .game-title { font-size: 16px; } }

.game-provider {
    font-family: "Fredoka", sans-serif;
    font-size: 12px;
    color: #a8a29e;
}

.shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(244, 208, 63, .35) 50%, transparent 70%);
    pointer-events: none;
    z-index: 4;
    animation: shimmer-pass 4s ease-in-out infinite;
}
@keyframes shimmer-pass {
    0%, 80% { left: -100%; }
    100% { left: 200%; }
}

/* ============================================
   BONUS CARDS
   ============================================ */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) { .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bonus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.bonus-card {
    position: relative;
    background: var(--muted);
    border: 3px solid var(--royal-gold);
    border-radius: 18px;
    padding: 28px 20px 24px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 0 rgba(0,0,0,.15), 0 16px 40px rgba(0,0,0,.12);
}

.bonus-stripe {
    position: absolute;
    top: -10px; left: -20%; right: -20%;
    height: 28px;
    background: repeating-linear-gradient(-12deg, #0c0a09 0 18px, #facc15 18px 36px);
    transform: rotate(-12deg);
    z-index: 1;
}

.bonus-media {
    margin-top: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.bonus-media img {
    max-height: 140px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.bonus-amount {
    position: relative;
    z-index: 2;
    margin: 8px 0;
    line-height: 1;
}
.bonus-number {
    display: block;
    font-family: "Bungee", sans-serif;
    font-size: clamp(40px, 9vw, 64px);
    background: linear-gradient(180deg, #f4d03f 0%, #d4af37 60%, #8b6914 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(2px 3px 0 #0c0a09);
    line-height: 1;
}
.bonus-unit {
    display: block;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: #5a4208;
    margin-top: 4px;
}

.bonus-card .bonus-unit {
    color: #5a4208;
}

.bonus-card .bonus-name {
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: #1c1917;
    margin: 12px 0 8px;
}
.bonus-card .bonus-description {
    font-size: 15px;
    color: #44403c;
    margin-bottom: 18px;
    min-height: 44px;
}
.bonus-card .bonus-fineprint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #57534e;
}
.bonus-card .bonus-unit {
    color: #5a4208;
}

/* Dark variant for bonus cards on cream backgrounds */
.bonus-card.bonus-dark {
    background: #1c1917;
    color: #fef3c7;
}
.bonus-card.bonus-dark .bonus-name { color: var(--primary); }
.bonus-card.bonus-dark .bonus-description { color: #d4d4d4; }
.bonus-card.bonus-dark .bonus-fineprint { color: #a8a29e; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion {
    background: #0c0a09;
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, .35);
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] {
    background: rgba(250, 204, 21, .04);
    border-left: 4px solid var(--primary);
}
.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    transition: background .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(250, 204, 21, .07); }

.faq-snout {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}
.faq-q-text {
    flex: 1;
    font-family: "Bungee", sans-serif;
    font-size: 16px;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.3;
}
@media (min-width: 768px) { .faq-q-text { font-size: 20px; } }

.faq-plus {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border: 2px solid var(--royal-gold);
    border-radius: 50%;
    color: var(--primary);
    font-family: "Bungee", sans-serif;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .28s ease-out;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-answer {
    background: #1c1917;
    padding: 20px;
    color: #fef3c7;
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid rgba(212, 175, 55, .2);
}
@media (min-width: 1024px) { .faq-answer { padding: 28px; font-size: 17px; } }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin: 0; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(110deg, #0c0a09 0%, #1c1917 50%, #facc15 200%);
    color: #fef3c7;
    padding: 56px 0;
    overflow: clip;
}
@media (min-width: 1024px) { .cta-banner { padding: 96px 0; } }

.cta-stripes::before, .cta-stripes::after {
    content: "";
    position: absolute;
    left: -10%; right: -10%;
    height: 24px;
    background: repeating-linear-gradient(-12deg, #0c0a09 0 24px, #facc15 24px 48px);
    transform: rotate(-12deg);
    z-index: 1;
}
.cta-stripes::before { top: 24px; }
.cta-stripes::after { bottom: 24px; }

.cta-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) {
    .cta-banner-inner {
        grid-template-columns: 1fr 1.4fr;
        padding: 0 24px;
        gap: 48px;
    }
}

.cta-mascot {
    text-align: center;
}
.cta-mascot img {
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
}

.cta-headline {
    font-size: clamp(24px, 5vw, 36px);
    color: #0c0a09;
    -webkit-text-stroke: 1px #facc15;
    text-shadow: 3px 3px 0 #facc15;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 17px;
    color: #fef3c7;
    margin-bottom: 24px;
    max-width: 56ch;
}

.cta-fineprint {
    margin-top: 14px;
    font-size: 13px;
    color: #d4d4d4;
    max-width: 52ch;
}

/* ============================================
   PROVIDER LOGOS - Horizontal trust strip
   ============================================ */
.provider-strip {
    background: var(--muted);
    padding: 28px 0;
    border-top: 1px solid var(--royal-gold);
    border-bottom: 1px solid var(--royal-gold);
    text-align: center;
}
.provider-title {
    display: block;
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    color: #6b5210;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 18px;
}
.provider-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.provider-track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
    .provider-track { justify-content: center; gap: 40px; padding: 0 24px 8px; }
}

.provider-logo {
    flex-shrink: 0;
    height: 36px;
    display: inline-flex;
    align-items: center;
    transition: filter .2s, transform .2s;
}
.provider-logo:hover { filter: drop-shadow(0 0 12px rgba(250, 204, 21, .6)); transform: scale(1.04); }
.provider-logo img { height: 36px; width: auto; }
@media (min-width: 1024px) {
    .provider-logo, .provider-logo img { height: 48px; }
}

.provider-name {
    font-family: "Bungee", sans-serif;
    font-size: 16px;
    color: var(--secondary);
    padding: 8px 18px;
    border: 2px solid var(--royal-gold);
    border-radius: 8px;
    background: #fffaf0;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================
   HOW-TO STEPS
   ============================================ */
.howto-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
@media (min-width: 1024px) {
    .howto-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.howto-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: flex-start;
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    padding: 20px;
    position: relative;
}
@media (min-width: 1024px) {
    .howto-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.howto-num {
    flex-shrink: 0;
    width: 64px; height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fde047, #facc15);
    color: #0c0a09;
    border: 3px solid var(--royal-gold);
    border-radius: 50%;
    font-family: "Bungee", sans-serif;
    font-size: 32px;
    box-shadow: 0 4px 0 rgba(0,0,0,.2);
}
@media (min-width: 1024px) { .howto-num { margin: 0 auto; } }

.howto-title {
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: var(--secondary);
    margin: 0 0 6px;
    text-transform: uppercase;
}
.howto-desc {
    font-size: 15px;
    color: var(--muted-foreground);
    margin: 0;
}

.howto-image {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 8px;
}
.howto-image img { max-width: 96px; margin: 0 auto; }

/* ============================================
   FEATURE CARDS / GAMIFICATION TILES
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.feature-card {
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform .25s ease-out, box-shadow .25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(212, 175, 55, .25);
}
.feature-card .feature-icon {
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    display: block;
}
.feature-card h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 15px;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   TABLES - Comparison tables
   ============================================ */
.table-wrapper {
    margin: 24px 0;
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    background: #1c1917;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    color: #fef3c7;
    min-width: 540px;
}
.compare-table thead {
    background: var(--primary);
    color: #0c0a09;
}
.compare-table th, .compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, .25);
}
.compare-table th {
    font-family: "Bungee", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.compare-table tbody tr:nth-child(even) { background: rgba(250, 204, 21, .04); }
.compare-table tbody tr:hover { background: rgba(250, 204, 21, .08); }
.compare-table .recommended { background: rgba(250, 204, 21, .18) !important; }
.compare-table .recommended td { font-weight: 600; }

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */
.tldr-box {
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-left: 8px solid var(--primary);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}
.tldr-box .eyebrow { color: var(--secondary); }

.callout {
    background: rgba(250, 204, 21, .12);
    border-left: 6px solid var(--primary);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    color: var(--foreground);
}
.callout-warning { background: rgba(220, 38, 38, .08); border-left-color: var(--destructive); }
.callout-tip { background: rgba(236, 72, 153, .08); border-left-color: var(--accent); }

.stat-highlight {
    display: inline-block;
    text-align: center;
    padding: 12px 18px;
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--royal-gold);
    border-radius: 12px;
    font-family: "Bungee", sans-serif;
}
.stat-highlight .stat-num {
    display: block;
    font-size: 36px;
    line-height: 1;
}
.stat-highlight .stat-label {
    display: block;
    font-size: 12px;
    color: #d4d4d4;
    text-transform: uppercase;
    margin-top: 4px;
}

.pull-quote {
    border-left: 6px solid var(--royal-gold);
    padding: 16px 0 16px 24px;
    margin: 28px 0;
    font-family: "Bungee", sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: var(--secondary);
}
.pull-quote cite {
    display: block;
    margin-top: 12px;
    font-family: "Fredoka", sans-serif;
    font-style: normal;
    font-size: 14px;
    color: var(--muted-foreground);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-radius: 999px;
    font-family: "Bungee", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--secondary);
}

details.expandable {
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 12px 0;
}
details.expandable summary {
    cursor: pointer;
    font-family: "Bungee", sans-serif;
    color: var(--secondary);
    list-style: none;
}
details.expandable summary::-webkit-details-marker { display: none; }
details.expandable summary::after { content: " +"; color: var(--royal-gold); }
details.expandable[open] summary::after { content: " −"; }

/* Internal link cards */
.link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.link-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.link-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 12px 28px rgba(212, 175, 55, .35);
}
.link-card img {
    width: 64px; height: 64px;
    object-fit: contain;
}
.link-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 0;
}
.link-card p {
    color: #e7e5e4;
    font-size: 14px;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0c0a09;
    color: #d4d4d4;
    padding: 56px 0 0;
    border-top: 4px solid var(--royal-gold);
    margin-top: 0;
}
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 0 24px; } }

.footer-brand .brand-footer {
    margin-bottom: 12px;
}
.footer-tag {
    font-size: 14px;
    color: #a8a29e;
    margin-bottom: 16px;
    max-width: 40ch;
}
.badges-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-18, .badge-license {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--primary);
    color: #0c0a09;
    border: 2px solid var(--royal-gold);
    border-radius: 999px;
    font-family: "Bungee", sans-serif;
    font-size: 12px;
}
.badge-18 { background: var(--destructive); color: #fff; border-color: #fff; }

.footer-title {
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 14px;
}
.footer-list, .payments {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.payments { flex-direction: row; flex-wrap: wrap; gap: 8px; }

.footer-list a {
    color: #d4d4d4;
    font-size: 14px;
    transition: color .2s;
    display: inline-block;
    min-height: 36px;
    padding: 6px 0;
}
.footer-list a:hover { color: var(--primary); }

.pay-pill {
    display: inline-block;
    padding: 6px 12px;
    background: #1c1917;
    border: 1px solid var(--royal-gold);
    border-radius: 8px;
    font-family: "Bungee", sans-serif;
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 16px;
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, .3);
    text-align: center;
    font-size: 13px;
    color: #a8a29e;
}
.footer-bottom strong { color: var(--primary); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; }
    .btn-pulse, .shimmer { animation: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.no-pad { padding: 0; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.image-frame {
    border: 3px solid var(--royal-gold);
    border-radius: 18px;
    overflow: hidden;
    background: #0c0a09;
}
.image-frame img { display: block; width: 100%; height: auto; }

/* Watermark mascot for SEO sections */
.seo-section {
    position: relative;
    background: var(--muted);
    overflow: clip;
}
.seo-section .watermark {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 280px;
    opacity: .12;
    pointer-events: none;
    z-index: 0;
}
.seo-section .container { position: relative; z-index: 1; }

/* ============================================
   REDIRECT STUB (win.html)
   ============================================ */
.redirect-stub {
    position: relative;
    min-height: calc(100vh - 68px);
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 45%, #422006 75%, #facc15 140%);
    color: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
    overflow: clip;
}
@media (min-width: 1024px) { .redirect-stub { padding: 96px 24px; } }

.redirect-stripes::before,
.redirect-stripes::after {
    content: "";
    position: absolute;
    left: -10%; right: -10%;
    height: 24px;
    background: repeating-linear-gradient(-12deg, #0c0a09 0 24px, #facc15 24px 48px);
    transform: rotate(-12deg);
    z-index: 1;
    opacity: .85;
}
.redirect-stripes::before { top: 40px; }
.redirect-stripes::after { bottom: 40px; }

.redirect-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    width: 100%;
    display: grid;
    gap: 32px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .redirect-inner {
        grid-template-columns: auto 1fr;
        gap: 48px;
        text-align: left;
    }
}

.redirect-mascot {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .redirect-mascot { width: 280px; height: 280px; margin: 0; }
}

.redirect-mascot img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
    animation: redirect-bounce 1.6s ease-in-out infinite;
}

@keyframes redirect-bounce {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

.redirect-spinner {
    position: absolute;
    inset: -12px;
    border: 6px solid transparent;
    border-top-color: var(--royal-gold);
    border-right-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
    animation: redirect-spin 1.4s linear infinite;
}

@keyframes redirect-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.redirect-text .eyebrow { color: var(--royal-gold-bright); }

.redirect-text .hero-headline {
    font-size: clamp(28px, 6vw, 48px);
    color: var(--primary);
    -webkit-text-stroke: 1px #0c0a09;
    text-shadow: 4px 4px 0 #0c0a09, 0 0 32px rgba(250, 204, 21, .35);
    margin-bottom: 16px;
}

.redirect-text .lead {
    color: #fef3c7;
    max-width: 56ch;
    margin-bottom: 20px;
}
@media (max-width: 767px) { .redirect-text .lead { margin-left: auto; margin-right: auto; } }

.redirect-dots {
    display: inline-flex;
    gap: 10px;
    margin: 8px 0 20px;
}
.redirect-dots span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--royal-gold);
    animation: redirect-dot 1.2s ease-in-out infinite;
}
.redirect-dots span:nth-child(2) { animation-delay: .2s; }
.redirect-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes redirect-dot {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-6px); }
}

.redirect-fineprint {
    font-size: 13px;
    color: #d4d4d4;
    max-width: 60ch;
}
@media (max-width: 767px) { .redirect-fineprint { margin-left: auto; margin-right: auto; } }
.redirect-fineprint a { color: var(--primary); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .redirect-mascot img,
    .redirect-spinner,
    .redirect-dots span { animation: none; }
}

/* Responsive image helpers */
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Category filter tabs (spielautomaten) */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}
.cat-tab {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 22px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--royal-gold);
    border-radius: 999px;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}
.cat-tab:hover { background: rgba(250, 204, 21, .15); transform: translateY(-2px); }
.cat-tab.is-active {
    background: var(--primary);
    color: #0c0a09;
    box-shadow: 0 4px 0 #b45309;
}
@media (min-width: 768px) {
    .cat-tab { font-size: 14px; padding: 12px 28px; }
}

#filter-grid > div { display: contents; }
#filter-grid > div.is-hidden { display: none; }

/* Anchor pill nav (legal page TOC) */
.toc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.toc-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    background: var(--primary);
    color: #0c0a09;
    border: 2px solid var(--royal-gold);
    border-radius: 999px;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
}
.toc-pills a:hover { background: var(--royal-gold-bright); }

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-hero {
    position: relative;
    background: #0c0a09;
    color: #fef3c7;
    padding: 56px 0 40px;
    overflow: clip;
    border-bottom: 2px solid var(--royal-gold);
}
@media (min-width: 1024px) { .legal-hero { padding: 96px 0 56px; } }

.legal-hero .container { position: relative; z-index: 2; max-width: 880px; }
.legal-hero .hero-headline {
    font-size: clamp(26px, 5vw, 40px);
    color: var(--primary);
    -webkit-text-stroke: 1px #0c0a09;
    text-shadow: 3px 3px 0 #0c0a09;
    margin-bottom: 14px;
}
.legal-hero .lead { color: #e7e5e4; max-width: 70ch; }
.legal-hero-watermark {
    position: absolute;
    right: -40px; bottom: -40px;
    width: 280px;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}
@media (min-width: 1024px) {
    .legal-hero-watermark { width: 360px; right: 4%; bottom: -60px; opacity: 0.18; }
}
.legal-meta {
    margin-top: 18px;
    font-size: 14px;
    color: #a8a29e;
}

.legal-section { padding: 48px 0; background: var(--background); }
@media (min-width: 1024px) { .legal-section { padding: 72px 0; } }

.legal-section-dark {
    background: var(--secondary);
    color: #fef3c7;
}
.legal-section-dark h2,
.legal-section-dark h3 { color: var(--primary); }
.legal-section-dark p,
.legal-section-dark li { color: #e7e5e4; }
.legal-section-dark a { color: var(--primary); text-decoration: underline; }

.legal-section-cream { background: var(--muted); }

.legal-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) { .legal-wrap { padding: 0 24px; } }

.legal-section h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    color: var(--secondary);
    margin-bottom: 20px;
    border-left: 6px solid var(--royal-gold);
    padding-left: 14px;
}
.legal-section-dark h2 { color: var(--primary); }

.legal-section h3 {
    font-size: clamp(18px, 2.4vw, 22px);
    color: var(--secondary);
    margin: 28px 0 12px;
}
.legal-section-dark h3 { color: var(--primary); }

.legal-section p, .legal-section li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--foreground);
}
.legal-section ul {
    margin: 0 0 18px;
    padding-left: 24px;
}
.legal-section ul li { margin-bottom: 8px; }
.legal-section a {
    color: #6b5210;
    text-decoration: underline;
    text-decoration-color: var(--royal-gold);
    text-underline-offset: 3px;
}
.legal-section a:hover { color: #b45309; }

.legal-section-dark p,
.legal-section-dark li,
.legal-section-dark strong {
    color: #fef3c7;
}
.legal-section-dark ul li { color: #fef3c7; }

.legal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0, var(--royal-gold) 20%, var(--royal-gold) 80%, transparent 100%);
    margin: 0 auto;
    max-width: 880px;
}

.legal-card {
    background: var(--muted);
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    padding: 24px;
    margin: 16px 0;
}
.legal-card h3:first-child { margin-top: 0; }
.legal-card h3 {
    color: var(--secondary);
    font-size: 16px;
    margin: 18px 0 6px;
}
.legal-card p { margin: 0 0 8px; }
.legal-copyright {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--royal-gold);
    font-size: 14px;
    color: var(--muted-foreground);
}

.spielerschutz-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(250, 204, 21, .08);
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
}
@media (min-width: 768px) {
    .spielerschutz-head { grid-template-columns: auto 1fr auto; }
}
.spielerschutz-head p { margin: 0; color: #fef3c7; }
.age-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--destructive);
    color: #fff;
    border: 3px solid #fff;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    flex-shrink: 0;
}
.spielerschutz-icon {
    width: 96px; height: 96px;
    object-fit: contain;
    justify-self: center;
}
@media (max-width: 767px) {
    .spielerschutz-icon { display: none; }
}