
:root{
  --ink:#0f172a; --muted:#64748b; --line:rgba(15,23,42,.10); --bg:#f8fafc; --card:#fff;
  --blue:#2563eb; --blue2:#1d4ed8; --purple:#7c3aed; --gold:#d6a63a; --green:#16a34a; --soft:#eef4ff;
  --radius:28px; --shadow:0 24px 70px rgba(15,23,42,.12);
}
*{box-sizing:border-box} html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;font-family:Arial,"Helvetica Neue",sans-serif;color:var(--ink);background:radial-gradient(circle at 90% 0,rgba(37,99,235,.13),transparent 32%),radial-gradient(circle at 10% 32%,rgba(124,58,237,.08),transparent 30%),linear-gradient(180deg,#f8fafc,#fff 58%,#f8fafc);line-height:1.72;overflow-x:hidden}
a{text-decoration:none;color:inherit} img{max-width:100%;display:block} .container{width:min(1180px,calc(100% - 48px));margin:auto}
.header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-inner{min-height:72px;display:flex;align-items:center;gap:18px}.logo{display:flex;align-items:center;gap:10px;font-weight:900;min-width:0}.logo img{width:42px;height:42px;border-radius:13px;object-fit:cover}.logo span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{margin-left:auto;display:flex;gap:7px;align-items:center;white-space:nowrap}.nav a{min-height:38px;display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;color:#334155;font-size:14px;font-weight:700}.nav a:hover,.nav a.active{background:rgba(37,99,235,.09);color:var(--blue)}
.menu-toggle{display:none;margin-left:auto;width:46px;height:40px;border:0;border-radius:14px;background:var(--blue);color:#fff;font-size:0}.menu-toggle:before{content:'☰';font-size:21px;font-weight:900}.btn{min-height:48px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-weight:900;border:0;box-shadow:0 14px 30px rgba(37,99,235,.20);cursor:pointer}.btn.secondary{background:#fff;color:#1f2937;border:1px solid var(--line);box-shadow:none}.btn.safe{background:var(--green)}
.eyebrow,.tag{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:30px;padding:4px 12px;border-radius:999px;background:rgba(37,99,235,.09);border:1px solid rgba(37,99,235,.16);color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.02em}
.hero{padding:34px 0 24px}.hero-system{position:relative;border-radius:38px;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.75);box-shadow:var(--shadow);min-height:560px}.hero-bg{position:absolute;inset:0}.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,250,252,.98),rgba(248,250,252,.88) 43%,rgba(248,250,252,.30) 66%,rgba(248,250,252,.08))}.hero-content{position:relative;z-index:3;width:min(560px,52%);padding:58px 0 58px 58px}.hero h1{font-size:clamp(38px,4vw,62px);line-height:1.06;margin:14px 0 14px;letter-spacing:-.045em}.hero p{color:#475569;font-size:18px;max-width:520px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hero-note{margin-top:24px;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.72);border:1px solid var(--line);color:#475569;font-size:14px}
.intent-bar{margin-top:18px;background:#0f172a;color:#fff;border-radius:28px;padding:18px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;box-shadow:var(--shadow)}.intent-bar a{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:10px;border-radius:20px}.intent-bar a:hover{background:rgba(255,255,255,.08)}.intent-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--blue);font-weight:900}.intent-bar b,.intent-bar small{display:block}.intent-bar small{color:#cbd5e1;line-height:1.35}
.section{padding:38px 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.section-head h2{font-size:34px;line-height:1.16;margin:8px 0 0;letter-spacing:-.025em}.section-head p{margin:8px 0 0;color:var(--muted);max-width:720px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel,.card,.article-card,.info-card,.demo-shell,.faq details{background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.timeline{display:grid;gap:12px}.step{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:16px;border-radius:22px;background:#fff;border:1px solid var(--line)}.step:before{content:attr(data-step);width:48px;height:48px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.step b,.step span{display:block}.step span{color:var(--muted)}
.demo-lab{display:grid;grid-template-columns:270px minmax(0,1fr) 300px;gap:18px;align-items:start}.demo-side,.demo-history,.demo-machine{padding:18px}.demo-machine{background:linear-gradient(135deg,#111827,#1e1b4b);border-radius:32px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.18)}.reels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:rgba(255,255,255,.09);padding:14px;border-radius:24px}.reel{display:grid;gap:9px;background:#fff;border-radius:18px;padding:9px}.symbol{height:88px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid var(--line)}.symbol img{width:64px;height:64px;object-fit:contain}.reels.spinning .symbol{animation:spinPulse .5s linear infinite}@keyframes spinPulse{0%{transform:translateY(-4px);filter:blur(1px)}50%{transform:translateY(4px)}100%{transform:translateY(-4px);filter:blur(1px)}}.demo-status{margin-top:12px;padding:12px 14px;border-radius:18px;background:#fff;color:#1f2937;font-weight:800;min-height:54px}.balance{font-size:40px;font-weight:900;color:var(--blue);line-height:1}.bet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.bet-grid button,.demo-btn{min-height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;font-weight:900;color:#1f2937;cursor:pointer}.bet-grid button.active{background:var(--blue);color:#fff}.demo-actions{display:grid;gap:9px}.demo-actions .spin{min-height:58px;background:var(--blue);color:#fff}.history{display:grid;gap:8px;max-height:318px;overflow:auto}.history-item{padding:9px;border-radius:14px;background:#f8fafc;border:1px solid var(--line);font-size:13px}.notice{font-size:13px;color:var(--muted)}
.rules-board{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.rule-card{padding:18px;border-radius:22px;background:#fff;border:1px solid var(--line)}.rule-card img{width:52px;height:52px;object-fit:contain;margin-bottom:10px}.rule-card p{font-size:14px;color:var(--muted);margin:6px 0 0}.safety-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:20px}.myth-list{display:grid;gap:10px}.myth{padding:14px;border-radius:18px;background:#fff;border:1px solid var(--line)}.myth b,.myth span{display:block}.myth span{color:var(--muted);font-size:14px}.article-card{overflow:hidden;display:flex;flex-direction:column;height:auto}.article-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.card-body{padding:17px;display:flex;flex-direction:column;flex:1}.meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:#64748b;font-size:13px}.card-body h3{line-height:1.35;margin:8px 0;font-size:19px}.card-body p{color:var(--muted);font-size:14px;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.readmore{margin-top:auto;color:var(--blue);font-weight:900}.page-hero{padding:30px 0 20px}.page-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:center}.page-title{font-size:clamp(34px,4vw,54px);line-height:1.1;margin:12px 0;letter-spacing:-.035em}.page-lead{font-size:18px;color:#475569}.page-cover img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:32px;box-shadow:var(--shadow);border:1px solid var(--line)}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.article-main,.page-main{background:#fff;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.article-main h1{font-size:clamp(32px,3.4vw,48px);line-height:1.12;margin:10px 0 14px}.article-main h2,.page-main h2{font-size:28px;line-height:1.22;margin-top:34px}.article-main p,.page-main p{color:#334155}.lead{font-size:18px;border-left:4px solid var(--blue);padding-left:14px;color:#334155}.cover{border-radius:24px;aspect-ratio:16/9;object-fit:cover;width:100%;margin:18px 0}.sidebar{position:sticky;top:92px;display:grid;gap:14px}.sidebar .panel{padding:18px}.related-list{display:grid;gap:10px}.related-list a{display:grid;grid-template-columns:82px 1fr;gap:10px;align-items:center}.related-list img{width:82px;height:58px;object-fit:cover;border-radius:12px}.faq{display:grid;gap:10px}.faq details{padding:14px 16px;box-shadow:none}.faq summary{font-weight:900;cursor:pointer}.risk-note{border-radius:22px;border:1px solid rgba(214,166,58,.28);background:#fff7ed;padding:18px;color:#593a0a}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left}th{background:#f8fafc}.pagination{display:flex;justify-content:center;gap:8px;margin:28px 0}.pagination a,.pagination span{padding:9px 14px;border-radius:14px;background:#fff;border:1px solid var(--line)}.footer{margin-top:40px;background:#0f172a;color:#e2e8f0}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:24px;padding:38px 0}.footer a{display:block;color:#cbd5e1;margin:6px 0}.copyright{border-top:1px solid rgba(255,255,255,.12);padding:14px 0;color:#94a3b8;font-size:13px}
@media(max-width:980px){.nav{display:none}.menu-toggle{display:flex;align-items:center;justify-content:center}.nav.open{display:flex;position:fixed;top:70px;left:12px;right:12px;flex-direction:column;align-items:stretch;background:#fff;padding:12px;border-radius:22px;box-shadow:var(--shadow);border:1px solid var(--line)}.nav.open a{background:#f8fafc}.hero-system{min-height:auto}.hero-bg{position:relative}.hero-bg img{aspect-ratio:16/10;height:auto}.hero-shade{display:none}.hero-content{width:auto;padding:22px}.hero h1{font-size:32px}.intent-bar,.demo-lab,.grid-3,.grid-4,.grid-2,.page-hero-grid,.content-layout,.safety-grid,.footer-grid{grid-template-columns:1fr}.intent-bar{gap:6px}.rules-board{grid-template-columns:repeat(2,1fr)}.sidebar{position:relative;top:auto}.section-head{display:block}.demo-machine,.demo-side,.demo-history{padding:14px}.symbol{height:74px}.footer-grid{gap:8px}}
@media(max-width:600px){.container{width:calc(100% - 24px)}.header-inner{min-height:60px}.logo img{width:38px;height:38px}.logo span{font-size:15px}.hero{padding:16px 0}.hero-content{padding:18px}.hero h1{font-size:28px}.hero p,.page-lead{font-size:15.5px}.hero-actions{display:grid;grid-template-columns:1fr}.btn{width:100%;min-height:46px}.intent-bar{padding:12px;grid-template-columns:1fr}.rules-board{grid-template-columns:1fr}.article-main,.page-main{padding:18px}.page-title{font-size:30px}.page-cover img{aspect-ratio:16/10}.bet-grid{grid-template-columns:repeat(4,1fr)}.demo-actions{grid-template-columns:1fr 1fr}.demo-actions .spin{grid-column:1/-1}.footer-grid{grid-template-columns:1fr}}



/* STEP 5 FINAL VISUAL + MOBILE + SEO READABILITY PATCH */
.hero-system{
  background:#fff;
}
.hero-bg img{
  opacity:1;
  filter:saturate(.92) contrast(.98);
}
.hero-shade{
  background:linear-gradient(90deg,rgba(248,250,252,.97) 0%,rgba(248,250,252,.86) 38%,rgba(248,250,252,.38) 58%,rgba(248,250,252,.04) 78%) !important;
}
.hero-content,
.page-hero-grid > div,
.article-main,
.page-main{
  min-width:0;
}
.hero h1,
.page-title,
.article-main h1{
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.seo-deepening{
  margin-top:26px;
  padding:20px;
  border-radius:24px;
  background:linear-gradient(135deg,#f8fafc,#eef4ff);
  border:1px solid rgba(37,99,235,.12);
}
.seo-deepening h2:first-child{
  margin-top:0;
}
.seo-deepening ul{
  padding-left:20px;
}
.article-main p,
.page-main p,
.article-main li,
.page-main li{
  line-height:1.75;
}
.article-card{
  display:flex;
  flex-direction:column;
  height:auto;
}
.article-card img{
  aspect-ratio:16/9;
  object-fit:cover;
}
.article-card .card-body{
  display:flex;
  flex-direction:column;
  min-height:220px;
}
.article-card .readmore{
  margin-top:auto;
}
.demo-actions button,
.bet-grid button,
.js-claim,
.js-reset,
.js-max,
.js-auto,
.js-spin{
  touch-action:manipulation;
}
@media(max-width:980px){
  .page-hero-grid,
  .demo-lab,
  .content-layout,
  .safety-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .hero-system{
    border-radius:28px;
    overflow:hidden;
  }
  .hero-bg{
    position:relative !important;
    inset:auto !important;
  }
  .hero-bg img{
    width:100%;
    height:auto !important;
    aspect-ratio:16/10;
    object-fit:cover;
    object-position:center;
  }
  .hero-shade{
    display:none !important;
  }
  .hero-content{
    width:100% !important;
    max-width:none !important;
    padding:24px !important;
    background:#fff;
  }
  .hero h1{
    font-size:32px !important;
    line-height:1.12 !important;
    max-width:100%;
  }
  .page-title{
    font-size:34px !important;
    line-height:1.16 !important;
  }
  .page-cover img{
    aspect-ratio:16/9;
  }
  .intent-bar{
    grid-template-columns:1fr 1fr !important;
  }
  .demo-lab{
    gap:14px;
  }
}
@media(max-width:600px){
  body{font-size:15.5px}
  .container{width:calc(100% - 24px) !important}
  .header-inner{min-height:60px}
  .nav.open{top:64px}
  .hero{padding:14px 0 18px}
  .hero-content{padding:18px !important}
  .hero h1{
    font-size:26px !important;
    line-height:1.16 !important;
    letter-spacing:-.025em;
  }
  .page-title{
    font-size:26px !important;
    line-height:1.18 !important;
    letter-spacing:-.02em;
  }
  .hero p,
  .page-lead{
    font-size:15px !important;
    line-height:1.6;
  }
  .hero-actions,
  .demo-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .btn{
    width:100%;
    min-height:46px;
  }
  .intent-bar{
    grid-template-columns:1fr !important;
    padding:12px;
    border-radius:22px;
  }
  .intent-bar a{
    grid-template-columns:40px 1fr;
    padding:9px;
  }
  .intent-icon{
    width:40px;
    height:40px;
  }
  .section{padding:26px 0}
  .section-head h2{
    font-size:25px;
    line-height:1.22;
  }
  .panel,
  .card,
  .article-main,
  .page-main,
  .demo-shell,
  .faq details{
    border-radius:22px;
  }
  .article-main,
  .page-main{
    padding:18px;
  }
  .article-main h1{
    font-size:26px !important;
    line-height:1.2;
  }
  .article-main h2,
  .page-main h2{
    font-size:21px;
  }
  .cover{
    border-radius:18px;
  }
  .bet-grid{
    grid-template-columns:repeat(4,1fr) !important;
    gap:8px;
  }
  .bet-grid button{
    min-height:44px;
    padding:0 4px;
  }
  .demo-actions .spin{
    grid-column:1 / -1;
    min-height:52px;
  }
  .reels{
    gap:7px;
    padding:9px;
  }
  .reel{
    gap:7px;
    padding:7px;
  }
  .symbol{
    height:66px !important;
  }
  .symbol img{
    width:48px !important;
    height:48px !important;
  }
  .balance{
    font-size:34px !important;
  }
  .related-list a{
    grid-template-columns:72px 1fr !important;
  }
  .related-list img{
    width:72px !important;
    height:54px !important;
  }
  .seo-deepening{
    padding:16px;
    border-radius:20px;
  }
}
@media(max-width:380px){
  .logo span{max-width:190px}
  .bet-grid{grid-template-columns:repeat(3,1fr) !important}
}



/* STEP 5 HERO VISUAL LAYOUT FIX - image rendered as real right-side panel */
@media(min-width:981px){
  .hero-system{
    display:grid !important;
    grid-template-columns:minmax(0,0.86fr) minmax(440px,1.14fr) !important;
    align-items:stretch !important;
    min-height:540px !important;
  }
  .hero-bg{
    position:relative !important;
    inset:auto !important;
    grid-column:2 !important;
    grid-row:1 !important;
    min-height:540px !important;
    overflow:hidden !important;
  }
  .hero-bg img{
    width:100% !important;
    height:100% !important;
    min-height:540px !important;
    object-fit:cover !important;
    object-position:center right !important;
  }
  .hero-shade{
    display:none !important;
  }
  .hero-content{
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
    max-width:none !important;
    padding:58px 40px 58px 58px !important;
    background:linear-gradient(135deg,#fff 0%,#f8fafc 100%) !important;
  }
}



/* STEP 5 HERO VISUAL FORCE - robust image visibility */
.hero-system{
  display:grid;
  grid-template-columns:minmax(0,0.86fr) minmax(440px,1.14fr);
  align-items:stretch;
  min-height:540px;
}
.hero-bg{
  position:relative;
  inset:auto;
  grid-column:2;
  grid-row:1;
  min-height:540px;
  overflow:hidden;
}
.hero-bg img{
  width:100%;
  height:100%;
  min-height:540px;
  object-fit:cover;
  object-position:center right;
}
.hero-shade{
  display:none;
}
.hero-content{
  grid-column:1;
  grid-row:1;
  width:auto;
  max-width:none;
  padding:58px 40px 58px 58px;
  background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);
}
@media(max-width:980px){
  .hero-system{
    display:block !important;
    min-height:0 !important;
  }
  .hero-bg{
    min-height:0 !important;
  }
  .hero-bg img{
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:16/10;
  }
  .hero-content{
    width:100% !important;
    padding:22px !important;
  }
}



/* STEP 5 DEMO CONTROL STABILITY PATCH */
.demo-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.demo-actions .spin{
  grid-column:1 / -1;
}
.demo-btn,
.demo-actions button{
  width:100%;
  min-width:0;
  min-height:46px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
}
@media(max-width:600px){
  .demo-actions{
    grid-template-columns:1fr !important;
  }
  .demo-actions .spin{
    grid-column:1 / -1 !important;
  }
}



/* STEP 5 DEMO ACTIONS FLEX FALLBACK */
.demo-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
}
.demo-actions .demo-btn,
.demo-actions button{
  flex:1 1 180px !important;
  width:auto !important;
}
.demo-actions .spin{
  flex-basis:100% !important;
}
@media(max-width:600px){
  .demo-actions{
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
  }
  .demo-actions .demo-btn,
  .demo-actions button{
    width:100% !important;
    flex:0 0 auto !important;
  }
}



/* STEP 6 COMMERCIAL FINISHING PATCH - accessibility, polish and stability */
:focus-visible{
  outline:3px solid rgba(37,99,235,.55);
  outline-offset:3px;
}
a,button{
  -webkit-tap-highlight-color:rgba(37,99,235,.16);
}
button,
.btn,
.nav a,
.intent-bar a{
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
button:hover,
.btn:hover,
.intent-bar a:hover{
  transform:translateY(-1px);
}
@media(prefers-reduced-motion:reduce){
  *{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }
}
.hero-system{
  isolation:isolate;
}
.hero-bg img,
.page-cover img,
.cover,
.article-card img{
  background:#e5edf8;
}
.section-head.compact{
  margin-bottom:18px;
}
.home-final-faq{
  padding-top:24px;
}
.home-final-faq .container{
  align-items:start;
}
.faq details{
  overflow:hidden;
}
.faq summary{
  min-height:44px;
  display:flex;
  align-items:center;
}
.risk-note strong{
  color:#7c4b08;
}
.card,
.panel,
.article-card,
.rule-card,
.info-card,
.demo-side,
.demo-history{
  overflow:hidden;
}
.article-card h3{
  line-height:1.28;
}
.article-card p{
  line-height:1.62;
}
.footer .logo span{
  color:#fff;
}
@media(min-width:981px){
  .hero-content{
    border-radius:38px 0 0 38px;
  }
  .hero-bg img{
    border-radius:0 38px 38px 0;
  }
}
@media(max-width:980px){
  .hero-system{
    box-shadow:0 18px 52px rgba(15,23,42,.10);
  }
  .hero-bg img{
    border-radius:26px 26px 0 0;
  }
}
@media(max-width:600px){
  .section-head.compact h2{
    font-size:24px;
  }
  .home-final-faq .grid-2{
    gap:12px;
  }
  .article-card .card-body{
    min-height:auto;
  }
  .article-main img,
  .page-main img{
    max-height:260px;
    object-fit:cover;
  }
}
