/* Glowdess landing page. Palette and shapes follow the in-game UI (Theme.UI, GlowSplash). */
:root {
  --plum-950: #14070f;
  --plum-900: #220d1b;
  --plum-850: #2b1024;
  --plum-800: #33112a;
  --plum-700: #4c1b3d;
  --plum-600: #5b2346;
  --plum-500: #6e2c55;
  --rose: #e2557b;
  --rose-light: #ff9db3;
  --rose-stroke: #9c2a55;
  --blush-line: #ffd7e2;
  --text: #fff6f8;
  --text-dim: #f3d2df;
  --text-muted: #c99ab5;
  --gold-hi: #fff3c4;
  --gold: #ffe38e;
  --gold-deep: #f0ae3a;
  --gold-dark: #8a5a12;
  --cream: #fff8f2;
  --cream-deep: #f4d9cc;
  --mint: #a6f0dc;
  --mint-deep: #48bfa2;
  --radius: 22px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --round: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--plum-900);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 12px;
}
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 50;
  background: var(--cream); color: var(--plum-800); padding: 10px 16px; border-radius: 999px; font-weight: 800;
}
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Backdrop: plum to rose with warm gold light, like the GlowSplash screen */
.backdrop {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(240, 174, 58, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 20%, rgba(226, 85, 123, 0.22), transparent 65%),
    radial-gradient(1000px 900px at 50% 120%, rgba(110, 44, 85, 0.6), transparent 70%),
    linear-gradient(180deg, var(--plum-600) 0%, var(--plum-800) 38%, var(--plum-900) 100%);
}
.bokeh { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bokeh span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 227, 142, 0.55) 0%, rgba(255, 227, 142, 0.12) 45%, transparent 70%);
  filter: blur(2px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  to { transform: translate3d(30px, -40px, 0) scale(1.15); opacity: 0.9; }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(34, 13, 27, 0.92), rgba(34, 13, 27, 0.72));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 215, 226, 0.12);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1.5px rgba(255, 227, 142, 0.7); }
.brand b {
  font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: 0.08em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 40%, var(--gold-deep) 75%, #c4831f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.top nav { margin-left: auto; display: flex; gap: 6px; }
.top nav a {
  color: var(--text-dim); text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 8px 12px; border-radius: 999px;
}
.top nav a:hover { color: var(--text); background: rgba(255, 215, 226, 0.08); }
.top .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 900px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* Buttons: the game's pink, cream and mint pills */
.btn {
  --top: var(--rose-light); --bottom: var(--rose); --stroke: var(--rose-stroke); --ink: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, var(--top), var(--bottom));
  border: 2px solid var(--stroke);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 10px 28px rgba(226, 85, 123, 0.35);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 14px 34px rgba(226, 85, 123, 0.5); }
