/* GLORPZ (glorpz.com): home of GLORPZ Racing. Systeemletters (ronde letter op Apple), geen externe bestanden. */
:root {
  color-scheme: dark;
  --bg: #12062e;
  --bg-2: #1c0a45;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-line: rgba(255, 255, 255, 0.12);
  --text: #f7f2ff;
  --muted: #cbbbf0;
  --slime: #a8ff3e;
  --slime-deep: #4c9e0a;
  --pink: #ff4fd8;
  --cyan: #45e3ff;
  --yellow: #ffd23f;
  --orange: #ff8a3d;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 12% -10%, rgba(255, 79, 216, 0.22), transparent 60%),
    radial-gradient(800px 600px at 95% 5%, rgba(69, 227, 255, 0.16), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(168, 255, 62, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--round); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--slime); color: #142400; padding: 10px 16px; border-radius: 12px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }

/* ---------- bovenbalk ---------- */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(18, 6, 46, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--round);
  font-weight: 800; font-size: 17px; letter-spacing: 0.01em; color: var(--text); }
.brand-icon { width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: 0 4px 14px rgba(255, 79, 216, 0.35); }
.brand-mark { display: inline-grid; place-items: center; height: 30px; padding: 0 8px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), #8b3dff); color: #fff; font-size: 14px; font-weight: 900;
  letter-spacing: 0.02em; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14) inset, 0 4px 14px rgba(255, 79, 216, 0.35); }
.top-play { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(168, 255, 62, 0.12); border: 1.5px solid rgba(168, 255, 62, 0.55); color: var(--slime);
  font-family: var(--round); font-weight: 800; font-size: 15px; text-decoration: none; transition: background 0.2s; }
.top-play:hover { background: rgba(168, 255, 62, 0.22); }
.top-play svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero { padding: 22px 0 8px; }
@media (min-width: 700px) { .hero { padding-top: 32px; } }
.hero-art { position: relative; border-radius: var(--radius); overflow: hidden; background: #1a0a3d;
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 2px rgba(168, 255, 62, 0.45), 0 0 0 7px rgba(255, 79, 216, 0.14), 0 24px 70px rgba(255, 79, 216, 0.28), 0 10px 40px rgba(0, 0, 0, 0.45); }
@media (min-width: 601px) { .hero-art { aspect-ratio: 16 / 9; } }
/* desktop: het beeld nooit zo hoog dat de speelknop onder de vouw valt (1440 x 900: beeld ~890 breed, knop in beeld) */
@media (min-width: 1000px) {
  .hero { padding-top: 24px; }
  .hero-art { width: min(100%, max(720px, calc((100vh - 400px) * 16 / 9))); margin: 0 auto; }
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-copy { text-align: center; padding: 30px 0 6px; max-width: 760px; margin: 0 auto; }
@media (min-width: 1000px) {
  .hero-copy { max-width: none; padding-top: 26px; }
  .hero-copy .lead { max-width: 680px; }
}
.nw { white-space: nowrap; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--round); font-size: 15px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slime); }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 10px; border-radius: 2px;
  background: conic-gradient(#fff 25%, #1b0b40 0 50%, #fff 0 75%, #1b0b40 0) 0 0 / 10px 10px; opacity: 0.85; }
.tagline { margin-top: 12px; font-family: var(--round); font-weight: 900; font-size: clamp(31px, 6.4vw, 60px); line-height: 1.04;
  letter-spacing: -0.02em; }
.tagline .g { color: var(--slime); text-shadow: 0 0 24px rgba(168, 255, 62, 0.35); }
.tagline .p { color: var(--pink); text-shadow: 0 0 24px rgba(255, 79, 216, 0.35); }
.tagline .c { color: var(--cyan); text-shadow: 0 0 24px rgba(69, 227, 255, 0.35); }
@media (max-width: 599px) { .tagline span { display: block; } .tagline { font-size: clamp(31px, 9vw, 40px); } }
@media (min-width: 1000px) { .tagline { font-size: clamp(40px, 3.6vw, 52px); white-space: nowrap; } }
.lead { margin: 16px auto 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 2.2vw, 19px); }

.cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.btn-play { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 0 30px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(180deg, #c8ff6a 0%, var(--slime) 45%, #7fd61f 100%); color: #183000;
  font-family: var(--round); font-weight: 900; font-size: 21px; letter-spacing: 0.005em;
  box-shadow: 0 6px 0 var(--slime-deep), 0 14px 34px rgba(168, 255, 62, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--slime-deep), 0 18px 40px rgba(168, 255, 62, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.6); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--slime-deep), 0 8px 20px rgba(168, 255, 62, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.6); }
.btn-play .ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #183000; }
.btn-play .ico svg { width: 15px; height: 15px; margin-left: 3px; fill: var(--slime); }

.store-soon { display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 22px 8px 16px; border-radius: 18px;
  background: rgba(0, 0, 0, 0.35); border: 1.5px solid rgba(255, 255, 255, 0.22); text-align: left; }
