@font-face {
  font-family: Orbitron;
  src: url("./fonts/orbitron-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #050505;
  --ink: #f0f0f0;
  --muted: #bdbdbd;
  --silver: #bdbdbd;
  --line: #c8c8c82b;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-width: 0;
  margin: 0;
  isolation: isolate;
  color: var(--ink);
  background: var(--night);
}
.night-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--night) url("./assets/night-sky.svg") center bottom / cover no-repeat;
}
.night-sky::before,
.night-sky::after {
  position: absolute;
  inset: 0;
  content: "";
}
.night-sky::before {
  background: url("./assets/grain.png") repeat;
  opacity: .45;
}
.night-sky::after {
  top: auto;
  height: clamp(120px, 23vh, 260px);
  background:
    linear-gradient(0deg, #050505 2%, transparent 78%),
    repeating-radial-gradient(ellipse 56% 53% at 50% 100%, #a0a0a016 0 1px, transparent 2px 24px),
    radial-gradient(ellipse 60% 65% at 50% 100%, #6665, transparent 100%);
  mask-image: linear-gradient(0deg, #000, #000b 53%, transparent);
}
.yoy-watermark {
  position: fixed;
  z-index: -1;
  inset: 35% auto auto 50%;
  width: min(92vw, 1700px);
  height: auto;
  transform: translate(-50%, -50%);
  color: #d0d0d0;
  opacity: .075;
  mask-image: radial-gradient(ellipse at 50% 48%, #000 18%, #0008 62%, transparent 100%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 5px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(1080px, calc(100% - 72px)); margin-inline: auto; }
.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.signature, footer { display: flex; align-items: center; gap: 10px; }
.signature span, footer span { font-family: Orbitron, system-ui, sans-serif; font-weight: 700; letter-spacing: .12em; }
.signature svg, footer svg { width: 17px; height: 17px; color: var(--silver); }
.share {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  background: #1d1d1d;
  font-size: .83rem;
  transition: background .18s ease, border-color .18s ease;
}
.share:hover { background: #2c2c2c; border-color: #bdbdbd88; }
.share svg { width: 16px; height: 16px; }
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 33vw, 425px);
  padding: 32px clamp(12px, 4vw, 56px);
}
.hero-copy { width: fit-content; max-width: 100%; text-align: center; }
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #bfbfbf;
  font-size: .71rem;
  font-weight: 650;
  letter-spacing: .27em;
}
.eyebrow svg { width: 12px; height: 12px; }
h1 { margin: 17px 0 0; }
.yoy-wordmark {
  display: block;
  width: clamp(240px, 35vw, 475px);
  max-width: 100%;
  height: auto;
  color: #bfbfbf;
  filter: drop-shadow(0 8px 24px #000b);
}
.hero p { margin: 15px 0 25px; color: #d5d5d5; font-size: clamp(.91rem, 1.6vw, 1.1rem); }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #d0d0d0;
  border-radius: 99px;
  background: linear-gradient(110deg, #e6e6e6, #aaa);
  color: #151515;
  font-size: .8rem;
  font-weight: 650;
  transition: background .18s ease;
}
.hero-link:hover { background: #d0d0d0; }
.hero-link span { color: #151515; font-size: 1.05rem; }
.frame-marks { position: absolute; inset: 0; pointer-events: none; }
.spark { position: absolute; color: #e6e6e6; filter: drop-shadow(0 0 10px #929292); }
.spark-one { right: 5.1%; top: 14%; width: 29px; height: 29px; }
.spark-two { right: 8.3%; top: 10%; width: 10px; height: 10px; opacity: .7; }
.spark-three { right: 5%; bottom: 12%; width: 14px; height: 14px; opacity: .8; }
.links-section { scroll-margin-top: 18px; padding-top: 28px; }
.section-head { display: flex; align-items: center; gap: 19px; margin-bottom: 14px; }
.section-head h2 { margin: 0; font: 700 clamp(1.15rem, 2.5vw, 1.6rem)/1.25 Orbitron, system-ui, sans-serif; }
.section-head .rule { height: 1px; flex: 1; background: linear-gradient(90deg, #bcbcbc50, #bcbcbc15); }
.section-head svg { width: 13px; height: 13px; color: #bcbcbc; }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.support { grid-column: 1 / -1; }
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 79px;
  padding: 12px 16px;
  border: 1px solid #393939;
  border-radius: 14px;
  background: linear-gradient(105deg, #181818f2, #101010f2 75%);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
a.social-card:hover {
  border-color: #777;
  background: #222;
  transform: translateY(-2px);
}
.social-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: none;
  border-radius: 11px;
  border: 1px solid #3b3b3b;
  background: #232323;
  color: #cfcfcf;
}
.social-icon svg { width: 21px; height: 21px; }
.social-copy { display: grid; gap: 3px; }
.social-copy strong { font-size: .96rem; font-weight: 650; }
.social-copy > span { color: var(--muted); font-size: .75rem; }
.card-end { margin-left: auto; color: #cfcfcf; display: grid; place-items: center; }
.card-end svg { width: 20px; height: 20px; }
footer { min-height: 71px; justify-content: center; color: #a6a6a6; font-size: .69rem; }
footer svg { width: 11px; height: 11px; }
.toast {
  position: fixed;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #252525;
  box-shadow: 0 6px 30px #0006;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-size: .85rem;
  white-space: nowrap;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog {
  width: min(410px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1a1a1a;
  color: var(--ink);
}
dialog::backdrop { background: #000b; }
dialog h2 { margin: 0 0 14px; font-family: Georgia, serif; }
dialog label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .85rem; }
dialog input { width: 100%; padding: 10px; margin-bottom: 14px; background: #101010; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; }
@media (max-width: 660px) {
  .shell { width: calc(100% - 32px); }
  .night-sky { background-position: 42% bottom; }
  .topbar { min-height: 64px; }
  .hero { min-height: 320px; padding: 24px 10px; }
  .yoy-watermark { width: 96vw; top: 38%; }
  .yoy-wordmark { width: min(76vw, 345px); }
  .hero p { margin: 10px 0 16px; }
  .links-section { padding-top: 24px; }
  .link-grid { grid-template-columns: 1fr; gap: 10px; }
  .social-card { min-height: 68px; }
  .spark-one { top: 11%; right: 7%; width: 23px; height: 23px; }
  .spark-two { top: 7%; right: 13%; }
  .spark-three { right: 8%; bottom: 9%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.topbar > a[href="/admin"] { margin-left: auto; margin-right: 10px; }
.social-copy { min-width: 0; overflow-wrap: anywhere; }
.admin-shell { max-width: 720px; padding-bottom: 48px; }
.admin-shell h1 { font: 700 clamp(1.5rem, 5vw, 2.2rem)/1.25 Orbitron, system-ui, sans-serif; }
.admin-note { color: var(--muted); line-height: 1.55; }
#admin-status { min-height: 1.5em; }
.admin-panel {
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #393939;
  border-radius: 14px;
  background: #151515f2;
}
.admin-panel h2 { margin: 0 0 14px; font-size: 1.15rem; }
.admin-panel form { display: grid; gap: 12px; }
.admin-panel label { display: grid; gap: 6px; font-size: .86rem; }
.admin-panel input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #0d0d0d;
  color: var(--ink);
}
.admin-panel form button { justify-self: start; }
.admin-panel button:disabled { cursor: default; opacity: .55; }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-panel form + .admin-list { margin-top: 16px; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; }
.admin-list li + li { border-top: 1px solid #393939; }
.admin-list span { min-width: 0; overflow-wrap: anywhere; }
.admin-list small { display: block; margin-top: 4px; color: var(--muted); }
