/* glowmore.fun: one stylesheet, no scripts, nothing from other servers. The game's palette: night navy, neon cyan and pink. */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #030a1c;
  --card: #071a40;
  --card2: #0b2557;
  --line: rgba(0, 200, 255, 0.26);
  --line2: rgba(0, 200, 255, 0.6);
  --text: #f2fbff;
  --soft: #d5e9fb;
  --muted: #a4cdf0;
  --pink: #ff5ccf;
  --cyan: #3ce6ff;
  --head: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #a6f6ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; 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: -999px; top: 8px; z-index: 30; padding: 8px 14px; border-radius: 8px; background: var(--card2); color: var(--text); }
.skip:focus { left: 8px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* header: over the hero on the home page, a solid bar elsewhere */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.top.solid { position: sticky; background: rgba(3, 10, 28, 0.9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.3rem var(--head); letter-spacing: 0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font: 700 1rem var(--head); letter-spacing: 0.03em; }
.nav a:hover { background: rgba(60, 230, 255, 0.12); color: var(--text); }
@media (max-width: 430px) { .brand span { display: none; } .nav a { padding: 8px 7px; font-size: 0.95rem; } }

/* hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(94vh, 900px); overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 10, 28, 0.75) 0, rgba(3, 10, 28, 0) 120px),
    radial-gradient(75% 52% at 50% 66%, rgba(3, 10, 28, 0.78), rgba(3, 10, 28, 0) 74%),
    linear-gradient(180deg, rgba(3, 10, 28, 0) 50%, rgba(3, 10, 28, 0.6) 80%, var(--bg) 100%);
}
.hero-inner { position: relative; padding-top: 110px; padding-bottom: 52px; text-align: center; }
.hero-glim { width: clamp(76px, 10vw, 112px); margin: 0 auto 2px; filter: drop-shadow(0 0 16px rgba(255, 90, 220, 0.5)); animation: bob 4.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 auto 16px; }
.wordmark { width: min(660px, 92vw); }
.kicker { font: 700 clamp(1.15rem, 3.4vw, 1.65rem) var(--head); letter-spacing: 0.26em; text-transform: uppercase; color: #dcfcff; text-shadow: 0 0 12px rgba(60, 230, 255, 0.75), 0 0 2px rgba(60, 230, 255, 0.9); }
.lead { max-width: 640px; margin: 0 auto 26px; color: #e4f5ff; font-size: clamp(1.05rem, 2.4vw, 1.22rem); text-shadow: 0 1px 14px rgba(3, 10, 28, 0.95); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.hero .note { margin: 16px 0 0; color: var(--muted); font-size: 0.95rem; text-shadow: 0 1px 10px rgba(3, 10, 28, 0.95); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-glim { animation: none; } }

/* buttons */
.soon { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); color: #fff; text-align: left; }
.soon svg { width: 24px; height: 26px; color: var(--cyan); }
.soon small { display: block; font: 600 0.72rem var(--body); letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.85; }
.soon strong { display: block; font: 700 1.25rem/1.1 var(--head); letter-spacing: 0.02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.7em 1.4em; border-radius: 999px; background: rgba(5, 18, 49, 0.7); box-shadow: inset 0 0 0 1.5px var(--line2), 0 0 18px rgba(60, 230, 255, 0.2); color: var(--text); text-decoration: none; font: 700 1.08rem var(--head); letter-spacing: 0.03em; }
.btn:hover { background: rgba(11, 37, 87, 0.9); color: #fff; }
.btn.gel { background: linear-gradient(180deg, #a3f6ff, #2bcfff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 6px 24px rgba(60, 230, 255, 0.35); color: #04173a; }
.btn.gel:hover { background: linear-gradient(180deg, #c2faff, #4fd9ff); color: #04173a; }

/* sections */
section { padding: 72px 0; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--pink); font: 700 0.86rem var(--head); letter-spacing: 0.2em; text-transform: uppercase; }
.intro { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.band { background: linear-gradient(180deg, rgba(7, 26, 64, 0) 0, rgba(7, 26, 64, 0.55) 18%, rgba(7, 26, 64, 0.55) 82%, rgba(7, 26, 64, 0) 100%); }
@media (max-width: 699px) { section { padding: 56px 0; } }

/* the two districts */
.districts { display: grid; gap: 20px; margin-top: 28px; }
.district { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: 0 0 30px rgba(0, 150, 255, 0.08); }
.district img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.district div { padding: 20px 22px 22px; }
.district p { margin: 0; color: var(--soft); }
.tag { display: block; margin-bottom: 4px; color: var(--cyan); font: 700 0.82rem var(--head); letter-spacing: 0.18em; text-transform: uppercase; }
.district.neon .tag { color: var(--pink); }
@media (min-width: 800px) { .districts { grid-template-columns: 1fr 1fr; } }

/* features */
.features { display: grid; gap: 14px; margin-top: 28px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card2), var(--card)); }
.feature .ico { grid-row: span 2; display: flex; justify-content: center; align-items: center; height: 48px; }
.feature .ico img { width: auto; height: 38px; filter: drop-shadow(0 0 5px rgba(60, 230, 255, 0.95)) drop-shadow(0 0 14px rgba(60, 230, 255, 0.45)); }
.feature .ico img.glim { height: 56px; filter: drop-shadow(0 0 10px rgba(255, 90, 220, 0.5)); }
.feature h3 { margin: 4px 0 0; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feature { display: block; padding: 22px; }
  .feature .ico { justify-content: flex-start; margin-bottom: 14px; }
  .feature h3 { margin: 0 0 6px; }
}
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* screenshots: a swipeable row on phones, a grid on wide screens */
.shots { display: flex; gap: 14px; margin: 24px -16px 0; padding: 8px 16px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shot { flex: 0 0 min(64vw, 270px); margin: 0; scroll-snap-align: center; }
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 170, 255, 0.12); }
.shot figcaption { margin-top: 10px; text-align: center; font: 700 1.05rem var(--head); letter-spacing: 0.02em; }
@media (min-width: 700px) { .shots { margin: 24px -28px 0; padding: 8px 28px 18px; } }
@media (min-width: 980px) { .shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 22px; margin: 30px 0 0; padding: 0; overflow: visible; } }

/* play your way */
.fair { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
@media (min-width: 800px) { .fair { grid-template-columns: repeat(3, 1fr); gap: 18px; } .fair .feature { display: block; padding: 22px; } .fair .feature .ico { justify-content: flex-start; margin-bottom: 14px; } .fair .feature h3 { margin: 0 0 6px; } }

/* questions */
.faq { max-width: 820px; margin: 26px auto 0; text-align: left; }
.faq details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.faq summary { position: relative; padding: 16px 52px 16px 18px; cursor: pointer; list-style: none; font: 700 1.15rem var(--head); letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.glim-aside { width: 96px; margin: 0 auto 8px; filter: drop-shadow(0 0 12px rgba(255, 90, 220, 0.45)); }

/* footer */
.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot p { margin: 0; }

/* text pages: privacy policy, support, deleting data */
.doc { padding: 44px 0 64px; }
.doc .wrap { max-width: 840px; }
.doc h1 { font-size: clamp(2rem, 5.4vw, 2.9rem); margin-bottom: 0.25em; }
.doc .meta { margin-bottom: 28px; color: var(--muted); }
.doc h2 { margin-top: 1.7em; font-size: clamp(1.45rem, 3.6vw, 1.75rem); color: #e8fbff; }
.doc h3 { margin-top: 1.4em; }
.doc p, .doc li { color: var(--soft); }
.doc ul, .doc ol { margin: 0 0 1em; padding-left: 1.3em; }
.doc li { margin-bottom: 0.45em; }
.box { margin: 18px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.box p:last-child, .box ol:last-child, .box ul:last-child { margin-bottom: 0; }
.box.glow { border-color: var(--line2); box-shadow: 0 0 24px rgba(60, 230, 255, 0.12); }
.mail { font: 700 1.3rem var(--head); letter-spacing: 0.02em; }
table.data { width: 100%; margin: 8px 0 18px; border-collapse: collapse; font-size: 0.98rem; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { color: var(--cyan); font: 700 0.92rem var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
table.data td { color: var(--soft); }
@media (max-width: 640px) {
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { margin-bottom: 12px; padding: 6px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
  table.data td { padding: 6px 14px; border: 0; }
  table.data td::before { content: attr(data-label); display: block; color: var(--cyan); font: 700 0.78rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; }
}

/* not found */
.lost { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.lost img { width: 140px; margin: 0 auto 10px; }
.lost-text { margin: 0 auto 24px; }

/* press kit: the fact sheet and the downloads */
.facts { display: grid; grid-template-columns: minmax(110px, 32%) 1fr; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.facts dt, .facts dd { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { color: var(--cyan); font: 700 0.95rem var(--head); letter-spacing: 0.04em; }
.facts dd { color: var(--soft); }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.kit figure { margin: 0; }
.kit a { display: block; color: var(--text); text-decoration: none; }
.kit a:hover img { border-color: var(--line2); }
.kit img { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.kit .tall img { aspect-ratio: 9 / 16; object-fit: cover; }
.kit .square img { aspect-ratio: 1; object-fit: contain; padding: 10px; }
.kit .wide { grid-column: 1 / -1; }
.kit .wide img { aspect-ratio: 1024 / 500; object-fit: cover; }
.kit figcaption { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
