:root {
  --yellow: #ffd600;
  --red: #e8132a;
  --blue: #1a3a8f;
  --black: #111111;
  --cream: #fff8e7;
  --ink: #1a1a1a;
}

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

html {
  scroll-padding-top: 90px;
}

body {
  background-color: var(--cream);
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #00000008 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 0;
}

nav {
  background: var(--black);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--yellow);
}

.nav-logo {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--yellow);
  letter-spacing: 3px;
  text-decoration: none;
}

.nav-logo span { color: var(--red); }

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a:focus-visible { color: var(--yellow); }

.hero {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 80px 40px 60px;
  text-align: center;
  border-bottom: 6px solid var(--yellow);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 80%, 0 0);
}

.zap {
  position: absolute;
  font-family: 'Bangers', cursive;
  font-size: 5rem;
  opacity: 0.06;
  color: var(--yellow);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite;
}

.zap:nth-child(1) { top: 10%; left: 5%; font-size: 8rem; animation-delay: 0s; }
.zap:nth-child(2) { top: 60%; right: 8%; font-size: 6rem; animation-delay: 2s; }
.zap:nth-child(3) { bottom: 20%; left: 40%; font-size: 4rem; animation-delay: 4s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-eyebrow {
  font-family: 'Permanent Marker', cursive;
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(5rem, 15vw, 12rem);
  color: var(--yellow);
  line-height: 0.9;
  letter-spacing: 4px;
  text-shadow: 6px 6px 0 var(--red), 12px 12px 0 rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}

.hero-subtitle {
  font-family: 'Permanent Marker', cursive;
  color: white;
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}

.hero-subtitle em {
  color: var(--yellow);
  font-style: normal;
}

.hero-cta,
.origin-link {
  margin-top: 40px;
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: 'Bangers', cursive;
  font-size: 1.6rem;
  letter-spacing: 3px;
  padding: 16px 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 5px 5px 0 var(--yellow);
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
}

.origin-link {
  margin-top: 12px;
  font-size: 1.2rem;
  padding: 14px 28px;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.origin-link:hover,
.origin-link:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--yellow);
}

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

.ticker {
  background: var(--yellow);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 25s linear infinite;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--black);
}

.ticker-inner span {
  margin: 0 30px;
  color: var(--red);
}

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

section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1;
}

.section-title .accent { color: var(--red); }

.section-divider {
  width: 80px;
  height: 6px;
  background: var(--yellow);
  margin-bottom: 40px;
  border: 2px solid var(--black);
}

.origin {
  background: var(--black);
  color: white;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.origin::before {
  content: 'ORIGIN';
  position: absolute;
  font-family: 'Bangers', cursive;
  font-size: 20rem;
  color: white;
  opacity: 0.03;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.origin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.origin .section-title { color: var(--yellow); }

.origin-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 20px;
}

.origin-text p strong {
  color: var(--yellow);
}

.origin-badge {
  background: var(--yellow);
  color: var(--black);
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 8px 20px;
  display: inline-block;
  margin-bottom: 30px;
  border: 3px solid white;
  transform: rotate(-2deg);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,214,0,0.3);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-box:hover,
.stat-box:focus-within {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.stat-box .num {
  font-family: 'Bangers', cursive;
  font-size: 3.5rem;
  color: var(--yellow);
  line-height: 1;
  display: block;
}

.stat-box .label {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.characters-section {
  background: var(--cream);
  padding: 80px 0;
}

.characters-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.character-card {
  border: 4px solid var(--black);
  background: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.character-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--black);
}

.card-header {
  padding: 24px 24px 16px;
  border-bottom: 3px solid var(--black);
  position: relative;
}

.card-header.yellow { background: var(--yellow); }
.card-header.red { background: var(--red); }
.card-header.blue { background: var(--blue); }
.card-header.black { background: var(--black); }

.card-header.red .char-name,
.card-header.blue .char-name,
.card-header.black .char-name { color: white; }

.char-tag {
  font-family: 'Permanent Marker', cursive;
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-header.yellow .char-tag,
.card-header.yellow .char-name { color: var(--black); }
.card-header.red .char-tag,
.card-header.blue .char-tag,
.card-header.black .char-tag { color: rgba(255,255,255,0.7); }

.char-name {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1.1;
}

.card-body {
  padding: 20px 24px 24px;
}

.char-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.char-quote {
  font-family: 'Permanent Marker', cursive;
  font-size: 0.85rem;
  color: var(--red);
  border-left: 4px solid var(--yellow);
  padding-left: 12px;
  line-height: 1.5;
}

.bollox-wall {
  background: var(--red);
  padding: 80px 40px;
  overflow: hidden;
}

.bollox-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.bollox-wall .section-title { color: white; }
.bollox-wall .section-title .accent { color: var(--yellow); }
.bollox-wall .section-divider { background: var(--yellow); }

.bollox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.bollox-card {
  background: white;
  border: 3px solid var(--black);
  padding: 24px;
  position: relative;
  transition: transform 0.2s;
}

.bollox-card:hover { transform: rotate(1deg) scale(1.02); }
.bollox-card:nth-child(even):hover { transform: rotate(-1deg) scale(1.02); }

.bollox-card::before {
  content: attr(data-num);
  font-family: 'Bangers', cursive;
  font-size: 5rem;
  color: var(--yellow);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
}

.bollox-word {
  font-family: 'Bangers', cursive;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

.bollox-def {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.signup {
  background: var(--yellow);
  border-top: 5px solid var(--black);
  border-bottom: 5px solid var(--black);
  padding: 80px 40px;
  text-align: center;
}

.signup .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }

.signup p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 700;
  color: #333;
}

.signup-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  border: 3px solid var(--black);
}

.signup-form input {
  flex: 1;
  padding: 16px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  outline: none;
  background: white;
}

.signup-form input:focus-visible,
.signup-form button:focus-visible,
.origin-link:focus-visible,
.hero-cta:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}

.signup-form button {
  background: var(--black);
  color: var(--yellow);
  border: none;
  padding: 16px 30px;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.signup-form button:hover,
.signup-form button:focus-visible {
  background: var(--red);
  color: white;
}

.signup-small {
  font-size: 0.8rem;
  margin-top: 12px;
  color: #666;
  font-weight: 700;
}

.signup-feedback {
  margin: 18px auto 0;
  max-width: 500px;
  border: 3px solid var(--black);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  background: white;
}

.signup-feedback.success,
.signup-feedback.duplicate {
  color: var(--black);
}

.signup-feedback.error {
  background: #fff1f1;
  color: #8f0c1c;
}

.sr-only,
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.manifesto {
  background: var(--blue);
  padding: 80px 40px;
  text-align: center;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto .section-title { color: var(--yellow); }
.manifesto .section-divider { margin: 0 auto 40px; }

.manifesto-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-line {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  color: white;
  padding: 16px 30px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: background 0.2s, border-color 0.2s;
}

.manifesto-line:hover {
  background: rgba(255,214,0,0.1);
  border-color: var(--yellow);
}

.manifesto-line em {
  color: var(--yellow);
  font-style: normal;
}

footer {
  background: var(--black);
  padding: 50px 40px;
  text-align: center;
  border-top: 5px solid var(--yellow);
}

.footer-logo {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  color: var(--yellow);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.footer-logo span { color: var(--red); }

footer p {
  color: #888;
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

footer p a { color: var(--yellow); text-decoration: none; }

.footer-tagline {
  font-family: 'Permanent Marker', cursive;
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .origin-inner { grid-template-columns: 1fr; gap: 40px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  .signup-form { flex-direction: column; }
  .signup-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