.btn:active { transform: translateY(1px); }
.btn.cream { --top: var(--cream); --bottom: var(--cream-deep); --stroke: #d8b4a4; --ink: var(--plum-700); text-shadow: none; box-shadow: inset 0 2px 0 #fff, 0 10px 24px rgba(0, 0, 0, 0.25); }
.btn.big { padding: 19px 34px; font-size: 18px; }
.btn svg { width: 20px; height: 20px; }

/* Tags: slim plum with a gold outline, like the LIVE RUNWAY tag */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); padding: 7px 16px; border-radius: 8px;
  background: linear-gradient(180deg, var(--plum-500), var(--plum-700));
  border: 1.5px solid var(--gold-deep);
  box-shadow: 0 0 18px rgba(240, 174, 58, 0.25);
}
.tag::before, .tag::after { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Gold foil type */
.foil {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fffbe6 0%, var(--gold-hi) 18%, var(--gold) 38%, var(--gold-deep) 62%, #b8761c 78%, var(--gold) 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 40, 10, 0.55)) drop-shadow(0 0 22px rgba(240, 174, 58, 0.35));
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 6px; line-height: 0.95; }
.hero h1 .foil { display: block; font-size: clamp(44px, 13vw, 118px); letter-spacing: 0.04em; }
.hero h1 .sub {
  display: block; margin-top: 14px; font-family: var(--sans); font-weight: 800;
  font-size: clamp(20px, 2.3vw, 27px); letter-spacing: 0.02em; color: var(--text);
}
.hero .lede { font-size: 18.5px; color: var(--text-dim); max-width: 34em; margin: 18px 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li {
  font-size: 13.5px; font-weight: 700; color: var(--text-dim);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 215, 226, 0.07); border: 1px solid rgba(255, 215, 226, 0.18);
}
.facts li strong { color: var(--gold); }
@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .mirror { --rx: 0deg; --ry: 0deg; padding: 14px; border-radius: 26px; }
  .mirror .glass { border-radius: 14px; }
}
@media (max-width: 520px) {
  .bulbs i { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .hero .cta-row .btn { width: 100%; }
  section { padding: 64px 0; }
  .plaque strong { font-size: 24px; }
}

/* The vanity mirror: gold frame with chasing bulbs, holding real gameplay */
.stage { perspective: 1400px; }
.mirror {
  position: relative; border-radius: 34px; padding: 22px;
  background: linear-gradient(145deg, #fff0bf, var(--gold) 22%, var(--gold-deep) 48%, #a8691a 70%, var(--gold) 100%);
  box-shadow:
    0 0 0 2px rgba(138, 90, 18, 0.9),
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(240, 174, 58, 0.32);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg));
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.mirror .glass {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--plum-800);
  box-shadow: inset 0 0 0 3px rgba(90, 40, 10, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.5);
  transform: translateZ(18px);
}
.mirror video, .mirror .glass img { width: 100%; height: 100%; object-fit: cover; }
.mirror .glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, transparent 28%, transparent 62%, rgba(255, 255, 255, 0.08) 80%, transparent 100%);
}
.bulbs { position: absolute; inset: 0; pointer-events: none; transform: translateZ(28px); }
.bulbs i {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0%, #fff6d6 35%, #ffd979 60%, #e9a531 100%);
  box-shadow: 0 0 10px 3px rgba(255, 226, 150, 0.85), 0 0 26px 8px rgba(255, 196, 90, 0.35);
  animation: chase 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes chase {
  0%, 100% { opacity: 0.55; filter: brightness(0.85); }
  50% { opacity: 1; filter: brightness(1.25); }
}
.mirror .play-badge {
  position: absolute; left: 50%; bottom: -18px; transform: translate(-50%, 0) translateZ(40px);
  font-family: var(--round); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--plum-800); background: linear-gradient(180deg, var(--cream), var(--cream-deep));
  border: 2px solid var(--gold-deep); padding: 7px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.sound {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 227, 142, 0.8);
  background: rgba(34, 13, 27, 0.6); color: var(--gold); display: grid; place-items: center; cursor: pointer;
}
.sound svg { width: 18px; height: 18px; }

/* Sections */
section { padding: 84px 0; position: relative; scroll-margin-top: 68px; }
#freeplay { scroll-margin-top: 96px; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-light); margin: 0 0 10px; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; margin: 0 0 18px; letter-spacing: 0.01em; }
h2 .foil { letter-spacing: 0.02em; }
h3 { font-size: 21px; margin: 0 0 8px; line-height: 1.25; }
.intro { max-width: 46em; color: var(--text-dim); font-size: 18px; margin: 0 0 40px; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }

/* In-game panel look */
.panel {
  background: linear-gradient(180deg, var(--plum-600), var(--plum-800));
  border: 1.5px solid rgba(255, 215, 226, 0.28);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* What is it */
.whatis .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.whatis .panel { padding: 34px 36px; }
.whatis p { color: var(--text-dim); margin: 0 0 14px; }
.whatis p:last-child { margin-bottom: 0; }
.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { padding: 22px 20px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--text-dim); }
@media (max-width: 900px) { .whatis .wrap { grid-template-columns: 1fr; } }

