:root{
  --bg:#ecf7f5;
  --band:#e4f3ef;
  --line:#cfe5df;
  --navy:#14345c;
  --text:#3f5a75;
  --muted:#5b7186;
  --blue:#2f8bdc;
  --coral:#f4645e;
  --teal:#22a08a;
  --yellow:#f7c948;
  --felt:#1d7a4d;
  --felt-dark:#125c3a;
  --wood:#7b4b2a;
  --panel:#15303f;
  --wrap:780px;
  --r:16px;
  --shadow:0 6px 18px rgba(20,52,92,.08);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 Inter,system-ui,sans-serif}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
ul{margin:0;padding:0;list-style:none}
svg{display:block}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.skip-link{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.7rem 1rem;z-index:99}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.h2{margin:0;font-weight:800;font-size:1.4rem;line-height:1.2;color:var(--navy);text-transform:uppercase;letter-spacing:-.01em}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* script tags */
.script{font-family:Caveat,cursive;font-weight:700;color:var(--teal);line-height:.95;font-size:1.5rem;position:relative;display:inline-block;transform:rotate(-8deg)}
.script__swoosh{width:64px;height:12px;margin-top:2px}

/* ===== header ===== */
.header{background:var(--band);position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line)}
.header__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
.logo{height:66px;display:flex;align-items:center}
.logo img{height:58px;width:auto;margin-left:-10px}
.menu-btn{width:44px;height:44px;display:grid;place-items:center;color:var(--navy);border-radius:50%;transition:background .15s}
.menu-btn:hover{background:rgba(20,52,92,.06)}

/* ===== menu ===== */
.menu{width:100%;order:3;max-height:calc(100vh - 66px);overflow-y:auto}
.menu__list li a{display:flex;align-items:center;gap:22px;height:56px;border-top:1px solid var(--line);color:var(--navy);font-weight:700;text-transform:uppercase;letter-spacing:.02em;font-size:1rem;transition:background .15s}
.menu__list li a:hover{background:rgba(20,52,92,.05)}
.menu__icon{width:32px;height:32px;color:var(--blue);flex:none}
.menu__list li a span{flex:1}
.menu__chev{width:20px;height:20px;color:var(--navy)}
.new-game{display:flex;align-items:center;justify-content:center;gap:12px;height:56px;margin:20px 0 14px;border-radius:12px;background:var(--coral);color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.04em;font-size:1.1rem;transition:filter .15s}
.new-game:hover{filter:brightness(1.05)}

