/* BeatGlow — neon drum machine.
   Echoes the app itself: near-black, cyan/violet/pink gradient wordmark,
   monospaced uppercase labels. Loaded after /style.css, which supplies
   layout and typography; this only re-skins. */

:root {
  --bg: #08070e;
  --card: #141220;
  --text: #f2f0f8;
  --muted: #9d99b3;
  --accent: #22d3ee;   /* cyan, as in the app's UI */
}

body {
  background:
    radial-gradient(1200px 600px at 15% -10%, #10203a 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 0%, #1c0f2e 0%, transparent 55%),
    var(--bg);
  /* No background-attachment: fixed — iOS Safari handles it poorly and it
     left a visible seam on long pages. */
  background-repeat: no-repeat;
}

/* The BEATGLOW wordmark treatment from the app's title bar. The gradient is
   clipped to the glyphs, so any emoji must opt out (see .glyph) or it
   renders as a solid colored block. */
h1 {
  font-weight: 800;
  letter-spacing: 0.01em;
  /* Hug the glyphs: a full-width block would map only the gradient's
     leftmost slice onto a short word. fit-content rather than
     inline-block, so the breadcrumb above still gets its own line. */
  width: fit-content;
  background: linear-gradient(100deg, #22d3ee 0%, #7c5cff 45%, #ff2d92 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 .glyph {
  -webkit-background-clip: initial;
  background-clip: initial;
  color: initial;
  background: none;
  margin-right: 0.15em;
}

/* Pattern-name styling: spaced-out monospace, like "NEON BOOM BAP". */
.tagline {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: #7f7a96;
}

h2 {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  color: var(--accent);
}

.card {
  border: 1px solid rgba(34, 211, 238, 0.14);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: #d6d2e6;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

footer { border-top-color: #221f33; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: opacity 0.15s ease; }
  a:hover { opacity: 0.85; }
}
