/* ============================================================
   HipDiscovery — site styles
   Palette: midnight blue room + logo aqua
   Type: Chakra Petch (display) / Outfit (body) / JetBrains Mono (data)
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-raise: #0a101f;
  --panel: #0d1526;
  --panel-2: #101a30;
  --line: #1c2a45;
  --line-soft: #16223a;
  --text: #dce6f7;
  --muted: #8b99b8;
  --dim: #5c6a8a;
  --aqua: #4de3d2;
  --aqua-deep: #2fb9ab;
  --aqua-glow: rgba(77, 227, 210, 0.14);
  --live: #ff4d5e;
  --live-glow: rgba(255, 77, 94, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle room-light wash at top of page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 480px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(38, 84, 150, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, nav, footer { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.display {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.state-hidden { display: none !important; }

/* ---------- nav ---------- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 34px; border-radius: 8px; }

.nav-links {
  display: none;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  border-bottom: 2px solid var(--aqua);
  padding-bottom: 3px;
}

@media (min-width: 760px) {
  .nav-links { display: flex; }
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--panel-2); border-color: #2a3d63; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

.btn-primary {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #04211d;
}
.btn-primary:hover { background: #63ecdc; border-color: #63ecdc; }

.btn-twitch { background: #772ce8; border-color: #772ce8; color: #fff; }
.btn-twitch:hover { background: #8d4bf0; border-color: #8d4bf0; }

.btn-live {
  background: var(--live) !important;
  border-color: var(--live) !important;
  color: #fff !important;
  animation: livePulse 2.2s ease-out infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 var(--live-glow); }
  70%  { box-shadow: 0 0 0 16px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  gap: 48px;
  padding: 64px 0 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 7fr 5fr; padding: 88px 0 72px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
  color: var(--muted);
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
  animation: breathe 2.4s ease-in-out infinite;
}
.eyebrow.is-live .dot { background: var(--live); box-shadow: 0 0 10px var(--live); }
.eyebrow.is-live { border-color: rgba(255, 77, 94, 0.4); color: #ffb3ba; }

@keyframes breathe { 50% { opacity: 0.45; } }

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 5.5rem);
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--aqua); text-shadow: 0 0 34px var(--aqua-glow); }

.hero .lede {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 26px 0 34px;
}

.socials { display: flex; flex-wrap: wrap; gap: 12px; }

.social-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.social-card:hover { transform: translateY(-3px); border-color: #2a3d63; }
.social-card i { font-size: 1.7rem; }
.social-card .name { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.social-card .handle { font-size: 0.75rem; color: var(--dim); }
.i-twitch { color: #a970ff; }
.i-youtube { color: #ff4444; }
.i-tiktok { color: var(--text); }
.i-discord { color: #5865f2; }
.i-mail { color: var(--aqua); }

/* HUD-framed setup photo */
.hud-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(38, 84, 150, 0.35);
}
.hud-frame img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; }

.hud-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.55), transparent 45%);
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--aqua);
  border-style: solid;
  border-width: 0;
  opacity: 0.9;
  z-index: 2;
}
.hud-corner.tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.hud-corner.tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.hud-corner.bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corner.br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }

.hud-tag {
  position: absolute;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  color: var(--aqua);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- broadcast timeline (signature) ---------- */
.timeline-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  margin-bottom: 64px;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.timeline-head h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.timeline-head .mono { color: var(--dim); }
#tl-clock { color: var(--aqua); }

.timeline-track {
  position: relative;
  height: 40px;
  background: var(--bg-raise);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: visible;
}

.timeline-window {
  position: absolute;
  top: 4px; bottom: 4px;
  left: calc(16 / 24 * 100%);
  width: calc(7 / 24 * 100%);
  background: linear-gradient(180deg, rgba(77, 227, 210, 0.28), rgba(77, 227, 210, 0.1));
  border: 1px solid rgba(77, 227, 210, 0.5);
  border-radius: 7px;
  box-shadow: 0 0 24px -4px var(--aqua-glow);
}

.timeline-window .label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aqua);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-now {
  position: absolute;
  top: -7px; bottom: -7px;
  width: 2px;
  background: var(--text);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(220, 230, 247, 0.8);
  transition: left 1s linear;
}
.timeline-now::after {
  content: "NOW";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.timeline-now.is-live { background: var(--live); box-shadow: 0 0 14px var(--live); }
.timeline-now.is-live::after { content: "LIVE"; color: var(--live); }

.timeline-hours {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.65rem;
}

/* ---------- section scaffolding ---------- */
.section { margin-bottom: 72px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
}

.section-head .side { color: var(--dim); font-size: 0.85rem; }
.section-head a.side:hover { color: var(--text); }

/* ---------- live panel (home) ---------- */
.live-panel {
  display: grid;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 28px;
  transition: border-color 0.3s ease;
}
@media (min-width: 760px) {
  .live-panel { grid-template-columns: 1fr auto; align-items: center; }
}
.live-panel.is-live {
  border-color: rgba(255, 77, 94, 0.45);
  background: linear-gradient(120deg, rgba(255, 77, 94, 0.07), var(--panel) 45%);
}

.live-info .status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.live-info .status-line .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--dim);
}
.is-live .live-info .status-line .dot {
  background: var(--live);
  box-shadow: 0 0 12px var(--live);
  animation: breathe 1.6s ease-in-out infinite;
}
.is-live .live-info .status-line { color: var(--live); }

