:root {
  color-scheme: dark;
  --bg: #0e0e13;
  --panel: #17171f;
  --panel-2: #20202a;
  --ink: #f8f8fb;
  --muted: #aaaab7;
  --red: #ff271b;
  --red-dark: #c90f0a;
  --cyan: #22d8ff;
  --green: #27df73;
  --line: #2d2d39;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 80% 4%, #301117 0, transparent 28%), radial-gradient(circle at 20% 55%, #0a2d3b 0, transparent 26%), var(--bg); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.35rem); margin: .2em 0; max-width: 13ch; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.25rem; }
p { max-width: 74ch; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; min-height: 66px; padding: .55rem clamp(1rem, 2.6vw, 2.8rem); background: color-mix(in srgb, #17171f 92%, transparent); border-bottom: 1px solid #2a2a34; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .42rem; color: #fff; font-size: 1.65rem; font-weight: 950; line-height: 1; text-decoration: none; letter-spacing: -.06em; white-space: nowrap; }
.brand-n1 { display: inline-grid; place-items: center; min-width: 51px; height: 31px; padding: 0 .32rem; border: 4px solid var(--red); border-radius: 5px 10px 5px 10px; color: var(--red); font-style: italic; font-size: 1.28rem; }
.product-nav { display: flex; align-items: center; justify-content: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.product-nav::-webkit-scrollbar { display: none; }
.product-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .9rem; color: #d3d3dc; border-radius: 10px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.product-nav a:hover { color: #fff; background: #24242e; }
.header-cta, .primary-cta, .secondary-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 10px; font-weight: 900; line-height: 1.1; text-decoration: none; text-align: center; }
.header-cta, .primary-cta { color: #fff; background: linear-gradient(180deg, #ff3a2e, var(--red)); box-shadow: 0 10px 30px #ff271b35, inset 0 1px #ffffff50; }
.header-cta:hover, .primary-cta:hover { transform: translateY(-1px); background: #ff493e; }
.secondary-cta { border-color: #4a4a59; background: #17171fbf; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); align-items: center; min-height: min(650px, calc(100vh - 66px)); margin: 1.25rem clamp(1rem, 2.5vw, 2.7rem) 1rem; overflow: hidden; border: 1px solid #282833; border-radius: 26px; background: #10131b; box-shadow: 0 30px 80px #0008; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #090a10 0%, #090a10e8 36%, transparent 67%); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; padding: clamp(1.6rem, 5vw, 5.3rem); }
.hero-visual { position: absolute; inset: 0; background: url("/assets/img/hero-racer.webp") center/cover no-repeat; }
.eyebrow { margin: 0 0 .55rem; color: var(--red); font-size: .82rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.hero-lede { max-width: 58ch; color: #dddde5; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.hero-note { margin-top: 1.1rem; color: #a9a9b5; font-size: .86rem; }
.pulse-phrase { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .7rem; border: 1px solid #ff271b55; border-radius: 999px; color: #fff; background: #ff271b14; font-weight: 850; }
.pulse-phrase::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px #ff271b25; }

.category-rail { display: flex; gap: .65rem; margin: 0 clamp(1rem, 2.5vw, 2.7rem) 2rem; padding: .75rem; overflow-x: auto; border: 1px solid #2a2a35; border-radius: 16px; background: var(--panel); scrollbar-color: #3b3b47 transparent; }
.category-rail a { flex: 0 0 auto; padding: .72rem 1rem; border-radius: 10px; background: #20202a; font-weight: 800; text-decoration: none; }
.category-rail a:hover { background: #2c2c38; }

.game-section, .content-section, .feature-band, .faq-section { width: min(1500px, calc(100% - 2rem)); margin: 0 auto; padding: 1.1rem 0 2.6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading > div { display: flex; align-items: center; gap: .7rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2.25rem); }
.section-heading > span { color: var(--muted); font-size: .9rem; }
.section-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--red); font-size: 1.5rem; }

.game-grid { display: grid; grid-template-columns: repeat(8, minmax(130px, 1fr)); gap: 14px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid #2c2c37; border-radius: 13px; background: #17171f; box-shadow: 0 12px 28px #0004; transition: transform .2s ease, border-color .2s ease; }
.game-card:hover, .game-card:focus-within { transform: translateY(-4px); border-color: #575765; }
.game-art { position: relative; aspect-ratio: 1; overflow: hidden; background-repeat: no-repeat; background-size: 400% 200%; }
.sprite-top { background-image: url("/assets/img/slots-top.webp"); }
.sprite-new { background-image: url("/assets/img/slots-new.webp"); }
.sprite-instant { background-image: url("/assets/img/slots-instant.webp"); }
.sprite-classic { background-image: url("/assets/img/slots-classic.webp"); }
.art-1 { background-position: 0 0; }.art-2 { background-position: 33.333% 0; }.art-3 { background-position: 66.666% 0; }.art-4 { background-position: 100% 0; }
.art-5 { background-position: 0 100%; }.art-6 { background-position: 33.333% 100%; }.art-7 { background-position: 66.666% 100%; }.art-8 { background-position: 100% 100%; }
.game-art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, #090910d9); }
.game-badge { position: absolute; z-index: 3; left: .5rem; top: .5rem; padding: .18rem .45rem; border-radius: 999px; color: #07140c; background: var(--green); font-size: .66rem; font-weight: 950; }
.game-meta { display: grid; gap: .12rem; min-height: 72px; padding: .65rem .7rem .75rem; }
.game-meta strong { overflow: hidden; font-size: .92rem; line-height: 1.22; text-overflow: ellipsis; }
.game-meta span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.game-overlay { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: .55rem; padding: .75rem; opacity: 0; background: linear-gradient(#0b0b10b8, #0b0b10f5); transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.game-card:hover .game-overlay, .game-card:focus-within .game-overlay { opacity: 1; transform: translateY(0); }
.game-overlay button, .game-overlay a { display: flex; min-height: 40px; flex-direction: column; align-items: center; justify-content: center; padding: .5rem; border: 0; border-radius: 9px; cursor: pointer; font-size: .76rem; font-weight: 900; line-height: 1.15; text-align: center; text-decoration: none; }
.game-overlay button { color: #111; background: #fff; }
.game-overlay a { color: #fff; background: var(--red); }
.game-overlay a span { margin-top: .18rem; font-size: .63rem; font-weight: 750; }

.feature-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card, .fact-card, .article-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #1c1c25, #121219); }
.feature-card { min-height: 230px; padding: 1.5rem; isolation: isolate; }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(16,16,22,.97) 10%, rgba(16,16,22,.82) 56%, rgba(16,16,22,.28)), var(--feature-image) center / cover no-repeat; transform: scale(1.02); }
.feature-games { --feature-image: url("../img/slots-top.webp"); }
.feature-bonus { --feature-image: url("../img/slots-classic.webp"); }
.feature-trust { --feature-image: url("../img/slots-instant.webp"); }
.feature-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -45px; bottom: -55px; border-radius: 50%; background: radial-gradient(circle, var(--glow, #ff271b88), transparent 67%); }
.feature-card h2 { margin: .25rem 0 .65rem; font-size: 1.55rem; }
.feature-card p { color: #c2c2cc; }
.feature-card a { font-weight: 850; }

.article-shell { width: min(1180px, calc(100% - 2rem)); margin: 1rem auto 3rem; }
.article-card { padding: clamp(1.25rem, 4vw, 3.6rem); }
.article-card > h2:first-child { margin-top: 0; }
.article-card p, .article-card li { color: #d1d1da; }
.article-card a:not(.primary-cta):not(.secondary-cta) { color: #8be9ff; }
.article-card ul, .article-card ol { padding-left: 1.25rem; }
.article-card li + li { margin-top: .45rem; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0; }
.fact-card { padding: 1.15rem; }
.fact-card strong { display: block; color: var(--red); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.fact-card span { display: block; margin-top: .3rem; font-size: 1.03rem; font-weight: 800; }
.data-table { width: 100%; margin: 1.25rem 0; overflow: hidden; border-collapse: collapse; border-radius: 12px; }
.data-table th, .data-table td { padding: .8rem .9rem; border-bottom: 1px solid #33333e; text-align: left; vertical-align: top; }
.data-table th { color: #fff; background: #282833; }
.data-table tr:nth-child(even) td { background: #1a1a22; }
.callout { margin: 1.3rem 0; padding: 1rem 1.1rem; border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; background: #24171a; }
.source-note { color: var(--muted); font-size: .83rem; }

.inner-hero { position: relative; display: grid; min-height: 410px; align-items: end; margin: 1.25rem clamp(1rem, 2.5vw, 2.7rem) 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(90deg, #0b0b11f0, #0b0b1170), url("/assets/img/slots-top.webp") center 10%/cover; }
.inner-hero.utility { background-image: linear-gradient(90deg, #0b0b11f0, #0b0b1170), url("/assets/img/slots-classic.webp"); }
.inner-hero-copy { position: relative; z-index: 2; padding: clamp(1.5rem, 5vw, 4rem); }
.inner-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5.2vw, 4.8rem); }
.inner-hero p { color: #dddde6; font-size: 1.08rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: #17171f; }
.faq-list summary { padding: 1rem 1.1rem; cursor: pointer; font-weight: 850; }
.faq-list details p { margin: 0; padding: 0 1.1rem 1.1rem; color: #cfcfd8; }

.demo-modal { width: min(520px, calc(100% - 2rem)); padding: 1.5rem; border: 1px solid #464653; border-radius: 20px; color: #fff; background: #17171f; box-shadow: 0 30px 100px #000c; }
.demo-modal::backdrop { background: #050507d9; backdrop-filter: blur(6px); }
.demo-modal h2 { margin: .2rem 0; }
.modal-close { position: absolute; right: .65rem; top: .45rem; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 2rem; }
.demo-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 1.2rem 0; }
.demo-reels span { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #3a3a46; border-radius: 13px; background: radial-gradient(circle, #323242, #111118); font-size: 3rem; }
.demo-reels.is-spinning span { animation: reel .42s linear infinite; }
.demo-spin { width: 100%; min-height: 48px; margin-bottom: .65rem; border: 0; border-radius: 10px; color: #fff; background: #30303b; cursor: pointer; font-weight: 900; }
.demo-modal .primary-cta { width: 100%; }
@keyframes reel { 50% { transform: translateY(-5px) rotate(5deg); filter: blur(1px); } }

.site-footer { display: grid; grid-template-columns: auto 1fr; gap: .8rem 2rem; padding: 3rem clamp(1rem, 4vw, 4.5rem); border-top: 1px solid var(--line); background: #121218; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer nav { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.site-footer nav a { font-weight: 750; }
.footer-note { grid-column: 2; font-size: .82rem; }

@media (max-width: 1260px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .product-nav { justify-content: flex-start; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 118px; }
  .site-header { grid-template-columns: 1fr auto; gap: .55rem; padding: .55rem .75rem; }
  .brand { font-size: 1.35rem; }
  .brand-n1 { min-width: 43px; height: 28px; font-size: 1.05rem; }
  .header-cta { min-height: 45px; padding: .65rem .9rem; }
  .product-nav { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .product-nav a { min-height: 36px; padding: 0 .68rem; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; min-height: 650px; margin: .75rem; align-items: end; }
  .hero::after { background: linear-gradient(0deg, #090a10 0%, #090a10e8 45%, transparent 85%); }
  .hero-visual { background-position: 66% center; }
  .hero-copy { padding: 1.25rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.35rem, 11vw, 4rem); }
  .hero-actions a { flex: 1 1 200px; }
  .category-rail { margin: 0 .75rem 1.5rem; }
  .feature-band, .fact-grid { grid-template-columns: 1fr; }
  .inner-hero { min-height: 480px; margin: .75rem; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-section { width: calc(100% - 1.5rem); }
  .section-heading > span { display: none; }
  .article-shell { width: calc(100% - 1.5rem); }
  .article-card { border-radius: 15px; }
  .data-table { display: block; overflow-x: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav, .footer-note { grid-column: 1; }
}

@media (hover: none) {
  .game-overlay { position: absolute; inset: auto .45rem .45rem; display: grid; grid-template-columns: 1fr; gap: .35rem; padding: 0; opacity: 1; background: none; transform: none; }
  .game-overlay button { display: none; }
  .game-overlay a { min-height: 34px; font-size: .67rem; box-shadow: 0 4px 18px #0009; }
  .game-overlay a span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
