
/* ============ Kestrelux — Starfall Princess's Sky Kingdom ============ */
:root {
  --sv2-gold: #ffd479;
  --sv2-gold-deep: #ff9ecb;
  --sv2-white: #ffffff;
  --sv2-ink: #1b0f3d;
  --sv2-text-dim: #c9b8ea;
  --sv2-card-bg: rgba(255,255,255,0.06);
  --sv2-card-border: rgba(255,255,255,0.16);
  --sv2-radius-lg: 22px;

  --gwk-pink: #ff9ecb;
  --gwk-lavender: #b9a0f0;
  --gwk-gold: #ffd479;
  --gwk-cyan: #6fe3ff;
  --gwk-navy: #1b0f3d;
  --gwk-bg: #241257;
  --gwk-bg-deep: #150a33;
  --gwk-alt: #2c1666;
  --gwk-text: #f3edff;
  --gwk-radius: 18px;
  --gwk-font-display: 'Chewy', cursive;
  --gwk-font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gwk-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gwk-text);
  background: radial-gradient(ellipse at 20% 0%, #3a1c7a 0%, var(--gwk-bg) 45%, var(--gwk-bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gwk-cyan); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--gwk-font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--sv2-white);
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-family: var(--gwk-font-display);
  color: var(--gwk-cyan); font-size: 0.95rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: 999px; border: none;
  font-family: var(--gwk-font-body); font-weight: 800; font-size: 1rem;
  cursor: pointer; text-align: center; transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: linear-gradient(135deg, var(--sv2-gold), var(--sv2-gold-deep)); color: var(--sv2-ink); }
.btn--ghost { background: rgba(255,255,255,0.08); color: var(--sv2-white); border: 1px solid var(--sv2-card-border); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.9rem; }
.btn--lg { min-height: 52px; padding: 14px 30px; font-size: 1.1rem; }

/* ---- section head ---- */
.gwk-section-head { max-width: 720px; margin: 0 0 32px; }
.gwk-section-head--light { max-width: 720px; }
.gwk-section-head p { color: var(--sv2-text-dim); }
.gwk-section-head a { font-weight: 800; }

/* ================= NAV: starmap-constellation-nav ================= */
.gwk-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 64px; pointer-events: none; }
.gwk-nav__brand {
  position: absolute; top: 10px; left: 14px; display: flex; align-items: center; gap: 8px;
  pointer-events: auto; min-height: 44px;
}
.gwk-brand__mark { display: inline-flex; width: 30px; height: 30px; color: var(--gwk-gold); flex: none; }
.gwk-brand__mark svg { width: 100%; height: 100%; }
.gwk-brand__word {
  font-family: var(--gwk-font-display); color: var(--sv2-white); font-size: 1.1rem; letter-spacing: 0.04em;
}
.gwk-nav__stars { display: none; }
.gwk-nav__capsule {
  position: absolute; top: 10px; right: 14px; pointer-events: auto;
  background: rgba(255,255,255,0.08); border: 1px solid var(--sv2-card-border);
  border-radius: 999px 999px 999px 6px; padding: 6px 10px; backdrop-filter: blur(6px);
}
.gwk-nav__guest, .gwk-nav__user { display: flex; align-items: center; gap: 8px; }
.gwk-nav__guest[hidden], .gwk-nav__user[hidden] { display: none; }
.gwk-nav__user-email { font-size: 0.8rem; color: var(--sv2-text-dim); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* age_badge_placement: comet-tail-badge-standalone */
.gwk-age-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 55; display: flex; align-items: center;
  min-width: 44px; min-height: 44px; padding: 0 12px 0 22px; border-radius: 999px;
  background: rgba(21,10,51,0.85); border: 1px solid rgba(255,212,121,0.5); backdrop-filter: blur(4px);
}
.gwk-age-badge__tail {
  position: absolute; left: -18px; top: 50%; width: 34px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gwk-cyan)); transform: translateY(-50%) rotate(-18deg);
}
.gwk-age-badge__num { font-family: var(--gwk-font-display); color: var(--gwk-gold); font-size: 0.95rem; }
@media (min-width: 900px) { .gwk-age-badge { left: 24px; bottom: 24px; } }

