:root {
  --bg: #120D02;
  --surface: #1F1704;
  --text: #FFFAF0;
  --muted: #D4A373;
  --primary: #FF9F1C;
  --secondary: #FFBF69;
  --accent: #2EC4B6;
  --border: rgba(255, 159, 28, 0.2);
  --max-w: 1200px;
  --mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 159, 28, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0a0701 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

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

.disclosure-banner {
  position: relative;
  z-index: 100;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 16px 10px 20px;
  background: #fffef8;
  border-left: 4px solid #f59e0b;
}

.disclosure-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #1a1208;
  text-align: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  height: 52px;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(255, 255, 255, 0.02) 2px
  );
}

.nav-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  padding: 4px 2px;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--primary);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 95;
}

.nav-overlay.open {
  display: block;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 96;
  background: #0a0f0a;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 32px;
  gap: 16px;
  font-family: var(--mono);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 18px;
  color: var(--accent);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(46, 196, 182, 0.3);
  width: 100%;
}

.mobile-nav a::before {
  content: "> ";
  color: var(--primary);
}

.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 3px solid var(--primary);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255, 159, 28, 0.03) 8px,
    rgba(255, 159, 28, 0.03) 9px
  );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-badge img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-disclosure p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0 0;
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 13, 2, 0.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.active {
  display: flex;
}

.age-gate.hidden {
  display: none !important;
}

.age-gate-box {
  max-width: 440px;
  background: var(--surface);
  border: 3px solid var(--primary);
  padding: 32px;
  text-align: center;
  transform: rotate(-0.5deg);
  box-shadow: 8px 8px 0 rgba(255, 159, 28, 0.2);
}