/* Steps: the in-game step plaques */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; counter-reset: step; }
.step { overflow: hidden; display: flex; flex-direction: column; }
.step figure { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--plum-800); }
.step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.step:hover figure img { transform: scale(1.04); }
.plaque {
  position: absolute; left: 18px; top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 18px 12px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(110, 44, 85, 0.95), rgba(51, 17, 42, 0.95));
  border: 2.5px solid var(--gold-deep);
  box-shadow: 0 0 0 1px rgba(138, 90, 18, 0.9), 0 0 24px rgba(240, 174, 58, 0.35), 0 10px 22px rgba(0, 0, 0, 0.4);
}
.plaque small {
  font-family: var(--round); font-weight: 600; font-size: 11.5px; letter-spacing: 0.12em;
  color: var(--plum-800); background: var(--gold); padding: 1px 10px; border-radius: 999px;
}
.plaque strong { font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: 0.06em; }
.step .body { padding: 22px 26px 26px; }
.step .body p { margin: 0; color: var(--text-dim); }
.reveal-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.reveal-card figure { aspect-ratio: auto; min-height: 100%; }
.reveal-card .body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 34px; }
.stars { display: flex; gap: 6px; margin: 4px 0 14px; }
.stars svg { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(240, 174, 58, 0.6)); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .reveal-card { grid-template-columns: 1fr; }
  .reveal-card figure { aspect-ratio: 16 / 9; }
}

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 72px; }
.feature.flip .shots { order: -1; }
.feature p { color: var(--text-dim); }
.feature ul { padding-left: 1.1em; color: var(--text-dim); margin: 0; }
.feature li { margin: 6px 0; }
.feature li::marker { color: var(--gold); }
.shots { position: relative; }
.shot {
  border-radius: 18px; overflow: hidden; border: 2px solid rgba(255, 215, 226, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: var(--plum-800);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shots .shot.back { width: 78%; transform: rotate(-3deg); }
.shots .shot.front { width: 72%; margin: -26% 0 0 auto; transform: rotate(2.5deg); position: relative; }
.pill {
  display: inline-block; font-family: var(--round); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); border: 2px solid var(--gold-deep); padding: 5px 14px; border-radius: 999px;
  background: rgba(51, 17, 42, 0.8); margin-bottom: 14px;
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature.flip .shots { order: 0; }
}

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client { padding: 18px 18px 16px; }
.client b { display: block; font-size: 17px; }
.client span { display: block; color: var(--text-muted); font-size: 14.5px; font-weight: 600; }
.client.gala { background: linear-gradient(180deg, #6b3a2a, #3b1a22); border-color: rgba(255, 227, 142, 0.45); }
.client.gala::after {
  content: "Gala Season"; display: inline-block; margin-top: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--plum-800); background: var(--gold); padding: 2px 9px; border-radius: 999px;
}
@media (max-width: 900px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gallery .shot:nth-child(1), .gallery .shot:nth-child(2) { grid-column: span 3; }
.gallery .shot { grid-column: span 2; transition: transform 0.3s ease; }
.gallery .shot:hover { transform: translateY(-4px); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .shot, .gallery .shot:nth-child(1), .gallery .shot:nth-child(2) { grid-column: auto; }
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 800; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; line-height: 1; color: var(--plum-800); background: var(--gold);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-dim); }

/* Final call to action: the end card */
.endcard .panel {
  text-align: center; padding: 56px 24px 60px; position: relative; overflow: hidden;
  border: 3px solid var(--gold-deep);
  box-shadow: 0 0 0 1.5px rgba(138, 90, 18, 0.9), 0 0 60px rgba(240, 174, 58, 0.25), 0 30px 80px rgba(0, 0, 0, 0.45);
}
.endcard .foil { font-size: clamp(54px, 8vw, 96px); display: block; line-height: 1; }
.endcard p { color: var(--text-dim); margin: 16px auto 30px; max-width: 32em; }
.endcard .bulbs i { width: 12px; height: 12px; margin: -6px 0 0 -6px; }

/* Footer */
footer { padding: 40px 0 56px; color: var(--text-muted); font-size: 14.5px; border-top: 1px solid rgba(255, 215, 226, 0.12); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--text-dim); }
footer p { margin: 0; max-width: 46em; }

/* Scroll reveal */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bokeh span, .bulbs i { animation: none; }
  .mirror { transform: none; transition: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .btn, .step figure img, .gallery .shot { transition: none; }
}