.live-info .detail { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.live-info .detail .mono { color: var(--aqua); }

/* ---------- game cards ---------- */
.games { display: grid; gap: 20px; }
@media (min-width: 760px) { .games { grid-template-columns: repeat(3, 1fr); } }

.game-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: #2a3d63;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}

.game-card .art { position: relative; height: 172px; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; }
.game-card .art .flag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua);
  background: rgba(7, 11, 20, 0.82);
  border: 1px solid rgba(77, 227, 210, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.game-card .body { padding: 20px 22px 22px; }
.game-card h3 { font-family: 'Chakra Petch', sans-serif; font-size: 1.2rem; margin-bottom: 6px; }
.game-card p { color: var(--muted); font-size: 0.9rem; }

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 14px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  transition: border-color 0.15s ease;
}
.code-chip:hover { border-color: var(--aqua-deep); }
.code-chip:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.code-chip .lbl { color: var(--dim); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.code-chip .cpy { color: var(--aqua); }
.code-chip.copied { border-color: var(--aqua); }
.code-chip.copied .cpy { color: #7df5e8; }

.card-note { margin-top: 10px; font-size: 0.72rem; color: var(--dim); }

/* ---------- pillars / yt band ---------- */
.pillars { display: grid; gap: 20px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar .art { height: 150px; }
.pillar .art img { width: 100%; height: 100%; object-fit: cover; }
.pillar .body { padding: 20px 22px; }
.pillar .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua);
}
.pillar h3 { font-family: 'Chakra Petch', sans-serif; font-size: 1.1rem; margin: 6px 0; }
.pillar p { color: var(--muted); font-size: 0.88rem; }

.yt-band {
  display: grid;
  gap: 22px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
@media (min-width: 760px) { .yt-band { grid-template-columns: auto 1fr auto; } }
.yt-band i { font-size: 2.6rem; color: #ff4444; }
.yt-band h3 { font-family: 'Chakra Petch', sans-serif; font-size: 1.25rem; margin-bottom: 4px; }
.yt-band p { color: var(--muted); font-size: 0.92rem; }
.yt-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- community ---------- */
.community {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(77, 227, 210, 0.08), transparent 65%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 28px;
}
.community h2 { font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; margin-bottom: 12px; }
.community p { color: var(--muted); max-width: 26rem; margin: 0 auto 30px; }

/* ---------- watch page ---------- */
.page-head { padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); text-transform: uppercase; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin-top: 14px; }

.state-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--muted);
  margin-bottom: 18px;
}
.state-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.state-label.is-live {
  border-color: rgba(255, 77, 94, 0.45);
  color: var(--live);
}
.state-label.is-live .dot {
  background: var(--live);
  box-shadow: 0 0 10px var(--live);
  animation: breathe 1.6s ease-in-out infinite;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.player-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-shell.live-glow { border-color: rgba(255, 77, 94, 0.45); box-shadow: 0 0 60px -18px var(--live-glow), 0 30px 80px -30px rgba(0, 0, 0, 0.8); }

.player-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.player-meta { margin-top: 18px; }
.player-meta h2 { font-family: 'Chakra Petch', sans-serif; font-size: 1.35rem; line-height: 1.25; }
.player-meta .sub { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.player-meta .sub .mono { color: var(--aqua); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* professional links band */
.pro-band {
  border-top: 1px solid var(--line-soft);
  margin-top: 72px;
  padding-top: 48px;
}
.pro-band .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.pro-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* ---------- emotes ---------- */
.sub-cta {
  display: grid;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 48px;
}
@media (min-width: 760px) { .sub-cta { grid-template-columns: 1fr auto; align-items: center; } }
.sub-cta h3 { font-family: 'Chakra Petch', sans-serif; font-size: 1.3rem; margin-bottom: 5px; }
.sub-cta p { color: var(--muted); font-size: 0.92rem; }
.sub-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

.emote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.emote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.emote:hover { transform: scale(1.05); border-color: var(--aqua-deep); }
.emote img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; image-rendering: -webkit-optimize-contrast; }
.emote .code { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--muted); word-break: break-all; }

.emote.skeleton { pointer-events: none; }
.emote.skeleton .ph-img,
.emote.skeleton .ph-txt {
  background: linear-gradient(100deg, var(--bg-raise) 40%, var(--panel-2) 50%, var(--bg-raise) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 10px;
}
.emote.skeleton .ph-img { width: 64px; height: 64px; margin: 0 auto 12px; }
.emote.skeleton .ph-txt { width: 70%; height: 12px; margin: 0 auto; }
@keyframes shimmer { to { background-position: -200% 0; } }

.tier-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.notice-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  color: var(--muted);
}
.notice-card a { color: var(--aqua); }

/* ---------- links (bio) page ---------- */
.bio {
  max-width: 500px;
  margin: 0 auto;
  padding: 56px 0 24px;
  text-align: center;
}
.bio .avatar {
  width: 96px; height: 96px;
  border-radius: 24px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px -10px var(--aqua-glow);
}
.bio h1 { font-size: 2.2rem; text-transform: uppercase; }
.bio .tagline { color: var(--muted); margin: 10px 0 8px; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 26px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live-pill.is-live { border-color: rgba(255, 77, 94, 0.5); color: var(--live); }
.live-pill.is-live .dot { background: var(--live); box-shadow: 0 0 10px var(--live); animation: breathe 1.6s ease-in-out infinite; }

.bio-links { display: grid; gap: 12px; text-align: left; }

.bio-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.bio-link:hover { transform: translateY(-2px); border-color: #2a3d63; }
.bio-link i { font-size: 1.45rem; width: 28px; text-align: center; }
.bio-link .name { font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.bio-link .desc { font-size: 0.76rem; color: var(--dim); }
.bio-link .go { margin-left: auto; color: var(--dim); }
.bio-link.featured { border-color: rgba(77, 227, 210, 0.5); background: linear-gradient(120deg, rgba(77, 227, 210, 0.08), var(--panel) 55%); }
.bio-link.featured-live { border-color: rgba(255, 77, 94, 0.55); background: linear-gradient(120deg, rgba(255, 77, 94, 0.1), var(--panel) 55%); }

.bio-codes { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 0;
  font-size: 0.85rem;
  color: var(--dim);
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--panel-2);
  border: 1px solid var(--aqua-deep);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 11px 20px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