.store-soon svg { width: 26px; height: 26px; flex: none; stroke: #fff; }
.store-soon small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.store-soon strong { display: block; font-family: var(--round); font-size: 17px; font-weight: 800; line-height: 1.25; }
a.store-soon { color: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
a.store-soon:hover, a.store-soon:focus-visible { border-color: #fff; background: rgba(0, 0, 0, 0.5); }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }

.btn-play, .store-soon strong { white-space: nowrap; }
@media (max-width: 480px) {
  .cta { flex-direction: column; align-items: stretch; }
  .btn-play, .store-soon { width: 100%; justify-content: center; }
  .btn-play { font-size: 19px; padding: 0 20px; }
  .store-soon { padding: 8px 16px; }
  .store-soon strong { font-size: 16px; }
}

/* ---------- secties ---------- */
section { scroll-margin-top: 70px; }
.block { padding: 64px 0 0; }
@media (min-width: 700px) { .block { padding-top: 92px; } }
.block-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.block-head h2 { font-size: clamp(29px, 4.6vw, 44px); font-weight: 900; }
.block-head p { margin-top: 10px; color: var(--muted); }
.flag-line { height: 12px; margin: 0 auto 18px; width: 72px; border-radius: 3px;
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 12px 12px; opacity: 0.8; }

/* speelvormen */
.modes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .modes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .modes { grid-template-columns: repeat(4, 1fr); } }
.mode { --a: var(--slime); position: relative; padding: 24px 22px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1.5px solid var(--panel-line); overflow: hidden; }
.mode::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--a); opacity: 0.9; }
.mode::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%;
  background: var(--a); opacity: 0.12; filter: blur(30px); pointer-events: none; }
.mode.pink { --a: var(--pink); } .mode.cyan { --a: var(--cyan); } .mode.yellow { --a: var(--yellow); }
.mode-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--a) 18%, transparent); border: 1.5px solid color-mix(in srgb, var(--a) 55%, transparent); }
.mode-ico svg { width: 30px; height: 30px; stroke: var(--a); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { margin-top: 16px; font-size: 25px; font-weight: 900; }
.chip { display: inline-block; margin-top: 10px; padding: 4px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 800;
  color: var(--a); background: color-mix(in srgb, var(--a) 13%, transparent); border: 1px solid color-mix(in srgb, var(--a) 40%, transparent); }
.mode p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* zo werkt Hot Seat */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 22px 24px 22px; border-radius: var(--radius); background: var(--panel); border: 1.5px solid var(--panel-line); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; font-family: var(--round); font-weight: 900; font-size: 22px;
  color: #1d0b45; background: var(--yellow); box-shadow: 0 4px 0 #b38b00; }
.step:nth-child(2) .step-num { background: var(--pink); box-shadow: 0 4px 0 #a3238a; color: #fff; }
.step:nth-child(3) .step-num { background: var(--cyan); box-shadow: 0 4px 0 #1d8aa3; }
.step h3 { margin-top: 16px; font-size: 22px; font-weight: 900; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* meer */
.extras { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--panel); border: 1.5px solid var(--panel-line); }
.extra .mode-ico { --a: var(--slime); flex: none; width: 50px; height: 50px; border-radius: 16px; }
.extra:nth-child(2) .mode-ico { --a: var(--yellow); }
.extra:nth-child(3) .mode-ico { --a: var(--pink); }
.extra:nth-child(4) .mode-ico { --a: var(--cyan); }
.extra .mode-ico svg { width: 26px; height: 26px; }
.extra h3 { font-size: 20px; font-weight: 900; }
.extra p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* iPhone-blok */
.app { display: grid; gap: 26px; align-items: center; padding: 28px; border-radius: 32px;
  background: radial-gradient(500px 300px at 15% 20%, rgba(255, 79, 216, 0.22), transparent 70%),
              radial-gradient(500px 300px at 90% 90%, rgba(69, 227, 255, 0.18), transparent 70%), rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--panel-line); text-align: center; }
.app-icon { width: 180px; margin: 0 auto; border-radius: 40px; box-shadow: 0 18px 50px rgba(255, 79, 216, 0.35), 0 0 0 1.5px rgba(255, 255, 255, 0.18); }
.app h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 900; }
.app p { margin-top: 10px; color: var(--muted); }
.app .cta { margin-top: 22px; }
@media (max-width: 480px) { .app { padding: 24px 18px; border-radius: 28px; } }
@media (min-width: 820px) {
  .app { grid-template-columns: 240px 1fr; text-align: left; padding: 40px 48px; }
  .app-icon { width: 220px; margin: 0; }
  .app .cta { justify-content: flex-start; }
}

/* meer spellen */
.soon { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 0 auto; }
.soon-tile { aspect-ratio: 1 / 1; border-radius: 22px; display: grid; place-items: center; align-content: center; gap: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.soon-tile b { font-family: var(--round); font-size: clamp(34px, 8vw, 52px); font-weight: 900; line-height: 1; color: rgba(255, 255, 255, 0.85); }
.soon-tile span { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.soon-tile:nth-child(1) b { color: var(--pink); } .soon-tile:nth-child(2) b { color: var(--cyan); } .soon-tile:nth-child(3) b { color: var(--yellow); }

/* ---------- voet ---------- */
.foot { margin-top: 92px; padding: 34px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.09); background: rgba(0, 0, 0, 0.18); }
.foot .wrap { display: grid; gap: 18px; }
.foot-brand p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; }
.foot nav a:hover { color: var(--slime); text-decoration: underline; text-underline-offset: 4px; }
.copy { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) {
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .copy { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 48px 0 0; }
.lost-face { width: 160px; margin: 0 auto; border-radius: 38px; box-shadow: 0 16px 46px rgba(168, 255, 62, 0.28), 0 0 0 1.5px rgba(255, 255, 255, 0.16); }
.lost h1 { margin-top: 26px; font-size: clamp(32px, 6vw, 54px); font-weight: 900; }
.lost p { margin: 14px auto 0; max-width: 520px; color: var(--muted); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 62px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--text); text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 19px; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* beweging */
@media (prefers-reduced-motion: no-preference) {
  .btn-play .ico { animation: bob 2.4s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px) scale(1.05); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-play, .btn-play:hover, .btn-play:active { transition: none; transform: none; }
}