.gwk-nav__fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 65; width: 56px; height: 56px; border-radius: 50%;
  border: none; background: radial-gradient(circle at 35% 35%, var(--gwk-cyan), var(--gwk-lavender) 70%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
}
.gwk-nav__fab-head { width: 12px; height: 12px; border-radius: 50%; background: var(--sv2-white); display: block; box-shadow: -14px 6px 0 -3px rgba(255,255,255,0.5), -22px 10px 0 -5px rgba(255,255,255,0.3); }
.gwk-nav__fab-tail { display: none; }

.gwk-nav__overlay {
  position: fixed; inset: 0; z-index: 70; background: radial-gradient(circle at 50% 20%, #2c1666, var(--gwk-bg-deep) 80%);
  padding: 80px 24px 24px; overflow-y: auto;
}
.gwk-nav__overlay[hidden] { display: none; }
.gwk-nav__overlay-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.08); color: var(--sv2-white); font-size: 1.1rem; }
.gwk-nav__overlay-links { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.gwk-nav__overlay-links a {
  font-family: var(--gwk-font-display); font-size: 1.4rem; color: var(--sv2-white); opacity: 0;
  animation: gwk-star-in 0.5s ease forwards;
}
.gwk-nav__overlay-links a.is-active { color: var(--gwk-gold); }
.gwk-nav__overlay-links a:nth-child(1) { animation-delay: 0.05s; }
.gwk-nav__overlay-links a:nth-child(2) { animation-delay: 0.12s; }
.gwk-nav__overlay-links a:nth-child(3) { animation-delay: 0.19s; }
.gwk-nav__overlay-links a:nth-child(4) { animation-delay: 0.26s; }
.gwk-nav__overlay-links a:nth-child(5) { animation-delay: 0.33s; }
.gwk-nav__overlay-links a:nth-child(6) { animation-delay: 0.40s; }
.gwk-nav__overlay-links a:nth-child(7) { animation-delay: 0.47s; }
@keyframes gwk-star-in { from { opacity: 0; transform: translateY(6px) scale(0.9); } to { opacity: 1; transform: none; } }
.gwk-nav__overlay-auth { margin-top: 26px; display: flex; justify-content: center; gap: 10px; }
.gwk-nav__overlay-age { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--sv2-text-dim); }

@media (min-width: 900px) {
  .gwk-nav { height: 92px; }
  .gwk-nav__brand { top: 22px; left: 28px; }
  .gwk-nav__capsule { top: 22px; right: 28px; }
  .gwk-nav__fab, .gwk-nav__overlay { display: none; }
  .gwk-nav__stars {
    display: block; position: absolute; inset: 0 160px 0 160px; pointer-events: none;
  }
  .gwk-nav__lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gwk-lavender); opacity: 0.5; }
  .gwk-nav__star {
    position: absolute; top: var(--gwk-star-top); left: var(--gwk-star-left); transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: auto;
    text-decoration: none; min-height: 44px; padding: 4px;
  }
  .gwk-nav__star-dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--gwk-cyan);
    box-shadow: 0 0 10px var(--gwk-cyan); transition: transform 0.2s ease;
  }
  .gwk-nav__star:hover .gwk-nav__star-dot, .gwk-nav__star.is-active .gwk-nav__star-dot { transform: scale(1.5); background: var(--gwk-gold); box-shadow: 0 0 14px var(--gwk-gold); }
  .gwk-nav__star-label {
    font-size: 0.78rem; color: var(--sv2-text-dim); white-space: nowrap; opacity: 0; transition: opacity 0.2s ease;
  }
  .gwk-nav__star:hover .gwk-nav__star-label, .gwk-nav__star.is-active .gwk-nav__star-label { opacity: 1; color: var(--sv2-white); }
}

/* ================= HERO (text_block_position: right-anchored) ================= */
.gwk-hero { position: relative; padding: 100px 0 90px; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.gwk-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.gwk-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,10,51,0.15) 0%, rgba(21,10,51,0.55) 45%, rgba(21,10,51,0.92) 100%); }
.gwk-hero__inner { position: relative; z-index: 2; text-align: right; margin-left: auto; max-width: 520px; }
.gwk-eyebrow-tag { display: inline-block; color: var(--gwk-cyan); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 14px; }
.gwk-hero__title-row { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.gwk-hero__stat { display: flex; align-items: baseline; gap: 8px; }
.gwk-hero__stat strong { font-family: var(--gwk-font-display); font-size: 2rem; color: var(--gwk-gold); }
.gwk-hero__stat span { font-size: 0.85rem; color: var(--sv2-text-dim); }
.gwk-hero__lead { margin-top: 14px; color: var(--sv2-text-dim); font-size: 1.02rem; }
.gwk-hero__cta-card {
  position: relative; z-index: 2; margin: 34px 0 0 auto; max-width: 320px; text-align: center;
  background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius);
  padding: 18px; backdrop-filter: blur(8px);
}
.gwk-hero__cta-card .btn { width: 100%; }
.gwk-hero__cta-fine { margin: 10px 0 0; font-size: 0.78rem; color: var(--sv2-text-dim); }

