/* Pokat: one committed night-heist world (single theme by choice).
   Layout idea: a dark museum after hours; the only bright thing is the guard's flashlight (torch yellow). */
:root {
  /* Pokat: a sunny game-UI world. Light floor tiles, chunky ink outlines, candy colours.
     Layout idea: every card is a "sticker" with a thick ink border and a hard drop shadow, like the in-game buttons. */
  --ink: #fff4dd;        /* page: the light floor tiles from the game */
  --ink-2: #ffffff;      /* stickers / cards */
  --ink-3: #ecdcb8;      /* soft lines, tile seams */
  --line: #1c1c2b;       /* the chunky outline everything wears */
  --paper: #1c1c2b;      /* text */
  --mute: #5d5a74;       /* secondary text */
  --torch: #ffc81f;      /* yellow: main buttons, stars */
  --hot: #ff4f6d;        /* coral: the highlight word */
  --alarm: #ff5c74;
  --mint: #3fdcaa;
  --sky: #4cc9f0;
  --grape: #9b5de5;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 22px;
  --w: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background-color: var(--ink); background-image: conic-gradient(#fbe8c0 25%, transparent 0 50%, #fbe8c0 0 75%, transparent 0); background-size: 96px 96px; color: var(--paper); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--torch); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(48px, 8.4vw, 104px); }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 24px; }
em.hl { font-style: normal; color: var(--hot); -webkit-text-stroke: 0; }
p { margin: 0; max-width: 62ch; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--grape); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lead { font-size: 19px; color: var(--paper); opacity: .88; }
.muted { color: var(--mute); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 3px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mute); }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--paper); }
.lang { font: 700 12px/1 var(--body); border: 2px solid var(--line); border-radius: 99px; padding: 6px 9px; color: var(--mute); }
@media (max-width: 640px) { .nav nav a.hide-sm { display: none; } .brand span { font-size: 18px; } .nav nav { gap: 14px; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--body); padding: 15px 24px; border-radius: 99px; border: 3px solid var(--line); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn.primary { background: var(--torch); color: var(--line); box-shadow: 0 6px 0 var(--line); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--line); }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--line); }
.btn.ghost { color: var(--paper); background: #fff; box-shadow: 0 6px 0 var(--line); }
.btn.ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--line); }

/* sections */
section { padding: 96px 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }
.divider { height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px); opacity: .2; }

/* the flashlight: a soft cone of light that follows the pointer in a hero */
.torchlit { position: relative; overflow: hidden; isolation: isolate; }
.torchlit::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px 320px at var(--mx, 70%) var(--my, 40%), rgba(255, 210, 63, .16), rgba(255, 210, 63, 0) 70%); transition: background .08s; }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { font: 700 14px/1 var(--body); padding: 9px 14px; border-radius: 99px; background: #fff; border: 2px solid var(--line); }
.badge:nth-child(4n+1) { background: #fff1b8; } .badge:nth-child(4n+2) { background: #d6f5ff; } .badge:nth-child(4n+3) { background: #d9fbe9; } .badge:nth-child(4n+4) { background: #ffe0e6; }
.tag { border: 2px solid var(--line); font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; }
.tag.now { background: var(--mint); color: #062a20; }
.tag.soon { background: var(--alarm); color: #2a0610; }

/* a line of loot, like the one trailing behind a thief */
.lootline img { filter: drop-shadow(0 3px 0 rgba(28,28,43,.18)); }
.lootline { display: flex; gap: 6px; align-items: center; overflow: hidden; height: 46px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lootline img { width: 36px; height: 36px; object-fit: contain; flex: none; animation: bob 1.6s ease-in-out infinite; }
.lootline img:nth-child(odd) { animation-delay: -.8s; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-6deg); } }

/* cards */
.card { background: var(--ink-2); border: 3px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 7px 0 var(--line); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 3px solid var(--line); box-shadow: 0 5px 0 var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 400 26px/0.9 var(--display); color: var(--hot); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--mute); }

/* footer */
footer { background: #fff; border-top: 3px solid var(--line); padding: 40px 0 56px; color: var(--mute); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; } footer a:hover { color: var(--paper); }
footer .sp { flex: 1; }

/* dialog (character / guard profiles) */
.dlg { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; background: rgba(28, 28, 43, .55); padding: 16px; }
.dlg.open { display: grid; }
.dlg .box { width: min(760px, 100%); max-height: calc(100% - 32px); overflow: auto; background: #fff; border: 3px solid var(--line); box-shadow: 0 10px 0 var(--line); border-radius: 26px; display: grid; grid-template-columns: 1fr 1.2fr; }
.dlg .art { background: radial-gradient(circle at 50% 70%, rgba(255,200,31,.45), transparent 65%), #fff4dd; display: grid; place-items: center; padding: 30px; min-height: 280px; }
.dlg .art img { height: 240px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0,0,0,.5)); }
.dlg .box:focus { outline: none; }
.dlg .txt { padding: 30px; display: grid; gap: 14px; align-content: start; }
.dlg .row { display: flex; gap: 10px; flex-wrap: wrap; }
.dlg .nav-btns { display: flex; gap: 10px; margin-top: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line); background: #fff; color: var(--paper); font: 400 20px/1 var(--display); cursor: pointer; }
.icon-btn:hover { border-color: var(--torch); }
@media (max-width: 640px) { .dlg .box { grid-template-columns: 1fr; } .dlg .art { min-height: 200px; } .dlg .art img { height: 170px; } }
@media (max-width: 640px) { section { padding: 68px 0; } body { font-size: 16px; } }

/* living hero: characters running behind the copy */
.live-hero { position: relative; overflow: hidden; isolation: isolate; }
.heist-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.heist-bg canvas { display: block; }
.live-hero .shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255,244,221,.93) 0%, rgba(255,244,221,.7) 40%, rgba(255,244,221,0) 72%), linear-gradient(0deg, var(--ink) 0%, rgba(255,244,221,0) 20%); }
@media (max-width: 880px) { .live-hero .shade { background: linear-gradient(180deg, rgba(255,244,221,.9) 0%, rgba(255,244,221,.72) 55%, rgba(255,244,221,.3) 100%); } }
/* phones that play gameplay video */
.phone-v { position: relative; width: 260px; aspect-ratio: 9 / 16; border-radius: 34px; border: 8px solid var(--line); overflow: hidden; box-shadow: 0 10px 0 rgba(28,28,43,.25), 0 24px 50px rgba(60,40,0,.25); background: var(--line); }
.phone-v video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.clip { display: grid; gap: 14px; justify-items: center; text-align: center; }
.clip .phone-v { width: 100%; max-width: 240px; }
.clip b { font: 400 22px/1.1 var(--display); } .clip span { color: var(--mute); font-size: 15px; max-width: 26ch; }
@media (max-width: 960px) { .clips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .clips { grid-template-columns: 1fr 1fr; gap: 12px; } .clip b { font-size: 18px; } .clip span { font-size: 13px; } }
