:root {
  color-scheme: light;
  --noir: #0d0e12;
  --velvet: #1b1c24;
  --screen: #f3efe5;
  --gold: #f7c948;
  --gold-deep: #c98a1f;
  --ember: #ef6c4d;
  --ink: #141414;
  --muted: rgba(243, 239, 229, 0.72);
  --panel: rgba(20, 21, 28, 0.86);
  --panel-soft: rgba(20, 21, 28, 0.65);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 20px rgba(247, 201, 72, 0.35);
  --radius: 18px;
}

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

body {
  font-family: "Spectral", "Times New Roman", serif;
  background: radial-gradient(circle at 20% 20%, rgba(247, 201, 72, 0.16), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(239, 108, 77, 0.18), transparent 45%),
    linear-gradient(140deg, #0b0c10 10%, #161824 60%, #101218 100%);
  color: var(--screen);
  min-height: 100vh;
}

.film-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.spotlight {
  position: fixed;
  inset: -20% 0 auto 0;
  height: 60vh;
  background: radial-gradient(circle at 50% 0%, rgba(247, 201, 72, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  padding: 2.5rem 6vw 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--screen);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.back-link::before {
  content: "\2190";
  font-size: 1.1rem;
}

.hero {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.marquee {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(247, 201, 72, 0.22), rgba(247, 201, 72, 0.06));
  border: 1px solid rgba(247, 201, 72, 0.45);
  width: fit-content;
  box-shadow: var(--glow);
  animation: marqueePulse 2.4s ease-in-out infinite;
}

.marquee-label {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  color: var(--gold);
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subtitle {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
}

.year-switch {
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.75);
  border: 1px solid rgba(247, 201, 72, 0.28);
  width: fit-content;
}

.year-button {
  width: auto;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.year-button.is-active {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--glow);
  border-color: rgba(247, 201, 72, 0.6);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat {
  background: var(--panel);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(247, 201, 72, 0.2);
  box-shadow: var(--shadow);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247, 201, 72, 0.8);
}

.stat-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  margin-top: 0.3rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
}

.board {
  background: var(--panel-soft);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}

.board-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-note {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 480px;
}

.board-tip {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247, 201, 72, 0.7);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.award-card {
  background: #11131a;
  border-radius: 16px;
  padding: 1.2rem 1.2rem 1rem;
  border: 1px solid rgba(247, 201, 72, 0.2);
  position: relative;
  overflow: hidden;
  animation: cardRise 0.6s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

.award-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(247, 201, 72, 0.12);
  border-radius: 16px;
  pointer-events: none;
}

.award-card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.3rem;
}

.award-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.checklist {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.check-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.6rem 0.6rem;
  border-radius: 12px;
  background: rgba(243, 239, 229, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.check-title {
  font-size: 0.95rem;
  color: var(--screen);
}

.check-title span {
  display: block;
  font-size: 0.75rem;
  color: rgba(247, 201, 72, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.check-item.checked .check-title {
  text-decoration: line-through;
  color: rgba(243, 239, 229, 0.55);
}

.remove-button {
  border: none;
  background: transparent;
  color: rgba(247, 201, 72, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
}

.empty-state {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(243, 239, 229, 0.08);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.control-panel {
  display: grid;
  gap: 1.4rem;
}

.panel-card {
  background: #0f1117;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(247, 201, 72, 0.12);
  box-shadow: var(--shadow);
}

.panel-card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

input,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(247, 201, 72, 0.2);
  padding: 0.6rem 0.7rem;
  background: #14161d;
  color: var(--screen);
  font-family: inherit;
}

button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.panel-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.panel-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

button.ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(247, 201, 72, 0.35);
}

button.danger {
  background: #ef6c4d;
  color: #1b0f0c;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket {
  background: linear-gradient(120deg, #1a1c26, #11121a);
  border: 1px dashed rgba(247, 201, 72, 0.4);
  position: relative;
  overflow: hidden;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b0c10;
  transform: translateY(-50%);
}

.ticket::before {
  left: -12px;
}

.ticket::after {
  right: -12px;
}

.ticket-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: rgba(247, 201, 72, 0.8);
}

.ticket-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  margin: 0.4rem 0;
}

.ticket-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes marqueePulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(247, 201, 72, 0.35);
  }
  50% {
    box-shadow: 0 0 32px rgba(247, 201, 72, 0.6);
  }
}

@keyframes cardRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .control-panel {
    order: -1;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 2rem 5vw 2.5rem;
  }

  .board-header {
    flex-direction: column;
  }

  button,
  .panel-actions button {
    letter-spacing: 0.14em;
  }
}
