/* ==========================================================================
   PlayCube UK - landing page styles
   ========================================================================== */
:root {
  --teal: #2FBFB0;
  --teal-2: #1E9C8F;
  --teal-soft: #D9F5F1;
  --yellow: #F7E463;
  --yellow-2: #E9D23A;
  --coral: #FF6A5C;
  --sky: #BFEFEA;
  --ink: #17162B;
  --ink-2: #3F3E5A;
  --muted: #74738B;
  --cream: #FFF9EE;
  --cream-2: #F6EFDF;
  --white: #FFFFFF;
  --line: #E8E3D5;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(23, 22, 43, .28);
  --shadow-sm: 0 10px 30px -14px rgba(23, 22, 43, .25);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(1180px, 100% - 32px); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-2);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); }
.h2 { font-size: clamp(32px, 4.6vw, 54px); }
.h3 { font-size: clamp(22px, 2.6vw, 30px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.hl { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .38em; z-index: -1;
  background: var(--yellow); border-radius: 6px; transform: scaleX(0); transform-origin: left;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .25s;
}
.in .hl::after, .hero .hl::after { transform: scaleX(1); }
.hl.teal::after { background: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 800; font-size: 16px;
  background: var(--ink); color: #fff; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 10px 24px -10px rgba(23, 22, 43, .5);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(23, 22, 43, .55); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(47, 191, 176, .7); }
.btn-primary:hover { background: var(--teal-2); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(233, 210, 58, .7); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 19px 34px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.pulse::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 3px solid var(--teal);
  animation: pulse 2.2s ease-out infinite; pointer-events: none;
}
@keyframes pulse { 0% { opacity: .9; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.18); } }

/* ---------- announcement + nav ---------- */
.announce {
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  overflow: hidden; height: 38px; display: flex; align-items: center;
}
.announce .track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 24px; }
.announce span { display: inline-flex; align-items: center; gap: 10px; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 249, 238, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(23, 22, 43, .35); background: rgba(255, 249, 238, .95); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.logo-mark { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border-radius: 9px; overflow: hidden; transform: rotate(-6deg); transition: transform .4s; }
.logo:hover .logo-mark { transform: rotate(6deg) scale(1.05); }
.logo-mark i { display: block; }
.logo-mark i:nth-child(1) { background: var(--yellow); }
.logo-mark i:nth-child(2) { background: var(--teal); }
.logo-mark i:nth-child(3) { background: #fff; border: 1px solid var(--line); }
.logo-mark i:nth-child(4) { background: var(--teal-2); }
.logo small { font-size: 11px; font-family: var(--font-body); font-weight: 800; letter-spacing: .18em; color: var(--teal-2); margin-left: 2px; margin-top: 4px; }
.nav-links { display: flex; gap: 28px; font-weight: 800; font-size: 15px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.basket-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; transition: box-shadow .2s, transform .2s;
}
.basket-btn:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.basket-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.15) rotate(-6deg); } 60% { transform: scale(.96) rotate(3deg); } }
.basket-count {
  position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.basket-count.show { transform: scale(1); }
.nav-cta { display: inline-flex; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 3px; display: block; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: inherit; border-radius: inherit; transition: transform .25s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--cream); padding: 10px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); transform: translateY(calc(-100% - var(--nav-h) - 40px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .nav-links.open { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { display: none; }
  .burger { display: grid; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 100px); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: var(--sky); top: -160px; left: -140px; }
.blob-2 { width: 420px; height: 420px; background: #FFF0A6; right: -120px; top: 120px; animation-delay: -5s; }
.blob-3 { width: 320px; height: 320px; background: #FFD9D3; left: 40%; bottom: -200px; animation-delay: -9s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero-copy > * + * { margin-top: 22px; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 14px 8px 10px; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 14px; }
.stars { display: inline-flex; gap: 2px; color: #FFB400; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 540px; }
.hero-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-size: clamp(34px, 4vw, 48px); font-weight: 700; }
.price small { font-size: .5em; font-weight: 700; color: var(--muted); font-family: var(--font-body); }
.price-note { font-weight: 800; color: var(--teal-2); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-2); }

.hero-media { position: relative; }
.tv {
  position: relative; border-radius: 28px; background: #0f0e1c; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(23, 22, 43, .55), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.hero-media:hover .tv { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.tv video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; background: #000; }
.tv-stand { width: 38%; height: 14px; margin: 10px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(#2a2940, #15142a); opacity: .9; }
.hero-cube {
  position: absolute; left: -8%; bottom: -6%; width: 38%; height: auto; filter: drop-shadow(0 30px 30px rgba(23,22,43,.35));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-14px) rotate(-2deg); } }
.hero-badge {
  position: absolute; top: -18px; right: -10px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 13px;
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-sm); transform: rotate(6deg);
  animation: wiggle 4s ease-in-out infinite;
}
.hero-badge b { display: block; font-size: 18px; font-family: var(--font-head); line-height: 1; }
@keyframes wiggle { 0%,100% { transform: rotate(6deg); } 50% { transform: rotate(2deg) translateY(-3px); } }
.hero-players {
  position: absolute; right: 6%; bottom: -26px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px;
}
.hero-players .avatars { display: flex; }
.hero-players .avatars i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: block; }
.hero-players .avatars i:first-child { margin-left: 0; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { margin-top: 20px; padding: 0 6% 30px 10%; }
  .hero-cube { left: -2%; width: 34%; }
}

/* ---------- 3D cube decoration ---------- */
.scene { width: 70px; height: 70px; perspective: 600px; position: absolute; }
.cube3d { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.cube3d i { position: absolute; inset: 0; border-radius: 8px; opacity: .95; }
.cube3d .f1 { background: var(--yellow); transform: translateZ(35px); }
.cube3d .f2 { background: var(--teal); transform: rotateY(90deg) translateZ(35px); }
.cube3d .f3 { background: var(--teal-2); transform: rotateY(180deg) translateZ(35px); }
.cube3d .f4 { background: var(--sky); transform: rotateY(-90deg) translateZ(35px); }
.cube3d .f5 { background: #fff; transform: rotateX(90deg) translateZ(35px); }
.cube3d .f6 { background: var(--coral); transform: rotateX(-90deg) translateZ(35px); }
@keyframes spin { to { transform: rotateX(360deg) rotateY(720deg); } }
.scene.a { top: 8%; left: 44%; opacity: .7; }
.scene.b { bottom: 6%; left: 2%; width: 44px; height: 44px; opacity: .6; animation-delay: -4s; }
.scene.b .cube3d i { transform-origin: center; }
@media (max-width: 900px) { .scene { display: none; } }

/* ---------- reel (UGC clips) ---------- */
.reel { padding: 50px 0 20px; }
.reel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clip { position: relative; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; background: #111; box-shadow: var(--shadow-sm); cursor: pointer; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip .sound { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.clip .sound svg { width: 18px; height: 18px; }
.clip .tag { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; font-weight: 900; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 760px) { .reel-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- section spacing ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head > * + * { margin-top: 14px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; overflow: hidden;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-size: 64px; font-weight: 700; color: var(--cream-2); line-height: 1; }
.step-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: var(--teal-soft); color: var(--teal-2); }
.step:nth-child(2) .step-icon { background: #FFF5BF; color: #A98F00; }
.step:nth-child(3) .step-icon { background: #FFE1DC; color: #D14A3C; }
.step-icon svg { width: 32px; height: 32px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- features (bento) ---------- */
.features { background: #fff; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-sm); min-height: 240px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; background: linear-gradient(transparent, rgba(23,22,43,.85)); }
.tile .cap h3 { font-size: 24px; } .tile .cap p { opacity: .9; font-size: 15px; }
.tile.text { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tile.text h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tile.text p { color: var(--ink-2); }
.tile.teal { background: var(--teal); color: var(--ink); }
.tile.teal p { color: rgba(23,22,43,.8); }
.tile.yellow { background: var(--yellow); }
.tile.ink { background: var(--ink); color: #fff; } .tile.ink p { color: rgba(255,255,255,.8); }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 5; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.t-f { grid-column: span 4; }
.stat { font-family: var(--font-head); font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.stat small { font-size: .35em; display: block; font-family: var(--font-body); font-weight: 800; opacity: .8; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.tile.ink .chip { background: rgba(255,255,255,.12); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 2; }
  .t-d, .t-e { grid-column: span 1; }
}
@media (max-width: 560px) { .t-d, .t-e { grid-column: span 2; } }

/* ---------- video showcase ---------- */
.showcase { position: relative; }
.showcase-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.showcase-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checklist li b { display: block; }
.checklist li span { color: var(--ink-2); font-size: 15px; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin-top: 2px; }
.tick svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }

/* ---------- games ---------- */
.games { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.games .eyebrow { color: var(--yellow); } .games .eyebrow::before { background: var(--yellow); }
.games .lead { color: rgba(255,255,255,.75); }
.games .hl::after { background: var(--teal); height: .16em; bottom: .02em; border-radius: 4px; }
.games-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.games-note { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 18px; font-size: 14px; max-width: 360px; }
.games-note b { color: var(--yellow); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filters-row { display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.filters-row label { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-right: 4px; }
.fchip {
  padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-weight: 800; font-size: 14px;
  border: 1px solid rgba(255,255,255,.12); transition: background .2s, color .2s, transform .2s;
}
.fchip:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.fchip.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.game {
  position: relative; aspect-ratio: 5/6; border-radius: 18px; overflow: hidden; background: #26253d;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); transform: translateY(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; animation: gameIn .5s both;
}
.game.hidden { display: none; }
@keyframes gameIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.game img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.game:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 40px -16px rgba(0,0,0,.7); z-index: 2; }
.game:hover img { transform: scale(1.06); }
.game .info {
  position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; color: #fff;
  background: linear-gradient(transparent, rgba(10,9,20,.92)); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.game:hover .info { opacity: 1; transform: none; }
.game .info b { display: block; font-size: 13px; line-height: 1.25; margin-bottom: 6px; }
.game .meta { display: flex; gap: 6px; font-size: 11px; font-weight: 800; }
.game .meta span { background: rgba(255,255,255,.18); padding: 2px 7px; border-radius: 999px; }
.game .badge { position: absolute; top: 8px; left: 8px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; text-transform: uppercase; }
.game .badge.hot { background: var(--yellow); color: var(--ink); }
.games-more { text-align: center; margin-top: 30px; }
.games-empty { text-align: center; padding: 40px; opacity: .7; grid-column: 1 / -1; }
.games-count { font-size: 14px; opacity: .7; margin-left: auto; }
@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .game { border-radius: 12px; } }
@media (max-width: 400px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
.games .marquee { display: flex; gap: 14px; overflow: hidden; margin: 0 -40px 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.games .marquee .track { display: flex; gap: 14px; animation: marquee 40s linear infinite; flex: none; }
.games .marquee img { width: 110px; aspect-ratio: 5/6; object-fit: cover; border-radius: 12px; opacity: .9; }
.games .marquee:hover .track { animation-play-state: paused; }

/* ---------- reviews ---------- */
.reviews-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.big-rating { font-family: var(--font-head); font-size: 64px; line-height: 1; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--cream-2); }
.review .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.review:hover .photo img { transform: scale(1.04); }
.review .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.review q { quotes: "“" "”"; font-size: 17px; line-height: 1.5; font-weight: 600; }
.review .who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; font-size: 14px; color: var(--ink-2); }
.review .who b { color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--teal-2); font-weight: 800; }
.verified svg { width: 14px; height: 14px; }
.review.wide { grid-column: span 1; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- in the box / specs ---------- */
.box { background: #fff; }
.box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.box-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.box-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.box-list li { list-style: none; background: var(--cream); border-radius: 14px; padding: 14px 16px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.box-list li svg { width: 20px; height: 20px; color: var(--teal-2); flex: none; }
.specs { margin-top: 26px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs div span:first-child { color: var(--muted); font-weight: 800; }
.specs div span:last-child { text-align: right; font-weight: 700; }
@media (max-width: 900px) { .box-grid { grid-template-columns: 1fr; } }

/* ---------- compare ---------- */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 800; }
.compare thead th { background: var(--cream-2); font-family: var(--font-head); font-size: 18px; }
.compare thead th.me { background: var(--teal); color: var(--ink); }
.compare td.me { background: var(--teal-soft); font-weight: 800; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--teal-2); font-weight: 900; } .no { color: #C84B3C; font-weight: 900; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); position: relative; transition: transform .3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq summary .plus::before { width: 14px; height: 2.5px; } .faq summary .plus::after { width: 2.5px; height: 14px; }
.faq[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- final CTA ---------- */
.final { background: linear-gradient(135deg, var(--teal) 0%, #5fd6c9 60%, var(--yellow) 140%); color: var(--ink); position: relative; overflow: hidden; }
.final .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.final h2 { font-size: clamp(32px, 4.6vw, 56px); }
.final p { font-size: 18px; margin-top: 12px; max-width: 560px; }
.final .cube-img { width: 220px; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.final .btn { margin-top: 24px; }
@media (max-width: 820px) { .final .container { grid-template-columns: 1fr; } .final .cube-img { width: 160px; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 60px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 900; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--yellow); }
.footer .logo { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55); }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { background: #fff; color: var(--ink); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 900; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- basket drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(23,22,43,.5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); z-index: 90; transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 24px; }
.close-x { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.close-x:hover { transform: rotate(90deg); }
.drawer-body { flex: 1; overflow: auto; padding: 22px; }
.line-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
.line-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--cream-2); }
.line-item h4 { font-family: var(--font-body); font-size: 16px; font-weight: 900; }
.line-item .sub { font-size: 13px; color: var(--muted); }
.line-item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; font-weight: 900; font-size: 18px; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--cream-2); }
.qty output { min-width: 30px; text-align: center; font-weight: 900; }
.line-item .price { font-size: 18px; }
.remove { font-size: 13px; color: var(--muted); text-decoration: underline; margin-top: 8px; }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--ink-2); }
.drawer-empty img { width: 120px; margin: 0 auto 14px; opacity: .9; }
.drawer-perks { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.drawer-perks span { display: flex; gap: 8px; align-items: center; }
.drawer-perks svg { width: 16px; height: 16px; color: var(--teal-2); }
.drawer-foot { padding: 20px 22px 26px; border-top: 1px solid var(--line); background: #fff; }
.totals { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 6px; }
.totals.grand { font-size: 20px; font-family: var(--font-head); margin: 10px 0 16px; }
.totals .free { color: var(--teal-2); }
.small-print { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- toast + sticky bar ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; z-index: 100; opacity: 0; pointer-events: none; transition: all .3s; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .tick { width: 22px; height: 22px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -16px rgba(0,0,0,.35); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s; }
.sticky-bar.show { transform: none; }
.sticky-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-bar .p { display: flex; align-items: center; gap: 12px; }
.sticky-bar img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-bar b { display: block; font-size: 14px; }
.sticky-bar small { color: var(--muted); font-weight: 700; }
.sticky-bar .btn { padding: 13px 22px; }
@media (max-width: 480px) { .sticky-bar .p b { font-size: 13px; } .sticky-bar img { display: none; } }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- confetti ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -10px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* ==========================================================================
   Checkout + success pages
   ========================================================================== */
.checkout-page { background: var(--cream); min-height: 100vh; }
.checkout-nav { height: 70px; display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.checkout-nav .container { display: flex; justify-content: space-between; align-items: center; }
.secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--teal-2); }
.secure svg { width: 16px; height: 16px; }
.progress { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 28px 0 10px; font-size: 13px; font-weight: 800; color: var(--muted); flex-wrap: wrap; }
.progress .on { color: var(--ink); }
.progress .on i { background: var(--ink); color: #fff; }
.progress i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); font-style: normal; font-size: 11px; margin-right: 6px; }
.progress .sep { width: 28px; height: 2px; background: var(--line); }
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; padding: 20px 0 80px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 24px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.card h2 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-body); font-size: 14px; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,191,176,.18); }
.field.error input { border-color: #D14A3C; }
.field .err { display: none; color: #C84B3C; font-size: 12px; font-weight: 800; margin-top: 5px; }
.field.error .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-2); }
.delivery-opts { display: grid; gap: 12px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--teal); }
.opt.on { border-color: var(--teal-2); background: var(--teal-soft); }
.opt input { width: 20px; height: 20px; accent-color: var(--teal-2); }
.opt b { display: block; } .opt small { color: var(--ink-2); }
.opt .amt { font-weight: 900; }
.summary { position: sticky; top: 20px; }
.summary .item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.summary .item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.summary .item b { display: block; }
.summary .item small { color: var(--muted); font-weight: 700; }
.summary .rows div { display: flex; justify-content: space-between; padding: 6px 0; font-weight: 700; color: var(--ink-2); }
.summary .rows .grand { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.summary .vat { font-size: 12px; color: var(--muted); text-align: right; }
.guarantees { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.guarantees span { display: flex; align-items: center; gap: 8px; }
.guarantees svg { width: 16px; height: 16px; color: var(--teal-2); flex: none; }
#payment-element { margin: 6px 0 18px; }
.express[hidden] { display: none; }
.express .express-head p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
#express-checkout-element { min-height: 50px; }
.express .pay-msg { margin-top: 14px; margin-bottom: 0; }
.or { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.or::before, .or::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.pay-msg { display: none; background: #FFE1DC; color: #8E2A1E; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.pay-msg.show { display: block; }
.pay-msg.info { background: #FFF5BF; color: #6B5A00; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot .8s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .label { opacity: .7; }
@keyframes rot { to { transform: rotate(360deg); } }
.empty-basket { text-align: center; padding: 60px 20px; }
.empty-basket img { width: 160px; margin: 0 auto 18px; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .card { padding: 22px 18px; } }

.success-wrap { max-width: 680px; margin: 50px auto 90px; text-align: center; }
.success-wrap .check-anim { width: 96px; height: 96px; border-radius: 50%; background: var(--teal); margin: 0 auto 24px; display: grid; place-items: center; animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
.success-wrap .check-anim svg { width: 48px; height: 48px; }
@keyframes pop { from { transform: scale(0); } }
.success-wrap h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.order-box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-top: 28px; text-align: left; }
.order-box div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.order-box div:last-child { border: 0; }
.order-box span:first-child { color: var(--muted); }
.next-steps { margin-top: 26px; display: grid; gap: 12px; text-align: left; }
.next-steps div { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.next-steps i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