.age-gate-box h2 {
  font-family: var(--hand);
  color: var(--primary);
  margin: 0 0 12px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 16px 24px;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.btn {
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-hero-strip {
  background: var(--primary);
  color: var(--bg);
  padding: 40px 24px;
  border-bottom: 3px solid var(--accent);
}

.page-hero-strip .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-strip h1 {
  font-family: var(--hand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  transform: rotate(-1deg);
}

.legal-content,
.article-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal-content h1,
.article-content h1 {
  font-family: var(--hand);
  color: var(--primary);
  margin: 0 0 24px;
}

.legal-content h2,
.article-content h2 {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-content h3,
.article-content h3 {
  color: var(--secondary);
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li,
.article-content p,
.article-content li {
  color: var(--muted);
  margin: 0 0 14px;
}

.legal-content ul,
.article-content ul {
  padding-left: 20px;
}

.legal-content a,
.article-content a {
  color: var(--accent);
}

.contact-form-wrap {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 2px dashed var(--border);
}

.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-error {
  display: none;
  color: #ef4444;
  font-size: 13px;
  margin: -12px 0 12px;
}

.form-error.visible {
  display: block;
}

.contact-form.hidden {
  display: none;
}

.contact-success {
  display: none;
  padding: 24px;
  background: rgba(46, 196, 182, 0.1);
  border: 2px solid var(--accent);
  color: var(--text);
}

.contact-success.visible {
  display: block;
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-family: var(--hand);
  font-size: 4rem;
  color: var(--primary);
  margin: 0 0 16px;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 24px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-burger {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.sub-hero-football {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  min-height: 220px;
  border-bottom: 4px solid var(--primary);
}

.sub-hero-football-main {
  background: var(--primary);
  color: var(--bg);
  padding: 48px 32px;
  display: flex;
  align-items: flex-end;
}

.sub-hero-football-side {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-left: 3px solid var(--accent);
}

.sub-hero-football-side img {
  max-width: 200px;
  max-height: 180px;
  object-fit: cover;
  border: 3px solid var(--accent);
  transform: rotate(3deg);
}

.article-football {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.article-football-main h2 {
  font-family: var(--hand);
  color: var(--primary);
  margin: 32px 0 12px;
}

.article-football-main h3 {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  margin: 24px 0 8px;
}

.article-football-main p {
  color: var(--muted);
  margin: 0 0 14px;
}

.article-football-rail {
  position: sticky;
  top: 72px;
  align-self: start;
}

.rail-img-stack img {
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--border);
}

.rail-callout {
  background: rgba(255, 159, 28, 0.1);
  border-left: 4px solid var(--primary);
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}

.sub-hero-types {
  background: var(--surface);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.sub-hero-types::before {
  content: "PUNK";
  position: absolute;
  font-family: var(--hand);
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.06;
  right: -20px;
  top: -20px;
  transform: rotate(15deg);
}

.sub-hero-types .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.sub-hero-types h1 {
  font-family: var(--hand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--primary);
  margin: 0;
  flex: 1;
}

.sub-hero-types img {
  max-width: 280px;
  max-height: 200px;
  object-fit: cover;
  border: 3px solid var(--accent);
  transform: rotate(-2deg);
}

.article-types {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.article-types-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.article-types h2 {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  margin: 28px 0 10px;
}

.article-types p {
  color: var(--muted);
  margin: 0 0 14px;
}

.types-visual-band {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg);
  border: 2px dashed var(--border);
  text-align: center;
}

.types-visual-band img {
  max-width: 400px;
  max-height: 260px;
  margin: 0 auto;
  object-fit: cover;
}

.sub-hero-payment {
  display: flex;
  align-items: stretch;
  min-height: 200px;
}

.sub-hero-payment-text {
  flex: 1;
  background: var(--accent);
  color: var(--bg);
  padding: 40px 32px;
  display: flex;
  align-items: center;
}

.sub-hero-payment-text h1 {
  font-family: var(--hand);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0;
}

.sub-hero-payment-visual {
  flex: 0 0 40%;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

.article-payment {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.pay-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.pay-table th,
.pay-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  color: var(--muted);
}

.pay-table th {
  background: var(--surface);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 12px;
}

.article-payment h2 {
  font-family: var(--hand);
  color: var(--primary);
  margin: 32px 0 12px;
}

.article-payment p {
  color: var(--muted);
  margin: 0 0 14px;
}

.payment-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.payment-mosaic img {
  max-width: 100%;
  max-height: 280px;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.sub-hero-live {
  background: repeating-linear-gradient(
    45deg,
    var(--bg),
    var(--bg) 10px,
    rgba(46, 196, 182, 0.05) 10px,
    rgba(46, 196, 182, 0.05) 12px
  );
  padding: 56px 24px;
  border-bottom: 3px solid var(--accent);
}

.sub-hero-live .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.sub-hero-live h1 {
  font-family: var(--hand);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--secondary);
  margin: 0 0 12px;
}

.sub-hero-live p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

.article-live {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.live-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.live-pullquote {
  font-family: var(--hand);
  font-size: 1.4rem;
  color: var(--primary);
  padding: 24px;
  background: var(--surface);
  border: 3px solid var(--primary);
  transform: rotate(-1deg);
  margin: 24px 0;
}

.article-live h2 {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1rem;
  margin: 28px 0 10px;
}

.article-live p {
  color: var(--muted);
  margin: 0 0 14px;
}

.live-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.live-stat-box {
  background: var(--surface);
  padding: 16px;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.live-stat-box strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--primary);
}

.live-stat-box span {
  font-size: 11px;
  color: var(--muted);
}

.live-side-visual img {
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 3px solid var(--border);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .sub-hero-football,
  .article-football,
  .sub-hero-types .wrap,
  .article-types-columns,
  .sub-hero-payment,
  .payment-mosaic,
  .live-split {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .sub-hero-payment-visual {
    flex: none;
    min-height: 160px;
  }

  .article-football-rail {
    position: static;
  }

  .live-stat-strip {
    grid-template-columns: 1fr;
  }

  .sub-hero-football,
  .sub-hero-types,
  .article-football,
  .article-types,
  .article-payment,
  .article-live,
  .types-visual-band,
  .payment-mosaic,
  .live-side-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .sub-hero-football-side img,
  .sub-hero-types img,
  .types-visual-band img,
  .payment-mosaic img,
  .live-side-visual img,
  .rail-img-stack img {
    max-width: 100%;
    height: auto;
  }
}