@media (min-width: 900px) {
  .gwk-hero { padding: 160px 0 120px; }
  .gwk-hero__cta-card { position: absolute; right: 60px; bottom: 60px; margin: 0; text-align: left; }
}

/* ================= LIVE PLAYER COUNTER (trust signal) ================= */
.gwk-live-counter { padding: 22px 0; }
.gwk-live-counter__inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: 999px;
  padding: 12px 20px; max-width: 420px; margin: 0 auto; text-align: center;
}
.gwk-live-counter__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gwk-cyan); flex: none; animation: gwk-live-pulse 1.6s ease-in-out infinite; }
@keyframes gwk-live-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(111,227,255,0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(111,227,255,0); } }
.gwk-live-counter__inner p { margin: 0; font-size: 0.9rem; color: var(--sv2-text-dim); }
.gwk-live-counter__inner strong { color: var(--gwk-gold); font-family: var(--gwk-font-display); }

/* ================= TICKER (recent wins) ================= */
.gwk-ticker { padding: 50px 0; }
.gwk-ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gwk-ticker__row {
  scroll-snap-align: start; flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: 14px; padding: 10px 14px; min-width: 250px;
}
.gwk-ticker__row img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.gwk-ticker__meta { display: flex; flex-direction: column; font-size: 0.82rem; color: var(--sv2-text-dim); }
.gwk-ticker__meta strong { color: var(--sv2-white); }
.gwk-ticker__amount { margin-left: auto; color: var(--gwk-gold); font-weight: 800; font-size: 0.85rem; white-space: nowrap; }

/* ================= GAME GRID / CARD: diamond-star-link-card ================= */
.gwk-library { padding: 50px 0; }
.gwk-grid { display: grid; grid-template-columns: 1fr; gap: 22px 14px; }
.gwk-grid--compact { grid-template-columns: 1fr; }
@media (min-width: 480px) { .gwk-grid, .gwk-grid--compact { grid-template-columns: repeat(2, 1fr); } }
.gwk-card__link { text-decoration: none; color: inherit; display: block; }
.gwk-card__art {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden; background: var(--gwk-alt);
}
.gwk-card__art img { width: 100%; height: 100%; object-fit: cover; }
.gwk-card__linkline {
  position: absolute; inset: 0; border: 2px solid transparent; pointer-events: none;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gwk-card:hover .gwk-card__linkline, .gwk-card:focus-within .gwk-card__linkline { border-color: var(--gwk-cyan); box-shadow: 0 0 18px rgba(111,227,255,0.5); }
.gwk-card__body { padding-top: 10px; text-align: center; }
.gwk-card__tag { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gwk-cyan); margin-bottom: 2px; }
.gwk-card__title { display: block; font-family: var(--gwk-font-display); font-size: 1rem; color: var(--sv2-white); }
.gwk-card__cta { display: block; margin-top: 4px; font-size: 0.82rem; font-weight: 800; color: var(--gwk-gold); }

@media (min-width: 640px) { .gwk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gwk-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; } }
@media (min-width: 1180px) { .gwk-grid { grid-template-columns: repeat(5, 1fr); } }

.gwk-page-footnote { margin-top: 30px; font-size: 0.85rem; color: var(--sv2-text-dim); text-align: center; }