/* ===== hero ===== */
.hero{position:relative;overflow:hidden;padding:34px 0 0;background:linear-gradient(180deg,#eaf5f7 0%,#e9f6f3 100%)}
.hero__leaf{position:absolute;width:150px;height:200px;color:#bfe8e0;opacity:.55;pointer-events:none}
.hero__leaf--l{left:-52px;top:20px;transform:rotate(-24deg)}
.hero__leaf--r{right:-52px;top:60px;transform:rotate(22deg) scaleX(-1)}
.hero__head{position:relative;text-align:center}
.hero__title{margin:0;font-weight:800;font-size:clamp(1.6rem,5.2vw,2.35rem);line-height:1.1;color:var(--navy);text-transform:uppercase;letter-spacing:-.01em}
.hero__sub{margin:10px 0 0;font-weight:700;font-size:1.15rem;color:var(--navy)}
.hero__desc{margin:4px 0 0;color:var(--muted);font-size:.98rem}
.script--hero{position:absolute;right:8px;top:-4px;text-align:left;font-size:1.35rem}
.script--hero .script__swoosh{position:absolute;left:0;bottom:-12px}

.stage{position:relative;margin-top:14px}
.table{width:130%;margin-left:-15%;padding-bottom:calc(130% * .58);position:relative}
.table__felt{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse at 50% 30%,#268a57 0%,var(--felt) 45%,var(--felt-dark) 100%);border:14px solid var(--wood);box-shadow:inset 0 0 0 3px #4d2d17,0 20px 40px rgba(0,0,0,.18)}
.table__palm{position:absolute;width:150px;height:175px;color:rgba(0,0,0,.18)}
.table__palm--l{left:10%;bottom:18%;transform:rotate(-10deg)}
.table__palm--r{right:10%;bottom:18%;transform:rotate(12deg) scaleX(-1)}
.table__mark{position:absolute;left:50%;top:9%;width:260px;transform:translateX(-50%)}
.fullscreen{position:absolute;right:20%;top:13%;display:flex;align-items:center;gap:10px;height:42px;padding:0 18px;border-radius:999px;background:#0e3f4a;border:2px solid #9fe3d9;color:#fff;font-weight:700;font-size:.9rem;text-transform:uppercase;letter-spacing:.03em;transition:background .15s}
.fullscreen:hover{background:#155562}
.fullscreen svg{width:18px;height:18px}

.table__cards{position:absolute;left:50%;top:32%;transform:translateX(-50%);display:flex;gap:48px;align-items:flex-start}
.group{display:flex;flex-direction:column;align-items:center;gap:8px}
.group__label{color:#fff;font-size:.82rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em}
.group__hand{display:flex;gap:10px}
.card{width:76px;height:104px;border-radius:9px;position:relative;box-shadow:0 6px 14px rgba(0,0,0,.35)}
.card--face{background:#fff;border:1px solid #d5dee6}
.card--black{color:#14345c}
.card--red{color:#e02a2a}
.card__corner{position:absolute;left:8px;top:6px;font-weight:800;font-size:1.35rem;line-height:1;display:flex;flex-direction:column;align-items:center}
.card__corner i{font-style:normal;font-size:.95rem;line-height:1;margin-top:1px}
.card__suit{position:absolute;right:8px;bottom:2px;font-size:3.2rem;line-height:1}
.card--back{border:4px solid #fff;background-color:#2b62d3;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.22) 0 2px,transparent 2px 10px),repeating-linear-gradient(-45deg,rgba(255,255,255,.22) 0 2px,transparent 2px 10px);transition:transform .35s}
.card--back.is-open{background:#fff;color:#14345c;border-color:#d5dee6}
.card--back.is-open::before{content:attr(data-rank);position:absolute;left:8px;top:6px;font-weight:800;font-size:1.35rem}
.card--back.is-open::after{content:attr(data-suit);position:absolute;right:8px;bottom:2px;font-size:3.2rem;line-height:1}
.card--back.is-open[data-suit="♦"],.card--back.is-open[data-suit="♥"]{color:#e02a2a}

.table__bets{position:absolute;left:50%;top:63%;transform:translateX(-50%);display:flex;gap:38px}
.spot{width:118px;height:118px;border-radius:50%;border:2px dashed rgba(255,255,255,.55);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.spot__label{color:#fff;font-size:.82rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em}
.spot__label sup{font-size:.6em;text-transform:lowercase}

.chip{--c:#2fa55a;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.1rem;text-shadow:0 1px 2px rgba(0,0,0,.35);background:repeating-conic-gradient(var(--c) 0 32deg,#fff 32deg 60deg);box-shadow:0 5px 0 color-mix(in srgb,var(--c) 70%,#000),0 8px 12px rgba(0,0,0,.35);position:relative;isolation:isolate}
.chip::before{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--c);border:2px solid rgba(255,255,255,.7);z-index:-1}
.chip--green{--c:#2fa55a}
.chip--blue{--c:#2f6fde}
.chip--red{--c:#e23b3b}
.chip--sm{width:46px;height:46px;font-size:.85rem;box-shadow:0 3px 0 color-mix(in srgb,var(--c) 70%,#000),0 5px 8px rgba(0,0,0,.25)}
.chip--sm::before{inset:7px}

.panel{position:relative;z-index:2;margin-top:-64px;background:var(--panel);border-radius:18px;padding:14px 16px;display:flex;align-items:center;gap:18px;box-shadow:0 14px 30px rgba(0,0,0,.25)}
.panel__balance{display:flex;align-items:center;gap:10px;padding-right:18px;border-right:1px solid rgba(255,255,255,.15)}
.panel__coins{width:30px;height:30px}
.panel__meta{display:block;color:#a7b8c6;font-size:.72rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em}
.panel__value{display:block;color:#fff;font-weight:800;font-size:1.35rem;line-height:1.1}
.stepper{display:flex;align-items:center;gap:8px;margin-top:2px}
.stepper button{width:32px;height:32px;border-radius:50%;background:#3c5263;color:#fff;font-weight:800;font-size:1.1rem;display:grid;place-items:center;transition:background .15s}
.stepper button:hover{background:#4f6a7d}
.stepper span{color:#fff;font-weight:700;font-size:1.05rem;min-width:36px;text-align:center}
.panel__actions{display:flex;gap:10px;margin-left:auto}
.act{height:54px;padding:0 20px;border-radius:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;font-size:.95rem;transition:filter .15s,transform .1s}
.act:hover{filter:brightness(1.06)}
.act:active{transform:translateY(1px)}
.act--ride{background:#a8ecd9;color:var(--navy)}
.act--pull{background:#f6d544;color:var(--navy)}
.act--deal{background:var(--coral);color:#fff;font-size:1.25rem;padding:0 34px}

/* ===== how ===== */
.how{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding-top:40px;padding-bottom:18px}
.how__icon{width:70px;height:70px;border-radius:50%;background:#c9efe6;display:grid;place-items:center;color:var(--teal)}
.how__icon svg{width:36px;height:36px}
.how__text p{margin:8px 0 0;color:var(--muted);font-size:.98rem;max-width:36ch}
.how__art{display:flex;align-items:center;gap:6px}
.how__art img{width:150px;height:112px;object-fit:cover;border-radius:12px;box-shadow:var(--shadow)}
.script--how{font-size:1.3rem;text-align:left}
.script--how .script__swoosh{position:absolute;left:0;bottom:-12px}

/* ===== tiles ===== */
.grid{display:grid;gap:16px;margin-top:16px}
.grid--2{grid-template-columns:1fr 1fr}
.tile--faq{grid-column:1/-1}
.tile{display:flex;align-items:center;gap:16px;padding:18px 16px;border-radius:var(--r);min-height:96px;transition:transform .15s,box-shadow .15s}
.tile:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.tile--blue{background:#dcecfb}
.tile--gold{background:#fcf3d8}
.tile--sky{background:#daebf8}
.tile--grey{background:#e6eff2}
.tile__icon{width:66px;height:66px;border-radius:50%;background:#bcdaf5;display:grid;place-items:center;color:var(--blue);flex:none;overflow:hidden}
.tile__icon svg{width:34px;height:34px}
.tile--gold .tile__icon{background:#f8e6a4;color:#e0a416}
.tile__icon--img img{width:100%;height:100%;object-fit:cover;transform:scale(1.35)}
.tile__icon--purple{background:#dccdf5;color:#7c48d6}
.tile__body{flex:1;display:flex;flex-direction:column;gap:3px}
.tile__body strong{color:var(--navy);font-weight:800;font-size:1.15rem;text-transform:uppercase}
.tile__body span{color:var(--muted);font-size:.95rem;line-height:1.35}
.tile__chev{width:22px;height:22px;color:var(--navy);flex:none}

/* ===== guides ===== */
.guides{margin-top:34px}
.guides__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.see-all{display:flex;align-items:center;gap:4px;color:var(--blue);font-weight:600;min-height:44px;white-space:nowrap;flex:none}
.see-all svg{width:18px;height:18px}
.guides__track{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.guide{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;transition:transform .15s}
.guide:hover{transform:translateY(-2px)}
.guide__thumb{grid-column:1/-1;height:112px;display:grid;place-items:center;overflow:hidden}
.guide__thumb--mint{background:#dcefec}
.guide__thumb--rose{background:#f7e5e3}
.guide__thumb img{width:100%;height:100%;object-fit:cover}
.stack{display:flex;align-items:flex-end}
.stack .chip--sm+.chip--sm{margin-left:-12px}
.guide__title{padding:14px 6px 16px 16px;color:var(--navy);font-weight:700;font-size:1.02rem;line-height:1.3}
.guide__chev{width:20px;height:20px;color:var(--blue);align-self:center;margin-right:14px}
.dots{display:flex;justify-content:center;gap:9px;margin-top:18px}
.dots button{width:10px;height:10px;border-radius:50%;background:#c9d8e0;transition:background .15s}
.dots button.is-active{background:var(--blue)}

/* ===== footer ===== */
.footer{margin-top:36px}
.footer__band{background:#dbf0eb;padding:26px 0 18px}
.footer__brand{display:flex;align-items:center;justify-content:space-between;gap:16px}
.footer__logo img{height:66px;width:auto}
.footer__logo p{margin:6px 0 0 118px;color:var(--muted);font-size:1rem;letter-spacing:.01em}
.footer__art{display:flex;align-items:center;gap:8px}
.script--footer{font-size:1.6rem;text-align:left}
.script--footer .script__swoosh{position:absolute;left:10px;bottom:-14px;width:90px}
.footer__palm{width:96px;height:120px;color:var(--teal)}
.footer__links{padding:22px 20px 18px}
.footer__links nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0}
.footer__links nav a{position:relative;padding:8px 16px;color:var(--navy);font-weight:700;text-transform:uppercase;font-size:.9rem;letter-spacing:.03em}
.footer__links nav a+a::before{content:"";position:absolute;left:0;top:50%;height:16px;width:1px;background:var(--navy);transform:translateY(-50%)}
.footer__social{display:flex;justify-content:center;gap:12px;margin:14px 0 22px}
.footer__social a{width:32px;height:32px;color:var(--navy);display:block;transition:opacity .15s}
.footer__social a:hover{opacity:.75}
.footer__social svg{width:100%;height:100%}
.footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--text);font-size:.9rem}
.footer__legal a{position:relative;padding:0 10px;color:var(--navy)}
.footer__legal a:last-child{padding-right:0}
.footer__legal a+a::before{content:"|";position:absolute;left:-3px;color:var(--navy)}

/* ===== responsive ===== */
@media (max-width:720px){
  .hero{padding-top:26px}
  .script--hero{font-size:1.15rem;right:2px;top:-10px}
  .hero__title{max-width:78%;margin:0 auto}
  .table{width:150%;margin-left:-25%;padding-bottom:calc(150% * .62)}
  .table__mark{width:200px;top:8%}
  .table__palm{width:100px;height:120px}
  .fullscreen{right:22%;top:11%;height:36px;padding:0 12px;font-size:.78rem}
  .table__cards{gap:22px;top:30%}
  .card{width:58px;height:80px;border-radius:7px}
  .card__corner{font-size:1.05rem;left:6px;top:5px}
  .card__suit{font-size:2.4rem;right:6px}
  .card--back.is-open::before{font-size:1.05rem;left:6px;top:5px}
  .card--back.is-open::after{font-size:2.4rem;right:6px}
  .group__label,.spot__label{font-size:.72rem}
  .group__hand{gap:6px}
  .table__bets{gap:14px;top:62%}
  .spot{width:92px;height:92px}
  .chip{width:50px;height:50px;font-size:.95rem}
  .chip::before{inset:7px}
  .panel{flex-wrap:wrap;margin-top:-40px;gap:12px}
  .panel__balance{padding-right:12px}
  .panel__actions{width:100%;margin-left:0}
  .act{flex:1;padding:0 8px}
  .act--deal{padding:0 8px;font-size:1.05rem}
  .how{grid-template-columns:auto 1fr;padding-top:30px}
  .how__art{grid-column:1/-1;justify-self:end}
  .grid--2{grid-template-columns:1fr}
  .guides__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:4px 20px 8px;scrollbar-width:none}
  .guides__track::-webkit-scrollbar{display:none}
  .guide{flex:0 0 72%;scroll-snap-align:start}
  .footer__brand{flex-direction:column;align-items:flex-start;gap:20px}
  .footer__logo p{margin-left:0}
  .footer__art{align-self:flex-end}
  .footer__bottom{flex-direction:column;align-items:center;text-align:center}
  .footer__links nav{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;gap:4px 8px}
  .footer__links nav a+a::before{display:none}
  .footer__links nav a{text-align:center;padding:8px 10px}
  .guides__head .h2{font-size:1.2rem}
}
@media (max-width:420px){
  .table__cards{gap:14px}
  .card{width:50px;height:70px}
  .card__suit{font-size:2rem}
  .card--back.is-open::after{font-size:2rem}
  .table__bets{gap:8px}
  .spot{width:84px;height:84px}
  .chip{width:44px;height:44px;font-size:.85rem}
  .fullscreen span{display:none}
  .fullscreen{padding:0 10px}
  .act{font-size:.8rem;padding:0 4px;white-space:nowrap}
  .act--deal{font-size:1rem}
}

/* ===== desktop ===== */
@media (min-width:900px){
  :root{--wrap:1200px}
  .header{position:sticky;top:0;box-shadow:0 2px 12px rgba(20,52,92,.06)}
  .header__inner{flex-wrap:nowrap;gap:24px;height:78px}
  .logo{height:auto}
  .logo img{height:60px}
  .menu-btn{display:none}
  .menu{width:auto;order:0;flex:1;display:flex;align-items:center;justify-content:flex-end;gap:6px}
  .menu[hidden]{display:flex}
  .menu__list{display:flex;gap:2px}
  .menu__list li a{height:44px;border-top:0;padding:0 12px;border-radius:10px;gap:8px;font-size:.86rem;letter-spacing:.03em}
  .menu__icon{width:22px;height:22px}
  .menu__chev{display:none}
  .new-game{height:44px;margin:0 0 0 14px;padding:0 22px;font-size:.92rem;border-radius:10px;gap:8px}
  .new-game svg{width:16px;height:16px}

  .hero{padding-top:56px}
  .hero__leaf{width:260px;height:340px;opacity:.5}
  .hero__leaf--l{left:-40px;top:-10px}
  .hero__leaf--r{right:-40px;top:40px}
  .hero__title{font-size:3rem}
  .hero__sub{font-size:1.3rem;margin-top:14px}
  .hero__desc{font-size:1.05rem}
  .script--hero{right:60px;top:-6px;font-size:1.7rem}
  .script--hero .script__swoosh{width:80px}

  .stage{margin-top:28px}
  .table{width:100%;max-width:1060px;margin:0 auto;padding-bottom:min(54%,570px)}
  .table__felt{border-width:16px}
  .table__palm{width:190px;height:220px}
  .table__palm--l{left:5%;bottom:16%}
  .table__palm--r{right:5%;bottom:16%}
  .table__mark{width:340px;top:8%}
  .fullscreen{right:7%;top:11%}
  .table__cards{gap:80px;top:29%}
  .group__label,.spot__label{font-size:.9rem}
  .group__hand{gap:12px}
  .card{width:94px;height:128px;border-radius:10px}
  .card__corner{font-size:1.65rem;left:10px;top:8px}
  .card__corner i{font-size:1.1rem}
  .card__suit{font-size:4rem;right:10px}
  .card--back.is-open::before{font-size:1.65rem;left:10px;top:8px}
  .card--back.is-open::after{font-size:4rem;right:10px}
  .table__bets{gap:64px;top:61%}
  .spot{width:140px;height:140px}
  .chip{width:72px;height:72px;font-size:1.25rem}
  .chip::before{inset:10px}
  .panel{max-width:1060px;margin:-72px auto 0;padding:18px 26px;gap:26px}
  .panel__value{font-size:1.5rem}
  .act{height:58px;padding:0 26px;font-size:1rem}
  .act--deal{padding:0 44px;font-size:1.35rem}

  .how{grid-template-columns:auto 1fr auto;padding-top:56px;padding-bottom:24px;gap:24px}
  .how__icon{width:84px;height:84px}
  .how__icon svg{width:42px;height:42px}
  .how__text .h2{font-size:1.7rem}
  .how__text p{font-size:1.08rem;max-width:52ch}
  .how__art img{width:190px;height:140px}
  .script--how{font-size:1.5rem}

  .grid{gap:22px;margin-top:22px}
  .tile{padding:24px 22px;min-height:112px;gap:20px}
  .tile__icon{width:72px;height:72px}
  .tile__body strong{font-size:1.25rem}
  .tile__body span{font-size:1rem}
  .grid--learn{grid-template-columns:repeat(3,1fr)}
  .tile--faq{grid-column:auto}

  .guides{margin-top:48px}
  .guides__head .h2{font-size:1.7rem}
  .see-all{font-size:1.05rem}
  .guides__track{gap:24px}
  .guide__thumb{height:150px}
  .guide__title{font-size:1.12rem;padding:18px 8px 20px 20px}
  .dots{margin-top:22px}

  .footer{margin-top:56px}
  .footer__band{padding:34px 0 26px}
  .footer__logo img{height:78px}
  .footer__logo p{margin-left:140px;font-size:1.05rem}
  .script--footer{font-size:1.9rem}
  .footer__palm{width:112px;height:140px}
  .footer__links{padding:28px 20px 22px}
  .footer__links nav a{font-size:.95rem;padding:8px 20px}
}
