:root {
    --bg: #120416;
    --bg-soft: #1a0824;
    --card: rgba(31, 10, 44, 0.82);
    --card-strong: rgba(36, 13, 51, 0.95);
    --text: #f7ebff;
    --muted: #d8bbef;
    --line: rgba(255, 255, 255, 0.12);
    --pink: #ff3dbb;
    --purple: #8d4dff;
    --gold: #ffd777;
    --gold-soft: rgba(255, 215, 119, 0.45);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 26px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 61, 187, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(141, 77, 255, 0.20), transparent 28%),
        linear-gradient(180deg, #0d0312 0%, #130518 48%, #0b0310 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-main { flex: 1; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(10, 2, 16, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #230617;
    background: linear-gradient(135deg, var(--gold) 0%, #fff0b3 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 30px rgba(255, 215, 119, 0.25);
}
.brand-text-group { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.1rem; }
.brand-tag { color: var(--muted); font-size: 0.9rem; }
.header-badges { display: flex; align-items: center; gap: 14px; max-width: 720px; }
.age-badge {
    min-width: 58px;
    text-align: center;
    padding: 11px 14px;
    border-radius: 999px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 0 24px rgba(255, 61, 187, 0.33);
}
.header-disclaimer { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.hero-section { padding: 64px 0 36px; }
.hero-shell { position: relative; }
.hero-glow {
    position: absolute;
    inset: 20px 14% auto;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 61, 187, 0.28) 0%, rgba(141, 77, 255, 0.18) 35%, transparent 70%);
    filter: blur(32px);
    pointer-events: none;
}
.hero-card {
    position: relative;
    padding: 42px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(29, 8, 41, 0.92), rgba(17, 4, 24, 0.90));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 35%, transparent 65%, rgba(255,255,255,0.06));
    pointer-events: none;
}
.eyebrow, .section-topline {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: #ffdcb0;
    margin-bottom: 14px;
}
.hero-card h1, .section-heading h2, .content-card h2, .game-card h2, .stats-card h2, .legal-container h1 { margin: 0 0 14px; font-size: clamp(2.4rem, 4vw, 4.6rem); line-height: 1.02; }
.hero-game { font-size: 1.2rem; margin: 0 0 14px; color: #fbe7ff; }
.hero-game span { color: var(--gold); font-weight: 700; }
.hero-copy { margin: 0 0 26px; max-width: 650px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.btn {
    appearance: none;
    border: 0;
    border-radius: 18px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 28px rgba(141, 77, 255, 0.35), 0 0 26px rgba(255, 61, 187, 0.24);
}
.btn-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-large { padding: 16px 28px; }
.featured-art-section { padding: 12px 0 34px; }
.featured-frame {
    position: relative;
    width: min(100%, 650px);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 216, 133, 0.26), rgba(255,255,255,0.03) 20%, rgba(255, 216, 133, 0.12) 50%, rgba(255,255,255,0.03) 78%, rgba(255, 216, 133, 0.18));
    box-shadow: 0 0 0 1px rgba(255, 222, 163, 0.28), inset 0 0 0 1px rgba(255, 242, 205, 0.22), 0 0 46px rgba(255, 215, 119, 0.24);
}
.featured-frame::before, .featured-frame::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 26px;
    border: 1px solid rgba(255, 227, 159, 0.45);
    pointer-events: none;
}
.featured-frame::after { inset: 20px; border-color: rgba(255, 234, 186, 0.55); }
.shimmer-frame::after {
    animation: shimmerSweep 6s linear infinite;
    background: linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 58%, transparent 100%);
    border: none;
}
.featured-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}
.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 247, 196, 0.92);
    box-shadow: 0 0 18px rgba(255, 238, 178, 0.7);
    animation: sparkleFloat 4.4s ease-in-out infinite;
}
.sparkle-a { top: 16%; left: 12%; }
.sparkle-b { top: 26%; right: 13%; animation-delay: .9s; }
.sparkle-c { bottom: 16%; left: 22%; animation-delay: 1.8s; }
.demo-game-section, .trust-section, .content-section, .responsible-section, .legal-main { padding: 34px 0; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr); gap: 24px; }
.demo-card, .content-card, .trust-card, .responsible-card, .legal-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.game-card, .stats-card { padding: 28px; }
.slot-ui { display: grid; gap: 20px; }
.slot-info-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-pill {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--muted);
    font-size: 0.94rem;
}
.stat-pill strong { color: var(--text); margin-left: 8px; }
.slot-machine {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 16px;
    min-height: 360px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 221, 158, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(16, 4, 22, 0.95), rgba(25, 7, 34, 0.95));
    border: 1px solid rgba(255,255,255,0.08);
}
.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 2;
}
.slot-cell {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 24px rgba(0,0,0,0.22);
    font-size: clamp(2rem, 4vw, 3rem);
    transition: transform .35s ease, filter .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.slot-cell.spinning { animation: reelSpin .5s ease-in-out infinite; opacity: 0.7; }
.slot-cell.win {
    box-shadow: 0 0 0 1px rgba(255, 214, 120, 0.7), 0 0 22px rgba(255, 214, 120, 0.65), inset 0 0 18px rgba(255, 224, 159, 0.22);
    transform: translateY(-3px) scale(1.03);
    filter: saturate(1.15);
}
.line-overlay, .sparkle-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.line-highlight {
    position: absolute;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 220, 140, 0.15), rgba(255, 243, 207, 0.92), rgba(255, 220, 140, 0.15));
    box-shadow: 0 0 18px rgba(255, 224, 158, 0.7);
    animation: lineFlash 1.2s ease;
}
.spark-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 246, 190, 0.92);
    box-shadow: 0 0 18px rgba(255, 235, 161, 0.7);
    animation: particleRise 1s ease-out forwards;
}
.game-message {
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
    line-height: 1.55;
}
.game-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.pulse-btn { animation: softPulse 2.1s ease-in-out infinite; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.stat-box, .legend-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.stat-box span { display: block; color: var(--muted); margin-bottom: 10px; }
.stat-box strong { font-size: 1.35rem; }
.legend-card { margin-top: 16px; }
.legend-card h3, .trust-card h3, .responsible-card h3 { margin-top: 0; }
.symbol-legend { display: grid; gap: 10px; color: var(--muted); }
.trust-grid, .info-grid, .responsible-grid {
    display: grid;
    gap: 18px;
}
.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-card, .responsible-card, .content-card { padding: 24px; }
.trust-card p, .content-card p, .responsible-card p, .legal-card p, .legal-card li { color: var(--muted); line-height: 1.7; }
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-heading { max-width: 760px; margin-bottom: 22px; }
.legal-container { padding-bottom: 48px; }
.legal-card { padding: 28px; }
.legal-back { margin-top: 14px; display: inline-flex; }
.contact-list { margin: 0; padding-left: 18px; }
.site-footer {
    margin-top: auto;
    background: rgba(8, 2, 12, 0.88);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 22px;
    padding: 28px 0;
}
.footer-brand, .footer-title { font-weight: 700; margin-bottom: 12px; }
.footer-copy, .footer-links, .footer-contact { color: var(--muted); margin: 0; padding: 0; list-style: none; line-height: 1.8; }
.footer-links a:hover { color: #fff; }
.cookie-banner, .age-gate {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 50;
}
.cookie-card, .age-gate-panel {
    width: min(100%, 760px);
    margin-left: auto;
    background: rgba(18, 5, 28, 0.96);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
    border-radius: 26px;
    padding: 22px;
    backdrop-filter: blur(18px);
}
.cookie-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cookie-card p, .age-gate-panel p { color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.age-gate {
    inset: 0;
    background: rgba(5, 1, 8, 0.82);
    display: grid;
    place-items: center;
    padding: 20px;
}
.age-gate-panel { width: min(100%, 500px); text-align: center; }
.age-gate-mark {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), #fff1bf);
    color: #2b0b18;
}
.age-check {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 22px 0 18px;
    color: var(--text);
}
.age-check input { width: 18px; height: 18px; accent-color: var(--pink); }
[hidden] { display: none !important; }
@keyframes shimmerSweep {
    0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
    15% { opacity: 1; }
    50% { transform: translateX(140%) skewX(-18deg); opacity: 1; }
    100% { transform: translateX(140%) skewX(-18deg); opacity: 0; }
}
@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .65; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
}
@keyframes reelSpin {
    0% { transform: translateY(0); filter: blur(0); }
    50% { transform: translateY(4px); filter: blur(1px); }
    100% { transform: translateY(0); filter: blur(0); }
}
@keyframes lineFlash {
    0% { opacity: 0; transform: scaleX(.7); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: scaleX(1.08); }
}
@keyframes particleRise {
    0% { opacity: 0; transform: translateY(10px) scale(.7); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-38px) scale(1.25); }
}
@keyframes softPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(141, 77, 255, 0.35), 0 0 26px rgba(255, 61, 187, 0.24); }
    50% { box-shadow: 0 10px 34px rgba(141, 77, 255, 0.45), 0 0 34px rgba(255, 61, 187, 0.34); }
}
@media (max-width: 960px) {
    .header-row, .header-badges, .demo-layout, .trust-grid, .info-grid, .footer-grid, .cookie-card { grid-template-columns: 1fr; display: grid; }
    .header-row { align-items: start; }
    .header-badges { gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid, .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .hero-card, .game-card, .stats-card, .trust-card, .content-card, .responsible-card, .legal-card, .cookie-card, .age-gate-panel { padding: 20px; }
    .hero-card h1, .section-heading h2, .content-card h2, .game-card h2, .stats-card h2, .legal-container h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .trust-grid, .info-grid, .stats-grid { grid-template-columns: 1fr; }
    .slot-machine { min-height: 310px; }
    .slot-cell { font-size: 2.2rem; }
    .cookie-actions, .game-controls { width: 100%; }
    .cookie-actions .btn, .game-controls .btn { flex: 1 1 auto; justify-content: center; }
}
