:root {
  --bbq-dark: #120805;
  --bbq-brown: #2a0e06;
  --bbq-red: #9e1710;
  --bbq-red-deep: #650b08;
  --cream: #fff0c9;
  --mustard: #efb72e;
  --orange: #dc5b21;
  --ink: #1a0703;
  --shadow: rgba(18, 8, 5, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    linear-gradient(rgba(18,8,5,.82), rgba(18,8,5,.88)),
    repeating-linear-gradient(45deg, #54100b 0 18px, #320b07 18px 36px);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    radial-gradient(circle at 1px 1px, #fff0c9 1px, transparent 1px);
  background-size: 8px 8px;
  mix-blend-mode: overlay;
}

.site-shell {
  min-height: 100vh;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid var(--mustard);
  border-top: 3px solid var(--mustard);
  background: var(--bbq-red-deep);
  color: var(--cream);
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .08em;
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 4rem;
  padding: .45rem 0;
  animation: ticker-scroll 18s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.page {
  width: min(820px, 94vw);
  margin: 0 auto;
  padding: 1.8rem 0 2.5rem;
  text-align: center;
}

.hero-header {
  margin-bottom: 1.15rem;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .6rem;
  margin-bottom: .7rem;
  border: 1px solid var(--mustard);
  background: rgba(18,8,5,.72);
  color: var(--mustard);
  font: 700 .73rem/1 "Courier New", monospace;
  letter-spacing: .1em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 0 10px var(--mustard);
  animation: blink 1.2s steps(2, end) infinite;
}

@keyframes blink {
  50% { opacity: .25; }
}

h1 {
  margin: 0;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: clamp(2.45rem, 9vw, 5.8rem);
  line-height: .86;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow:
    0 4px 0 var(--bbq-red-deep),
    0 7px 0 var(--ink),
    0 10px 20px rgba(0,0,0,.45);
}

h1 span {
  color: var(--mustard);
}

.ticker-name {
  display: inline-block;
  margin: .85rem 0 0;
  padding: .3rem .72rem;
  background: var(--cream);
  color: var(--bbq-red-deep);
  border: 3px double var(--bbq-red-deep);
  font-family: "Courier New", monospace;
  font-weight: 900;
  letter-spacing: .18em;
}

.video-section {
  margin: 1.2rem auto 1.5rem;
}

.video-frame {
  width: min(480px, 88vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 7px;
  background: var(--cream);
  border: 6px solid var(--bbq-brown);
  outline: 3px solid var(--mustard);
  box-shadow:
    12px 12px 0 var(--bbq-red-deep),
    16px 16px 0 var(--ink);
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-meta {
  width: min(480px, 88vw);
  margin: .75rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font: 900 .78rem/1.2 "Courier New", monospace;
  letter-spacing: .08em;
}

.tiny-button,
.copy-button,
.retro-button {
  font: 900 .8rem/1 Arial, sans-serif;
  border: 3px outset var(--cream);
  color: var(--cream);
  background: var(--bbq-red);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .08s ease, filter .08s ease;
}

.tiny-button {
  padding: .4rem .55rem;
}

.tiny-button:active,
.copy-button:active,
.retro-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  border-style: inset;
}

.statement-panel,
.contract-panel,
.info-strip {
  background: rgba(255, 240, 201, .94);
  color: var(--ink);
  border: 5px double var(--bbq-red-deep);
  box-shadow: 7px 7px 0 var(--bbq-brown);
}

.statement-panel {
  padding: 1.15rem 1rem 1.25rem;
  margin: 1.4rem 0;
}

.flame-divider {
  letter-spacing: .7rem;
  margin-bottom: .45rem;
  filter: saturate(1.2);
}

.statement-panel h2 {
  margin: 0;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  line-height: .95;
  color: var(--bbq-red-deep);
  text-transform: uppercase;
}

.statement-panel p {
  margin: .75rem auto 0;
  max-width: 580px;
  font-weight: 700;
  line-height: 1.45;
}

.contract-panel {
  margin: 1.2rem 0;
  padding: 0;
  overflow: hidden;
}

.panel-label {
  padding: .45rem .8rem;
  background: var(--bbq-red-deep);
  color: var(--cream);
  font: 900 .82rem/1 "Courier New", monospace;
  letter-spacing: .12em;
}

.contract-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem;
}

.contract-row code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
  font: 700 .86rem/1.35 "Courier New", monospace;
}

.copy-button {
  padding: .75rem .85rem;
  color: var(--cream);
}

.link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.25rem 0;
}

.retro-button {
  min-width: 150px;
  padding: .78rem 1rem;
  background: var(--bbq-red);
}

.retro-button:hover,
.copy-button:hover,
.tiny-button:hover {
  filter: brightness(1.12);
}

.disabled-link {
  opacity: .78;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.15rem;
}

.info-strip > div {
  padding: .8rem .45rem;
}

.info-strip > div + div {
  border-left: 2px dotted var(--bbq-red-deep);
}

.info-strip strong,
.info-strip span {
  display: block;
}

.info-strip strong {
  margin-bottom: .35rem;
  color: var(--bbq-red-deep);
  font: 900 .72rem/1 "Courier New", monospace;
}

.info-strip span {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: .9rem;
}

footer {
  padding-top: 1.4rem;
  font-family: "Courier New", monospace;
}

.counter {
  display: inline-block;
  padding: .35rem .65rem;
  background: #000;
  color: #67ff59;
  border: 2px inset #bcbcbc;
  font-weight: 700;
}

.counter span {
  color: #fff;
}

footer p {
  margin: .8rem 0 0;
  font-weight: 700;
}

.fine-print {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,240,201,.68);
  font-size: .68rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .page {
    padding-top: 1.25rem;
  }

  .video-frame {
    box-shadow:
      7px 7px 0 var(--bbq-red-deep),
      10px 10px 0 var(--ink);
  }

  .video-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .tiny-button {
    align-self: center;
  }

  .contract-row {
    grid-template-columns: 1fr;
  }

  .copy-button {
    width: 100%;
  }

  .link-row {
    flex-direction: column;
  }

  .retro-button {
    width: 100%;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip > div + div {
    border-left: 0;
    border-top: 2px dotted var(--bbq-red-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
