:root {
  --red: #ff1a1a;
  --red-deep: #c62828;
  --red-soft: #ff8a80;
  --ink: #140808;
  --paper: #fff5f2;
  --muted: #8a6a66;
  --line: rgba(20, 8, 8, 0.12);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 26, 26, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 40, 40, 0.12), transparent 55%),
    linear-gradient(180deg, #fff8f6 0%, var(--paper) 40%, #ffe8e2 100%);
  min-height: 100vh;
  line-height: 1.5;
}

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

a {
  color: var(--red-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(20, 8, 8, 0.55), transparent);
  mix-blend-mode: normal;
}

.site-nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.site-nav .logo img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.site-nav nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.site-nav nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav nav a[aria-current="page"],
.site-nav nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 8, 8, 0.25) 0%, rgba(20, 8, 8, 0.15) 35%, rgba(20, 8, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 26, 26, 0.22), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 52rem;
  animation: riseIn 0.9s ease both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
  font-weight: 400;
  max-width: 16ch;
}

.lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  font-weight: 500;
}

.page .lede {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-deep);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.status {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1100px;
}

.stat-label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.stat-value.mono {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
  font-size: 0.65em;
}

.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  vertical-align: middle;
  background: var(--muted);
  border-radius: 1px;
}

.dot.is-online {
  background: #1faa4a;
  animation: pulse 1.6s ease infinite;
}

.dot.is-offline {
  background: var(--red);
}

.modes,
.vibe,
.page {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

.modes h2,
.vibe h2,
.page-hero .brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.modes h2,
.vibe h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 0.4rem;
  line-height: 0.95;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40ch;
}

.mode-strip {
  display: grid;
  gap: 1.5rem;
}

.mode {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.mode img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.mode h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  letter-spacing: 0.04em;
}

.mode p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.mode.soon {
  opacity: 0.72;
}

.vibe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 26, 26, 0.08), transparent 40%),
    #140808;
  color: #fff;
}

.vibe .lede,
.vibe p {
  color: rgba(255, 255, 255, 0.78);
}

.vibe h2 {
  color: #fff;
  max-width: 12ch;
}

.vibe-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page {
  padding-top: clamp(6rem, 14vh, 8rem);
  max-width: 860px;
  margin: 0 auto;
}

.page-hero {
  margin-bottom: 2.5rem;
}

.page-hero .brand {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0;
  color: var(--red);
  line-height: 0.9;
}

.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rule;
  display: grid;
  gap: 1.75rem;
}

.rules-list li {
  counter-increment: rule;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.rules-list h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.35rem;
  letter-spacing: 0.03em;
}

.rules-list h2::before {
  content: counter(rule, decimal-leading-zero) " · ";
  color: var(--red);
}

.rules-list p {
  margin: 0;
  color: var(--muted);
}

.vote-list {
  display: grid;
  gap: 0.75rem;
}

.vote-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.vote-link:last-child {
  border-bottom: 1px solid var(--line);
}

.vote-link:hover {
  color: var(--red);
  padding-left: 0.35rem;
}

.vote-go {
  color: var(--muted);
  font-weight: 600;
}

.vote-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-cta {
  margin-top: 2.5rem;
}

.site-foot {
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 3rem;
  border-top: 1px solid var(--line);
}

.brand-foot {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.35rem;
  color: var(--red);
}

.site-foot p {
  margin: 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(calc(100% + 2.5rem));
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
}

.toast.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 860px) {
  .status-grid,
  .mode,
  .vibe {
    grid-template-columns: 1fr;
  }

  .vibe-media img {
    aspect-ratio: 16 / 10;
  }

  .site-nav nav a:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img,
  .dot.is-online,
  .hero-copy {
    animation: none;
  }
}

.page-wide {
  max-width: 920px;
}

.rules-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.rules-toc a {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
}

.rules-toc a:hover {
  color: var(--red);
}

.rules-section {
  margin-bottom: 2.75rem;
}

.rules-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: var(--red);
  line-height: 0.95;
}

.rules-list h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  margin: 0 0 0.35rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.rules-list h3::before {
  content: none;
}

.rules-list h2::before {
  content: counter(rule, decimal-leading-zero) " · ";
  color: var(--red);
}

.rules-list li {
  counter-increment: rule;
}

.rules-list li h3::before {
  content: counter(rule, decimal-leading-zero) " · ";
  color: var(--red);
}

.rules-note {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 52ch;
}

.punish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.punish-grid h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  color: var(--red);
  letter-spacing: 0.03em;
}

.punish-grid p {
  margin: 0;
  color: var(--muted);
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.page-btn-dark {
  background: var(--ink) !important;
  color: #fff !important;
  border: 0 !important;
}

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