/* Tap Tap Tempo — the game's own light, on the web.
   One stylesheet, no fonts to fetch, no scripts. A privacy page that loads
   third-party assets is a joke told badly. */

:root {
  --void:    #05060b;
  --ink:     #e8ecf5;
  --haze:    #7d8aa3;
  --cyan:    #3fe1f0;
  --magenta: #ff2fb0;
  --mint:    #58f0b8;
  --rule:    rgba(125, 138, 163, 0.22);
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  /* The menu's backdrop: two quiet pools of colour in an otherwise black room. */
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%,   rgba(63, 225, 240, 0.10), transparent 70%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(255, 47, 176, 0.09), transparent 70%);
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 0 24px 72px;
  color: var(--ink);
  font: 300 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 660px; margin: 0 auto; }

/* ---- The wordmark ---------------------------------------------------- */

header { padding: 76px 0 44px; text-align: center; }

.mark { display: block; text-decoration: none; }

.mark .small {
  display: block;
  font-size: clamp(19px, 5.2vw, 27px);
  font-weight: 200;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(63, 225, 240, 0.75), 0 0 44px rgba(63, 225, 240, 0.35);
}

.mark .big {
  display: block;
  margin-top: 2px;
  font-size: clamp(40px, 12vw, 66px);
  font-weight: 100;
  letter-spacing: 0.07em;
  text-indent: 0.07em;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.5), 0 0 60px rgba(63, 225, 240, 0.4);
}

.tagline {
  margin: 22px 0 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--magenta);
  text-transform: uppercase;
}

/* ---- Type ------------------------------------------------------------ */

h1, h2 {
  font-weight: 200;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1 { font-size: 15px; margin: 0 0 30px; text-align: center; }
h2 { font-size: 12px; margin: 44px 0 12px; color: var(--haze); }

p, li { color: #cdd5e4; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { color: #fff; font-weight: 500; }

a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { border-bottom-color: var(--cyan); }

hr { border: 0; height: 1px; background: var(--rule); margin: 40px 0; }

.lede { font-size: 19px; color: var(--ink); }

.stamp {
  margin-top: 44px;
  font-size: 12px;
  color: var(--haze);
}

/* ---- Mode cards ------------------------------------------------------ */

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 34px 0 8px;
}

.mode {
  padding: 20px 18px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
}

.mode b {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  margin-bottom: 8px;
}
.mode.classic b { color: var(--magenta); }
.mode.arcade  b { color: var(--cyan); }
.mode.zen     b { color: var(--mint); }
.mode span { font-size: 15px; color: var(--haze); }

/* ---- Footer ---------------------------------------------------------- */

footer {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 13px;
  color: var(--haze);
}

footer a { margin: 0 10px; border-bottom: none; color: var(--haze); }
footer a:hover { color: var(--cyan); }

.heritage {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
  .mark { transition: opacity 0.3s ease; }
  .mark:hover { opacity: 0.86; }
}