/* ================= SLOT: orrery-viewport-console ================= */
.gwk-slot { position: relative; padding: 60px 0; overflow: hidden; }
.gwk-slot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.gwk-slot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--gwk-bg-deep), rgba(21,10,51,0.85)); }
.gwk-slot .container { position: relative; z-index: 2; }
.gwk-slot__cabinet {
  position: relative; max-width: 640px; margin: 0 auto; background: radial-gradient(circle at 50% 30%, #3a1c7a, var(--gwk-bg-deep) 75%);
  border-radius: 32px; border: 3px solid rgba(255,212,121,0.4); padding: 24px 18px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.gwk-slot__cabinet.is-flash { animation: gwk-flash 0.5s ease; }
@keyframes gwk-flash { 0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.5); } 50% { box-shadow: 0 0 60px rgba(255,212,121,0.7); } }
.gwk-slot__porthole {
  border-radius: 50%; aspect-ratio: 1/1; max-width: 420px; margin: 0 auto; padding: 14px;
  background: radial-gradient(circle, #4a2a9a, #1b0f3d 80%); border: 6px solid rgba(255,212,121,0.55);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6), 0 0 30px rgba(111,227,255,0.25); overflow: hidden;
}
/* game-ui */
.gwk-slot__reels { width: 100%; height: 100%; border-radius: 50%; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; overflow: hidden; filter: none; }
.gwk-slot__reels.is-spinning { filter: blur(2px); }
.gwk-slot__cell { position: relative; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,0.05); }
.gwk-slot__cell img { width: 100%; height: 100%; object-fit: cover; }
.gwk-slot__cell.is-win { box-shadow: inset 0 0 0 2px var(--gwk-gold); }
.gwk-slot__cell.is-win::after { content: ""; position: absolute; inset: 0; background: rgba(255,212,121,0.25); }
.gwk-slot__win {
  position: absolute; left: 50%; top: 8%; transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  background: var(--gwk-gold); color: var(--gwk-navy); font-weight: 800; padding: 8px 16px; border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 5; white-space: nowrap; font-size: 0.85rem;
}
.gwk-slot__win.is-visible { opacity: 1; transform: translate(-50%, 0); }
.gwk-slot__dash { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.gwk-slot__stat { text-align: center; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 6px 14px; min-width: 96px; }
.gwk-slot__stat span { display: block; font-size: 0.72rem; color: var(--sv2-text-dim); }
.gwk-slot__stat strong { font-family: var(--gwk-font-display); color: var(--gwk-gold); font-size: 1.1rem; }
.gwk-slot__stat.is-pulsing strong { animation: gwk-pulse 0.5s ease; }
@keyframes gwk-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.gwk-slot__bet { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border-radius: 999px; padding: 4px 10px; min-height: 44px; }
.gwk-slot__bet button { width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: var(--sv2-white); font-size: 1.1rem; flex: none; }
.gwk-slot__spin { display: flex; flex-direction: column; align-items: center; gap: 2px; border: none; background: none; min-width: 44px; min-height: 44px; }
.gwk-slot__spin img { width: 56px; height: 56px; border-radius: 50%; }
.gwk-slot__spin span { font-size: 0.75rem; font-weight: 800; color: var(--sv2-white); }
.gwk-slot__spin.is-spinning img { animation: gwk-spin 0.6s linear infinite; }
@keyframes gwk-spin { to { transform: rotate(360deg); } }
.gwk-slot__auto, .gwk-slot__info { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.06); color: var(--sv2-white); font-weight: 700; }
.gwk-slot__auto.is-active { background: var(--gwk-gold); color: var(--gwk-navy); }
.gwk-slot__note--legal { text-align: center; font-size: 0.8rem; color: var(--sv2-text-dim); margin-top: 24px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* wishing-star-spin-flip win animation particles */
.gwk-wishstar {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px;
  background: var(--gwk-gold); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: gwk-wishstar-spin var(--gwk-wish-dur, 1100ms) ease-out forwards;
  animation-delay: var(--gwk-wish-delay, 0ms);
  transform: translate(var(--gwk-wish-tx, 0), var(--gwk-wish-ty, 0)) rotateY(0deg) scale(0.2);
  pointer-events: none; z-index: 6;
}
@keyframes gwk-wishstar-spin {
  0% { transform: translate(0, 0) rotateY(0deg) scale(0.2); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--gwk-wish-tx), var(--gwk-wish-ty)) rotateY(720deg) scale(1); opacity: 0; }
}

