:root {
  color-scheme: dark;
  --bg: #030303;
  --surface: rgba(10, 10, 11, 0.86);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f5f0;
  --muted: #a6a6a0;
  --dim: #6d6d68;
  --signal: #e9ff70;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(233, 255, 112, 0.08), transparent 28rem),
    linear-gradient(245deg, rgba(255, 255, 255, 0.06), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.awards-page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 64px;
}

.intro {
  display: grid;
  justify-items: center;
  padding: 32px 0 42px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border: 2px solid var(--text);
  border-radius: 50%;
  box-shadow: inset 6px 0 0 var(--signal);
}

h1,
h2 {
  margin: 0;
  font-weight: 820;
  line-height: 0.86;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(58px, 12vw, 136px);
}

h2 {
  font-size: clamp(44px, 8vw, 92px);
}

.lede {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.22;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 70%),
    var(--surface);
  padding: clamp(20px, 4vw, 38px);
}

.setup-form,
.stage,
.recap-panel {
  display: grid;
  gap: 20px;
}

label {
  display: grid;
  gap: 8px;
}

label span,
.tools-kicker,
.stage-topline,
.award-label {
  color: var(--signal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 14px;
}

.status,
.award-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
}

.button-light {
  border: 1px solid #eff2d6;
  background: #f5f7e9;
  color: #11120e;
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.stage {
  min-height: 560px;
  align-content: center;
  overflow: hidden;
  position: relative;
}

.stage::before {
  position: absolute;
  inset: -30%;
  content: "";
  background:
    conic-gradient(from 90deg, transparent, rgba(233, 255, 112, 0.08), transparent),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 34rem);
  animation: spotlight 8s linear infinite;
}

.stage > * {
  position: relative;
  z-index: 1;
}

.stage-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.award-label {
  margin: 0;
}

.nominees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nominees span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 9px 13px;
  font-weight: 720;
}

.reveal-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(24px, 5vw, 44px);
}

.reveal-card.revealed {
  border-color: rgba(233, 255, 112, 0.75);
  animation: winnerPop 700ms ease both;
}

.reveal-card p {
  margin: 0;
  color: var(--signal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.reveal-card strong {
  color: var(--text);
  font-size: clamp(46px, 9vw, 110px);
  line-height: 0.9;
}

.reveal-card span {
  color: var(--muted);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
}

.recap-list {
  display: grid;
  gap: 8px;
  width: 100%;
}

.recap-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px 16px;
}

.recap-row span {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@keyframes spotlight {
  to {
    transform: rotate(1turn);
  }
}

@keyframes winnerPop {
  0% {
    transform: scale(0.96);
  }
  65% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .awards-page {
    width: min(100% - 28px, 1080px);
  }

  .stage-topline,
  .recap-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
