@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-Regular"),
    url("assets/fonts/Spiegel-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-RegularItalic"),
    url("assets/fonts/Spiegel-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-SemiBold"),
    url("assets/fonts/Spiegel-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-SemiBoldItalic"),
    url("assets/fonts/Spiegel-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-Bold"),
    url("assets/fonts/Spiegel-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Spiegel";
  src: local("Spiegel"),
    local("Spiegel-BoldItalic"),
    url("assets/fonts/Spiegel-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a1428;
  --ink: #f0e6d2;
  --muted: #b6aa94;
  --edge: #1e2a3a;
  --accent: #c8aa6e;
  --accent-soft: #a98b53;
  --surface: #0f1d2e;
  --surface-muted: #12243a;
  --up: #32b38d;
  --down: #e0746b;
  --shadow: 0 30px 70px rgba(5, 10, 22, 0.5);
  --lol-navy: #0a1428;
  --lol-navy-soft: #112238;
  --lol-gold: #c8aa6e;
  --lol-gold-strong: #f0e6d2;
  --season-track: #16263b;
  --season-divider: rgba(200, 170, 110, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Spiegel", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-weight: 400;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
}

body::before {
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(200, 170, 110, 0.25) 0%, rgba(10, 20, 40, 0) 70%);
}

body::after {
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(88, 170, 255, 0.18) 0%, rgba(10, 20, 40, 0) 70%);
}

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

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 600;
}

.hero-subtitle {
  margin: 4px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
}

.season-status {
  padding: 30px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}

.season-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.season-header h2 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.season-meta {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

.season-bar {
  display: flex;
  gap: 0;
  margin: 20px 0 14px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--season-track);
  border: 1px solid var(--edge);
}

.season-segment {
  position: relative;
  flex: 0 0 var(--w);
  min-height: 20px;
  background: transparent;
  overflow: hidden;
}

.season-segment + .season-segment {
  border-left: 1px solid var(--season-divider);
}

.segment-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(120deg, var(--lol-gold) 0%, var(--lol-gold-strong) 100%);
}

.season-segment.is-upcoming .segment-fill {
  width: 0%;
  background: transparent;
}

.season-segment.is-active .segment-fill,
.season-segment.is-complete .segment-fill {
  background: linear-gradient(120deg, var(--lol-gold) 0%, var(--lol-gold-strong) 100%);
}

.segment-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.75;
  text-shadow: 0 1px 0 rgba(10, 20, 40, 0.45);
  font-weight: 400;
}

.season-segment.is-upcoming .segment-label {
  color: var(--muted);
  opacity: 0.7;
}

.season-insight {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
}

.timers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.timer-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 18px 20px;
}

.timer-card h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  font-weight: 600;
}

.timer-value {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.timer-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

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

.meta-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 20px;
  min-height: 170px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.meta-card h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.card-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-item {
  font-size: 0.96rem;
  color: var(--ink);
  font-weight: 400;
}

.meta-item.up {
  color: var(--up);
}

.meta-item.down {
  color: var(--down);
}

.mental-note {
  margin: 16px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
  font-weight: 400;
}

.reveal {
  animation: rise 0.8s ease both;
}

.reveal-stagger > * {
  animation: rise 0.8s ease both;
}

.reveal-stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal-stagger > *:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal-stagger > *:nth-child(3) {
  animation-delay: 0.19s;
}

.reveal-stagger > *:nth-child(4) {
  animation-delay: 0.26s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    animation: none;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 32px 18px 48px;
  }

  .season-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .season-bar {
    flex-direction: column;
  }

  .season-segment {
    min-height: 20px;
  }
}