/* ================= PAYTABLE MODAL ================= */
.gwk-paytable { position: fixed; inset: 0; z-index: 90; }
.gwk-paytable[hidden] { display: none; }
.gwk-paytable__backdrop { position: absolute; inset: 0; background: rgba(10,5,25,0.75); }
.gwk-paytable__sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto;
  background: var(--gwk-bg); border-radius: 24px 24px 0 0; padding: 20px; border-top: 1px solid var(--sv2-card-border);
}
.gwk-paytable__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gwk-paytable__row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gwk-paytable__row img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.gwk-paytable__row .val { margin-left: auto; font-weight: 700; color: var(--gwk-gold); font-size: 0.85rem; }
.gwk-paytable__line { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.8rem; color: var(--sv2-text-dim); }
/* game-ui */
.gwk-paytable__line-grid { display: grid; grid-template-columns: repeat(5, 6px); grid-template-rows: repeat(3, 6px); gap: 2px; }
.gwk-paytable__line-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.gwk-paytable__line-dot.is-on { background: var(--gwk-gold); }
@media (min-width: 700px) {
  .gwk-paytable__sheet { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 90%; max-width: 480px; border-radius: 24px; max-height: 85vh; }
}

/* ================= HOW IT WORKS ================= */
.gwk-steps { padding: 50px 0; }
.gwk-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.gwk-steps__list li { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 18px; position: relative; }
.gwk-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gwk-gold); color: var(--gwk-navy); font-weight: 800; margin-bottom: 10px; }
@media (min-width: 700px) { .gwk-steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gwk-steps__list { grid-template-columns: repeat(4, 1fr); } }

/* ================= TESTIMONIALS ================= */
.gwk-testimonials { padding: 50px 0; }
.gwk-testimonials__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gwk-testimonials__row--wrap { grid-template-columns: 1fr; }
.gwk-quote { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 18px; margin: 0; }
.gwk-quote blockquote { margin: 0 0 10px; font-style: italic; }
.gwk-quote figcaption { font-weight: 800; color: var(--gwk-cyan); font-size: 0.85rem; }
@media (min-width: 700px) { .gwk-testimonials__row, .gwk-testimonials__row--wrap { grid-template-columns: repeat(2, 1fr); } }

/* ================= FOOTER: crescent-constellation-footer ================= */
.gwk-footer { background: var(--gwk-bg-deep); padding-top: 50px; }
.gwk-footer__top { display: flex; flex-direction: column; gap: 34px; }
.gwk-footer__crescent {
  position: relative; background: radial-gradient(circle at 30% 30%, #3a1c7a, var(--gwk-bg-deep) 70%);
  border-radius: 0 999px 999px 0; padding: 24px 24px 24px 20px; max-width: 420px;
  border: 1px solid rgba(255,212,121,0.3); margin-left: -20px;
}
.gwk-footer__brand-name { font-family: var(--gwk-font-display); color: var(--sv2-white); margin: 10px 0 6px; }
.gwk-footer__disclaimer { font-size: 0.82rem; color: var(--sv2-text-dim); margin: 0; }
.gwk-footer__constellations { display: flex; flex-wrap: wrap; gap: 30px; }
.gwk-footer__constellation h4 { font-family: var(--gwk-font-display); color: var(--gwk-gold); font-size: 0.95rem; margin-bottom: 12px; }
.gwk-footer__star-link { display: flex; align-items: center; gap: 8px; color: var(--sv2-text-dim); padding: 11px 0; min-height: 44px; }
.gwk-footer__star-link:nth-child(odd) { margin-left: 0; }
.gwk-footer__star-link:nth-child(even) { margin-left: 14px; }
.gwk-footer__star-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gwk-cyan); flex: none; }
.gwk-footer__nightsky {
  margin-top: 40px; padding: 30px 0;
  background-color: var(--gwk-navy);
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 26px 26px;
}
.gwk-footer__rg-lead { text-align: center; color: var(--sv2-white); font-weight: 700; margin-bottom: 16px; }
.gwk-footer__orgs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gwk-footer__org {
  background: var(--gwk-navy); border: 1px solid rgba(255,255,255,0.25); color: var(--sv2-white);
  padding: 10px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; min-height: 44px; display: flex; align-items: center;
}
.gwk-footer__bottom { padding: 18px 0 26px; text-align: center; font-size: 0.75rem; color: var(--sv2-text-dim); position: relative; }
.gwk-footer__bottom::before { content: ""; display: block; height: 2px; max-width: 240px; margin: 0 auto 18px; background: linear-gradient(90deg, transparent, var(--gwk-gold), var(--gwk-cyan), transparent); }
@media (min-width: 900px) { .gwk-footer__top { flex-direction: row; justify-content: space-between; } }

