/* Game Night Circle — Midnight & Gold */
:root{
  --bg:#0e1018; --text:#f6f3ee; --soft:#e4e2dc; --muted:#c9ccd9; --muted2:#9ea3b8;
  --gold:#f5c451; --gold-soft:#ffd77a; --gold-hi:#ffe08a; --ink:#1a1306; --lip:#7a4f0a;
  --gold-grad:linear-gradient(180deg,#fff1c4,#f5c451 55%,#c8861a);
  --pink:#ff4f8b; --pink-soft:#ff8fbd; --mint:#3fd6a0;
  --glass:rgba(255,255,255,.06); --line:rgba(255,255,255,.12);
  --head:'Bricolage Grotesque',system-ui,sans-serif; --body:'Plus Jakarta Sans',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:18px;line-height:1.55;font-weight:500;min-height:100vh;position:relative;overflow-x:clip}
body::before,body::after{content:"";position:fixed;z-index:-1;border-radius:50%;pointer-events:none}
body::before{width:760px;height:760px;right:-320px;top:-300px;background:radial-gradient(circle,rgba(245,196,81,.30),transparent 65%)}
body::after{width:720px;height:720px;left:-340px;bottom:-260px;background:radial-gradient(circle,rgba(255,79,139,.20),rgba(120,110,255,.14) 40%,transparent 68%)}
img{max-width:100%;display:block}
a{color:var(--gold);text-underline-offset:3px}
a:hover{color:var(--gold-hi)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:12px}
h1,h2,h3{font-family:var(--head);font-weight:800;letter-spacing:-.03em;line-height:1.04;margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}
.gold-text{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.kicker{font-size:16px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--gold)}
.lead{font-size:21px;color:var(--muted);line-height:1.45}

/* nav */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-family:var(--head);font-weight:800;font-size:22px;letter-spacing:-.02em;min-height:56px}
.brand:hover{color:var(--text)}
.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--gold-grad);box-shadow:0 3px 0 var(--lip),0 0 20px rgba(245,196,81,.4);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:7px;transform:rotate(-8deg);flex-shrink:0}
.brand-mark i{width:6px;height:6px;border-radius:50%;background:var(--ink);place-self:center}
.brand-mark i:nth-child(1){grid-area:1/1}.brand-mark i:nth-child(2){grid-area:2/2}.brand-mark i:nth-child(3){grid-area:3/3}
.nav-links{display:flex;gap:4px}
.nav-links a{min-height:52px;display:flex;align-items:center;padding:0 16px;border-radius:999px;color:var(--text);text-decoration:none;font-weight:700;font-size:17px}
.nav-links a:hover{background:rgba(255,255,255,.08);color:var(--text)}
.nav-links .hide-sm{display:none}
.back{display:inline-flex;align-items:center;gap:6px;min-height:56px;padding:0 20px 0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:var(--text);text-decoration:none;font-weight:700;font-size:17px}
.back:hover{background:rgba(255,255,255,.12);color:var(--text)}