/* ================= AUTH MODAL: atlas-page-turn-spread ================= */
.gwk-modal { position: fixed; inset: 0; z-index: 80; }
.gwk-modal[hidden] { display: none; }
.gwk-modal__backdrop { position: absolute; inset: 0; background: rgba(10,5,25,0.8); }
.gwk-modal__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.08); color: var(--sv2-white); font-size: 1rem; }
.gwk-atlas {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 94%; max-width: 780px;
  max-height: 92vh; overflow-y: auto; display: flex; flex-direction: column;
  background: var(--gwk-bg); border-radius: 20px; border: 1px solid rgba(255,212,121,0.3); box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.gwk-atlas__left {
  position: relative; padding: 30px 24px; text-align: center;
  background: radial-gradient(circle at 50% 20%, #4a2a9a, var(--gwk-bg-deep) 80%);
  border-bottom: 1px dashed rgba(255,212,121,0.35);
}
.gwk-atlas__left-glow { position: absolute; inset: 0; background: radial-gradient(circle, rgba(111,227,255,0.15), transparent 70%); }
.gwk-atlas__left .gwk-brand__mark { width: 40px; height: 40px; margin: 0 auto; position: relative; }
.gwk-atlas__left-word { font-family: var(--gwk-font-display); color: var(--sv2-white); font-size: 1.2rem; margin: 8px 0 4px; position: relative; }
.gwk-atlas__left-tag { font-size: 0.82rem; color: var(--sv2-text-dim); margin: 0; position: relative; }
.gwk-atlas__right { padding: 24px; }
.gwk-atlas__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gwk-atlas__lead { color: var(--sv2-text-dim); font-size: 0.92rem; }
.gwk-atlas__col { display: flex; flex-direction: column; gap: 10px; }
.gwk-atlas__provider {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.05); color: var(--sv2-white);
  font-weight: 700; position: relative;
}
.gwk-atlas__provider-icon { width: 20px; height: 20px; flex: none; }
.gwk-atlas__provider-icon svg { width: 100%; height: 100%; }
.gwk-atlas__provider--email { background: linear-gradient(135deg, rgba(255,212,121,0.18), rgba(255,158,203,0.12)); border-color: rgba(255,212,121,0.4); }
.gwk-atlas__provider.is-suggested { animation: gwk-suggest-pulse 0.6s ease; }
@keyframes gwk-suggest-pulse { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 0 4px rgba(255,212,121,0.4); } }
.gwk-atlas__divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--sv2-text-dim); font-size: 0.8rem; }
.gwk-atlas__divider::before, .gwk-atlas__divider::after { content: ""; flex: 1; height: 1px; background: var(--sv2-card-border); }
.gwk-atlas__notice {
  margin-top: 10px; padding: 10px 12px 10px 30px; border-radius: 12px; background: rgba(111,227,255,0.12);
  border: 1px solid rgba(111,227,255,0.3); font-size: 0.82rem; position: relative; opacity: 0;
  transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.gwk-atlas__notice.is-showing { opacity: 1; transform: translateY(0); }
.gwk-atlas__notice::before {
  content: "☄"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--gwk-cyan); font-size: 1rem;
}
.gwk-atlas__fine { font-size: 0.75rem; color: var(--sv2-text-dim); margin-top: 14px; }
.gwk-atlas__back { background: none; border: none; color: var(--gwk-cyan); font-weight: 700; padding: 0; margin-bottom: 10px; min-height: 32px; }
.gwk-atlas__field { display: block; margin-bottom: 12px; font-size: 0.85rem; color: var(--sv2-text-dim); }
.gwk-atlas__field input { width: 100%; min-height: 44px; margin-top: 6px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.05); color: var(--sv2-white); font-size: 1rem; }
.gwk-atlas__error { color: #ff8a8a; font-size: 0.82rem; }
.gwk-atlas__submit { width: 100%; margin-top: 6px; }

@media (min-width: 760px) {
  .gwk-atlas { flex-direction: row; }
  .gwk-atlas__left { width: 38%; border-bottom: none; border-right: 1px dashed rgba(255,212,121,0.35); display: flex; flex-direction: column; justify-content: center; }
  .gwk-atlas__right { width: 62%; }
}

/* ================= COOKIE BANNER ================= */
.gwk-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; }
.gwk-cookie[hidden] { display: none; }
.gwk-cookie__bar, .gwk-cookie__panel {
  background: var(--gwk-bg); border-top: 1px solid var(--sv2-card-border); padding: 16px 18px;
}
.gwk-cookie__panel[hidden] { display: none; }
.gwk-cookie__panel-head { display: flex; justify-content: space-between; align-items: center; }
.gwk-cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gwk-cookie__row-copy strong { display: block; }
.gwk-cookie__row-copy span { font-size: 0.8rem; color: var(--sv2-text-dim); }
.gwk-cookie__locked-badge { font-size: 0.75rem; color: var(--sv2-text-dim); }
.gwk-cookie__toggle { width: 44px; height: 26px; border-radius: 999px; border: none; background: rgba(255,255,255,0.15); position: relative; flex: none; }
.gwk-cookie__toggle-dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sv2-white); transition: left 0.2s ease; }
.gwk-cookie__toggle.is-on { background: var(--gwk-gold); }
.gwk-cookie__toggle.is-on .gwk-cookie__toggle-dot { left: 21px; }
.gwk-cookie__panel-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.gwk-cookie__text { font-size: 0.85rem; color: var(--sv2-text-dim); margin: 0 0 12px; }
.gwk-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) { .gwk-cookie__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; } .gwk-cookie__text { margin: 0; max-width: 60%; } }