/* buttons */
.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:0 28px;border-radius:20px;font-family:var(--head);font-weight:800;font-size:21px;letter-spacing:-.01em;text-decoration:none;border:0;cursor:pointer;transition:transform .12s,box-shadow .12s}
.btn-gold{background:var(--gold-grad);color:var(--ink);box-shadow:0 5px 0 var(--lip),0 0 30px rgba(245,196,81,.35)}
.btn-gold:hover{color:var(--ink);box-shadow:0 5px 0 var(--lip),0 0 42px rgba(245,196,81,.55)}
.btn-gold:active{transform:translateY(4px);box-shadow:0 1px 0 var(--lip),0 0 24px rgba(245,196,81,.35)}
.btn-gold.shine::after{content:"";position:absolute;top:0;bottom:0;left:-40%;width:30%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);animation:shine 3.8s ease-in-out infinite}
.btn-glass{background:rgba(255,255,255,.08);color:var(--text);border:1px solid rgba(255,255,255,.18);font-family:var(--body);font-size:18px;font-weight:800}
.btn-glass:hover{background:rgba(255,255,255,.13);color:var(--text)}
.store-soon{display:inline-flex;align-items:center;gap:12px;min-height:64px;padding:8px 22px 8px 16px;border-radius:18px;border:1.5px dashed rgba(245,196,81,.55);background:rgba(245,196,81,.08);color:var(--gold-soft);font-weight:800;font-size:17px;line-height:1.2}
.store-soon svg{flex-shrink:0}
.store-badge{display:inline-block;border-radius:12px;min-height:56px}
.store-badge img{height:60px;width:auto}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* glass */
.glass{background:var(--glass);border:1px solid var(--line);border-radius:28px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.tag{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:6px 14px}
.tag-mint{background:rgba(63,214,160,.16);color:#9ff0d2;border:1px solid rgba(63,214,160,.45)}
.tag-gold{background:rgba(245,196,81,.14);color:var(--gold-soft);border:1px solid rgba(245,196,81,.45)}
.tag-pink{background:rgba(255,79,139,.14);color:#ffc2da;border:1px solid rgba(255,143,189,.45)}
.dot{width:9px;height:9px;border-radius:50%;background:currentColor;animation:pulse 2s infinite}

/* hero */
.hero{display:grid;gap:36px;padding:28px 0 56px;align-items:center}
.hero h1{font-size:clamp(54px,13vw,112px);letter-spacing:-.045em;line-height:.95}
.hero h1 span{display:block}
.hero .lead{font-size:clamp(21px,2.4vw,27px);color:var(--soft);max-width:22em;margin-top:22px}
.hero .btn-row{margin-top:30px}
.dice{position:relative;height:250px;max-width:420px;width:100%;justify-self:center}
.die{position:absolute;border-radius:24%;padding:12%;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);background:linear-gradient(145deg,#fff,#e9e4da);box-shadow:inset 0 -6px 0 rgba(0,0,0,.12),inset 0 4px 0 rgba(255,255,255,.9),0 22px 40px rgba(0,0,0,.5);animation:float 5s ease-in-out infinite}
.die i{width:68%;height:68%;border-radius:50%;place-self:center;background:var(--ink);box-shadow:inset 0 2px 3px rgba(0,0,0,.35)}
.die.gold{background:var(--gold-grad)}
.die.pink{background:linear-gradient(145deg,#ff9fc6,#ff4f8b)}.die.pink i{background:#fff}
.d1{width:130px;height:130px;left:4%;top:60px;--r:-12deg}
.d2{width:150px;height:150px;left:36%;top:4px;--r:10deg;animation-delay:-1.6s}
.d3{width:110px;height:110px;right:2%;top:120px;--r:22deg;animation-delay:-3.1s}
.p-1{grid-area:2/2}.p-tl{grid-area:1/1}.p-tr{grid-area:1/3}.p-ml{grid-area:2/1}.p-mr{grid-area:2/3}.p-bl{grid-area:3/1}.p-br{grid-area:3/3}

/* sections */
.section{padding-top:56px;padding-bottom:56px}
.section-head{display:flex;flex-direction:column;gap:10px;margin-bottom:28px;max-width:40em}
.section-head h2{font-size:clamp(38px,6vw,56px)}
.section-head p{color:var(--muted);font-size:19px}

/* game cards — copy an <article class="game-card"> to add a game */
.games{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
.game-card{container-type:inline-size;position:relative;overflow:hidden;border-radius:32px;background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.15);box-shadow:0 24px 50px rgba(0,0,0,.35)}
.game-in{display:flex;flex-direction:column;gap:18px;padding:26px}
.game-top{display:flex;align-items:center;gap:18px}
.app-icon{width:92px;height:92px;border-radius:22%;flex-shrink:0;box-shadow:0 12px 26px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.1);object-fit:cover}
.game-card h3{font-size:36px}
.game-card .pitch{font-size:20px;color:var(--soft);line-height:1.45}
.game-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:4px}
.game-peek{display:none}
@container (min-width:720px){
  .game-in{display:grid;grid-template-columns:1fr 300px;gap:32px;padding:40px 44px 0;align-items:start}
  .game-text{display:flex;flex-direction:column;gap:18px;padding-bottom:40px}
  .game-card h3{font-size:48px}
  .game-card .pitch{font-size:22px;max-width:24em}
  .game-peek{display:block;align-self:end;margin-bottom:-120px}
}
.game-text{display:flex;flex-direction:column;gap:16px}
.game-card.soon{background:linear-gradient(160deg,rgba(63,214,160,.10),rgba(255,255,255,.03));border:1.5px dashed rgba(63,214,160,.45);box-shadow:none}
.notify{font-size:17px;color:var(--muted)}

/* mahjong tiles (no artwork yet) */
.tiles{position:relative;width:92px;height:92px;flex-shrink:0}
.tile{position:absolute;width:52px;height:70px;border-radius:12px;background:linear-gradient(160deg,#fffdf6,#ece4d2);box-shadow:inset 0 -6px 0 #3fd6a0,inset 0 -7px 0 rgba(0,0,0,.08),0 10px 18px rgba(0,0,0,.45);display:grid;place-items:center}
.tile:nth-child(1){left:0;top:14px;transform:rotate(-14deg)}
.tile:nth-child(2){left:22px;top:4px;transform:rotate(2deg);z-index:1}
.tile:nth-child(3){left:42px;top:16px;transform:rotate(16deg)}
.tile b{width:22px;height:22px;border-radius:50%;border:4px solid #ff4f8b;box-shadow:0 0 0 3px #fffdf6 inset,0 0 0 9px #f5c451 inset}
.tile .bam{width:8px;height:34px;border-radius:4px;background:#2fae80;box-shadow:12px 0 0 #2fae80,-12px 0 0 #2fae80}
.tile .crak{width:24px;height:24px;border:4px solid #c8861a;border-radius:6px;transform:rotate(45deg)}
.icon-tiles{width:92px;height:92px;border-radius:22%;flex-shrink:0;background:radial-gradient(circle at 70% 20%,rgba(255,255,255,.18),transparent 50%),linear-gradient(160deg,#1f8f6a,#0f5a44);box-shadow:0 12px 26px rgba(0,0,0,.45);display:grid;place-items:center}
.icon-tiles .tile{position:static;width:44px;height:58px;transform:rotate(-6deg)}

/* phones */
.phone{border-radius:46px;padding:9px;background:linear-gradient(145deg,#3a3d4a,#15161c);box-shadow:0 34px 70px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.08)}
.phone img{border-radius:38px;width:100%;height:auto;aspect-ratio:390/844;object-fit:cover;object-position:center top;background:#0e1018}

/* also from */
.also{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
.also-card{display:flex;flex-direction:column;gap:14px;padding:22px}
.also-top{display:flex;align-items:center;gap:14px}
.also-card h3{font-size:28px}
.also-card p{color:var(--soft);font-size:18px}
.app-icon.sm{width:64px;height:64px}
.letter-icon{display:grid;place-items:center;font-family:var(--head);font-weight:800;font-size:32px;color:#05281c;background:linear-gradient(160deg,#a3f2d4,#3fd6a0)}
.ext{display:inline-flex;align-items:center;gap:8px;min-height:56px;padding:0 20px;align-self:flex-start;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:var(--text);text-decoration:none;font-weight:800;font-size:17px}
.ext:hover{background:rgba(255,255,255,.12);color:var(--text)}

/* app page */
.app-hero{display:grid;gap:28px;padding-top:20px;padding-bottom:48px;align-items:center}
.app-hero .app-icon{width:120px;height:120px}
.app-hero h1{font-size:clamp(52px,10vw,96px);letter-spacing:-.045em;line-height:.95}
.app-hero .lead{font-size:clamp(21px,2.3vw,26px);color:var(--soft);max-width:21em}
.price-line{font-size:18px;color:var(--muted)}
.price-line strong{color:var(--text)}
.app-hero-phone{max-width:300px;width:78%;justify-self:center;transform:rotate(3deg)}
.shots{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 20px 40px;margin:0 -20px;scrollbar-width:none}
.shots::-webkit-scrollbar{display:none}
.shot{flex:0 0 74%;max-width:300px;scroll-snap-align:center;display:flex;flex-direction:column;gap:16px}
.shot figcaption{font-family:var(--head);font-weight:800;font-size:22px;text-align:center}
.features{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.feature{padding:22px;display:flex;flex-direction:column;gap:10px}
.feature .ico{width:52px;height:52px;border-radius:16px;background:rgba(245,196,81,.14);border:1px solid rgba(245,196,81,.4);display:grid;place-items:center;color:var(--gold)}
.feature h3{font-size:25px;letter-spacing:-.02em}
.feature p{color:var(--muted);font-size:18px}
.price{position:relative;overflow:hidden;padding:30px 26px;border-radius:32px;background:linear-gradient(160deg,rgba(245,196,81,.2),rgba(255,79,139,.08));border:1.5px solid rgba(245,196,81,.5);box-shadow:0 0 50px rgba(245,196,81,.15);display:grid;gap:22px}
.price h2{font-size:clamp(34px,5vw,48px)}
.plans{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.plan{padding:20px;border-radius:24px;background:rgba(14,16,24,.5);border:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;gap:4px}
.plan .amt{font-family:var(--head);font-weight:800;font-size:40px;letter-spacing:-.03em;line-height:1}
.plan .amt small{font-size:20px;color:var(--muted);letter-spacing:0}
.plan .what{font-size:17px;color:var(--muted)}
.plan.free .amt{color:var(--mint)}
.plan.best{border-color:rgba(245,196,81,.6)}
.plan.best .amt{color:var(--gold)}
.fine{font-size:16px;color:var(--muted2)}
.app-links{display:flex;flex-wrap:wrap;gap:12px}

/* reading page */
.read{max-width:44rem;margin:0 auto;padding:20px 0 40px}
.read-head{display:flex;flex-direction:column;gap:14px;padding:16px 0 30px}
.read-head h1{font-size:clamp(44px,8vw,68px)}
.read-head .meta{font-size:17px;color:var(--muted2)}
.toc{padding:20px 22px;margin-bottom:36px}
.toc h2{font-size:20px;letter-spacing:-.01em;margin-bottom:8px}
.toc ol{margin:0;padding-left:24px;display:grid;gap:2px}
.toc a{display:inline-flex;min-height:44px;align-items:center;font-weight:700}
.prose{font-size:19px;line-height:1.7;color:var(--soft)}
.prose h2{font-size:32px;color:var(--text);margin:48px 0 14px;scroll-margin-top:24px}
.prose h3{font-size:23px;color:var(--text);letter-spacing:-.015em;margin:30px 0 8px}
.prose p{margin:0 0 18px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:26px}
.prose li{margin-bottom:8px}
.prose li::marker{color:var(--gold)}
.prose strong{color:var(--text)}
.prose .note{padding:18px 20px;border-radius:22px;background:rgba(63,214,160,.1);border:1px solid rgba(63,214,160,.4);color:var(--text);margin:0 0 22px}
.contact{margin-top:48px;padding:26px;display:flex;flex-direction:column;gap:12px}
.contact h2{font-size:28px}
.contact a.mail{font-family:var(--head);font-weight:800;font-size:clamp(20px,4.6vw,26px);word-break:break-word}

/* footer */
.footer{margin-top:40px;padding:36px 0 48px;border-top:1px solid var(--line)}
.footer-in{display:flex;flex-direction:column;gap:14px;font-size:17px;color:var(--muted)}
.footer-links{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.footer-links a{min-height:48px;display:inline-flex;align-items:center;padding:0 8px;font-weight:700}
.footer-links a:first-child{padding-left:0}

@keyframes float{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-14px) rotate(calc(var(--r,0deg) + 6deg))}}
@keyframes shine{0%{left:-40%}55%,100%{left:120%}}
@keyframes pulse{0%{box-shadow:0 0 0 0 currentColor}70%,100%{box-shadow:0 0 0 8px transparent}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

@media (min-width:860px){
  body{font-size:19px}
  .wrap{padding:0 40px}
  .nav{min-height:100px}
  .nav-links .hide-sm{display:flex}
  .hero{grid-template-columns:1.3fr 1fr;padding:40px 0 80px}
  .dice{height:340px}
  .d1{width:150px;height:150px;top:110px}.d2{width:180px;height:180px}.d3{width:130px;height:130px;top:190px}
  .section{padding-top:72px;padding-bottom:72px}
  .app-hero{grid-template-columns:1.25fr 1fr;padding-top:30px;padding-bottom:60px}
  .app-hero-phone{max-width:330px}
  .shots{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;overflow:visible;margin:0;padding:10px 0 20px}
  .shot{max-width:none}
  .price{grid-template-columns:1fr 1.4fr;align-items:center;padding:40px}
  .footer-in{flex-direction:row;justify-content:space-between;align-items:center}
}

/* Game Night Circle logo mark */
.mark{width:14px;height:14px;background:var(--gold);flex-shrink:0}

/* "More game nights" strip on app pages */
.more-apps .more-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.more-apps h2{font-size:clamp(32px,5vw,48px);margin-top:8px}
.more-row{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:20px;scrollbar-width:none;padding:20px 20px 24px;margin:-16px -20px -10px}
.more-row::-webkit-scrollbar{display:none}
.more-app{flex:0 0 132px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 8px 16px;border-radius:24px;background:var(--glass);border:1px solid var(--line);color:var(--text);text-decoration:none;text-align:center;font-weight:700;font-size:16px;line-height:1.2;transition:transform .2s,background .2s}
.more-app:hover{transform:translateY(-5px);background:rgba(255,255,255,.1);color:var(--text)}
.more-app img{width:96px;height:96px;border-radius:22%;box-shadow:0 10px 22px rgba(0,0,0,.4)}
@media (min-width:860px){.more-row{padding:20px 40px 24px;margin:-16px -40px -10px;scroll-padding-inline:40px}}

.more-head .btn,.back,.btn{white-space:nowrap}
.brand img{height:84px;width:auto;filter:drop-shadow(0 4px 14px rgba(0,0,0,.4))}
@media (max-width:600px){.brand img{height:64px}}