/* ================= PAGE HERO / GENERIC ================= */
.gwk-page-hero { padding: 120px 0 30px; }
.gwk-page-hero--legal { padding-bottom: 10px; }

/* ================= EVENTS / RANK / HELP / FAQ ================= */
.gwk-events, .gwk-rank, .gwk-help, .gwk-faq { padding: 30px 0 60px; }
.gwk-events__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gwk-event-card { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 18px; }
.gwk-event-card__when { display: block; color: var(--gwk-cyan); font-size: 0.8rem; font-weight: 700; margin: 4px 0 8px; }
@media (min-width: 700px) { .gwk-events__grid { grid-template-columns: repeat(3, 1fr); } }

.gwk-rank__list { list-style: none; padding: 0; display: grid; gap: 16px; }
.gwk-rank__row { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 16px; display: grid; grid-template-columns: 1fr; gap: 6px; }
.gwk-rank__name { font-family: var(--gwk-font-display); color: var(--sv2-white); }
.gwk-rank__bar { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.gwk-rank__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gwk-cyan), var(--gwk-gold)); }
.gwk-rank__req { font-size: 0.78rem; color: var(--sv2-text-dim); }

.gwk-help__grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
.gwk-help-card { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 16px; }
@media (min-width: 700px) { .gwk-help__grid { grid-template-columns: repeat(2, 1fr); } }
.gwk-help__form-wrap { max-width: 520px; }
.gwk-help__form label { display: block; margin-bottom: 12px; font-size: 0.85rem; color: var(--sv2-text-dim); }
.gwk-help__form input, .gwk-help__form textarea { width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,0.05); color: var(--sv2-white); font-size: 1rem; font-family: inherit; }

.gwk-faq__item { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 14px 16px; margin-bottom: 12px; }
.gwk-faq__item summary { cursor: pointer; font-weight: 800; min-height: 30px; display: flex; align-items: center; }
.gwk-faq__item p { margin: 10px 0 0; color: var(--sv2-text-dim); }

/* ================= LEGAL ================= */
.gwk-legal { padding-bottom: 60px; }
.gwk-legal__layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.gwk-legal__toc { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--gwk-radius); padding: 16px; align-self: start; }
.gwk-legal__toc p { font-weight: 800; margin-bottom: 8px; }
.gwk-legal__toc nav { display: flex; flex-direction: column; gap: 8px; }
.gwk-legal__prose h2 { margin-top: 28px; }
.gwk-legal__prose :first-child h2 { margin-top: 0; }
@media (min-width: 900px) {
  .gwk-legal__layout { grid-template-columns: 240px 1fr; }
  .gwk-legal__toc { position: sticky; top: 110px; }
}

/* ================= GAME DETAIL ================= */
.gwk-game-hero { padding: 120px 0 30px; }
.gwk-game-hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.gwk-game-hero__grid img { border-radius: 20px; max-width: 280px; margin: 0 auto; }
@media (min-width: 700px) { .gwk-game-hero__grid { grid-template-columns: 280px 1fr; } .gwk-game-hero__grid img { margin: 0; } }
.gwk-game-facts, .gwk-game-tips { padding: 20px 0; }
.gwk-game-facts ul, .gwk-game-tips ol { color: var(--sv2-text-dim); }
.gwk-related { padding: 40px 0 60px; }
.gwk-related__heading { margin-bottom: 20px; }
