@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Oswald:wght@500;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Colors - Design System */
  --arena-black: #090A0C;
  --canvas-charcoal: #171A1F;
  --corner-shadow: #23272D;
  --warm-concrete: #D8D3C8;
  --fight-paper: #F1EEE7;
  
  --red-corner: #C53A3F;
  --blue-corner: #315F9B;
  --bell-brass: #C89B4B;
  --tape-white: #E8E5DD;
  --steel-grey: #69717C;
  
  --primary-light: #F7F4ED;
  --secondary-light: #B8BDC5;
  --primary-dark: #15171A;
  --muted-dark: #62666D;

  /* Typography */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Space Mono', monospace;

  /* Layout */
  --nav-height: 80px;
  --compliance-bar-height: 40px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--arena-black);
  color: var(--primary-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: var(--secondary-light);
}

a:hover, a:focus-visible {
  color: var(--bell-brass);
  outline: none;
}

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

.label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

/* Button System */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--fight-paper);
  color: var(--primary-dark);
  font-family: var(--font-label);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background-color: var(--red-corner);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateX(3px);
  background: var(--bell-brass);
  color: var(--primary-dark);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--tape-white);
  font-family: var(--font-label);
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 1px solid var(--tape-white);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  color: var(--blue-corner);
  border-color: var(--blue-corner);
}

/* Compliance Bar */
.compliance-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--compliance-bar-height);
  background: var(--fight-paper);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 0 2rem;
}

.compliance-bar .corner-red {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 16px;
  background: var(--red-corner);
}

.compliance-bar .corner-blue {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 16px;
  background: var(--blue-corner);
}

.compliance-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.compliance-content span {
  white-space: nowrap;
}

.compliance-content span:not(:last-child)::after {
  content: '/';
  margin-left: 1rem;
  color: var(--muted-dark);
}

/* Overhead Score Rig (Header) */
.score-rig {
  position: fixed;
  top: var(--compliance-bar-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 999;
  display: flex;
  padding: 1rem 2rem;
  transition: background 0.3s ease, padding 0.3s ease, border 0.3s ease;
}

.score-rig.scrolled {
  background: rgba(9, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 2rem;
  border-bottom: 1px solid var(--steel-grey);
}

.rig-structure {
  display: flex;
  width: 100%;
  border: 1px solid var(--steel-grey);
  background: transparent;
}

.rig-block {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-right: 1px solid var(--steel-grey);
}

.rig-block:last-child {
  border-right: none;
}

.rig-left {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.rig-brand-img {
  height: 36px;
  width: auto;
  display: block;
}

.rig-sub {
  font-family: var(--font-label);
  font-size: 0.6rem;
  color: var(--secondary-light);
  margin-top: 0.2rem;
}

.rig-center, .rig-right {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
}

.rig-link {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--secondary-light);
  text-transform: uppercase;
}

.rig-action {
  flex: 0 0 120px;
  justify-content: center;
  background: var(--red-corner);
  color: var(--primary-light);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rig-action:hover {
  background: var(--bell-brass);
  color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  background: var(--canvas-charcoal);
  border: 1px solid var(--steel-grey);
  color: var(--tape-white);
  font-family: var(--font-label);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Mobile Menu */
.round-board-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: var(--arena-black);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.round-board-menu.active {
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--tape-white);
  font-family: var(--font-label);
  font-size: 1rem;
  cursor: pointer;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.menu-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--secondary-light);
  line-height: 1;
}

.menu-links a:hover {
  color: var(--tape-white);
  padding-left: 1rem;
}

/* Zone A: The Tunnel */
.zone-a-tunnel {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 800px;
  background-image: url('images/arena-walkout-tunnel.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.zone-a-tunnel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,10,12,0.9) 0%, rgba(9,10,12,0.4) 50%, rgba(9,10,12,0.8) 100%);
  z-index: 1;
}

.tunnel-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--compliance-bar-height) + 2rem) 4rem 4rem;
}

.tunnel-label {
  color: var(--red-corner);
  margin-bottom: 2rem;
}

.tunnel-headline {
  font-size: clamp(4rem, 10vw, 11rem);
  color: var(--tape-white);
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  margin-bottom: auto;
}

.tunnel-headline span {
  display: block;
}

.tunnel-lower {
  align-self: flex-end;
  max-width: 450px;
  background: rgba(23, 26, 31, 0.85);
  backdrop-filter: blur(5px);
  padding: 2.5rem;
  border-left: 4px solid var(--blue-corner);
}

.tunnel-lower p {
  color: var(--secondary-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.tunnel-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tunnel-compliance {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--muted-dark);
  border-top: 1px solid var(--corner-shadow);
  padding-top: 1rem;
}

/* Zone B: The Walkout */
.zone-b-walkout {
  width: 100%;
  background: var(--canvas-charcoal);
  padding: 4rem 2rem;
  overflow: hidden;
}

.walkout-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
  gap: 2rem;
}

.walkout-stage {
  flex: 1;
  position: relative;
  padding: 2rem 0;
}

.walkout-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--steel-grey);
  z-index: 1;
}

.walkout-stage-content {
  position: relative;
  z-index: 2;
  background: var(--canvas-charcoal);
  display: inline-block;
  padding-right: 1rem;
}

.stage-num {
  font-family: var(--font-label);
  color: var(--bell-brass);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stage-word {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--tape-white);
  line-height: 1;
}

/* Zone C: Ringside Perimeter */
.zone-c-ringside {
  padding: 6rem 4rem;
  background: var(--arena-black);
  position: relative;
}

.ringside-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.ringside-top-left { grid-area: 1 / 1 / 2 / 2; }
.ringside-top-right { grid-area: 1 / 3 / 2 / 4; text-align: right; }
.ringside-left-edge { 
  grid-area: 2 / 1 / 3 / 2;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  color: var(--corner-shadow);
}
.ringside-center-empty {
  grid-area: 2 / 2 / 3 / 3;
  position: relative;
  aspect-ratio: 16/9;
  background-image: url('images/empty-ring-overhead.webp');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--steel-grey);
}
.ringside-center-empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,58,63,0.1) 0%, rgba(9,10,12,0.6) 50%, rgba(49,95,155,0.1) 100%);
}
.ringside-right-edge {
  grid-area: 2 / 3 / 3 / 4;
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--secondary-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}
.ringside-bottom-left { 
  grid-area: 3 / 1 / 4 / 3;
  max-width: 500px;
  color: var(--secondary-light);
}
.ringside-bottom-right {
  grid-area: 3 / 3 / 4 / 4;
  display: flex;
  justify-content: flex-end;
}

/* Zone D: The Ring */
.zone-d-ring {
  padding: 8rem 2rem;
  background: var(--canvas-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring-header {
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-label);
  text-transform: uppercase;
}

.ring-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--tape-white);
  letter-spacing: 0.05em;
}

.ring-architectural {
  position: relative;
  width: 100%;
  max-width: 1120px;
  padding: 40px;
  background: var(--arena-black);
}

.ring-post {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--steel-grey);
  z-index: 10;
}
.ring-post.tl { top: 14px; left: 14px; background: var(--red-corner); }
.ring-post.tr { top: 14px; right: 14px; }
.ring-post.bl { bottom: 14px; left: 14px; }
.ring-post.br { bottom: 14px; right: 14px; background: var(--blue-corner); }

.ring-rope {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(105, 113, 124, 0.4);
  pointer-events: none;
  z-index: 5;
}
.rope-t1 { top: 16px; }
.rope-t2 { top: 22px; }
.rope-t3 { top: 28px; }
.rope-b1 { bottom: 16px; }
.rope-b2 { bottom: 22px; }
.rope-b3 { bottom: 28px; }

.game-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 620px;
  background: #000;
  z-index: 2;
}

.game-canvas iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.corner-bench {
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--corner-shadow);
}

.bench-control {
  background: transparent;
  border: 1px solid var(--steel-grey);
  color: var(--tape-white);
  font-family: var(--font-label);
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bench-control:hover {
  background: var(--tape-white);
  color: var(--primary-dark);
}

/* Corner Instructions */
.corner-instructions {
  display: flex;
  background: var(--arena-black);
  padding: 6rem 4rem;
  gap: 4rem;
}

.corner-left {
  flex: 1;
}

.corner-huge-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  color: var(--tape-white);
}

.corner-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.coach-instruction {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--corner-shadow);
  font-family: var(--font-label);
  color: var(--secondary-light);
  text-transform: uppercase;
}

.coach-num {
  color: var(--red-corner);
  font-weight: 700;
}

/* Between Rounds */
.between-rounds {
  display: flex;
  flex-direction: column;
}

.round-scene {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--arena-black);
}

.scene-01 .scene-img-wrap {
  width: 60%;
  height: 100%;
  position: relative;
}

.scene-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-01 .scene-content {
  width: 40%;
  padding: 4rem;
  position: relative;
}

.scene-huge-num {
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 30rem);
  color: rgba(255,255,255,0.02);
  line-height: 0.8;
  pointer-events: none;
}

.scene-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--tape-white);
  line-height: 1;
  margin-bottom: 1rem;
}

.scene-02 {
  flex-direction: column;
  justify-content: flex-end;
}
.scene-02 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.scene-02 .scene-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, var(--arena-black), transparent);
  text-align: center;
  font-family: var(--font-label);
  color: var(--tape-white);
}

.scene-03 {
  justify-content: space-between;
}
.scene-03 .scene-content {
  width: 50%;
  padding: 6rem;
}
.scene-03 .scene-img-wrap {
  width: 40%;
  height: 80%;
  margin-right: 4rem;
}

/* Bell Test */
.bell-test-installation {
  padding: 10rem 2rem;
  background: var(--canvas-charcoal);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 800px;
}

.bell-circle-container {
  position: relative;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--steel-grey);
}

.bell-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--arena-black);
  border: 2px solid var(--bell-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bell-brass);
  line-height: 1.1;
  box-shadow: 0 0 40px rgba(200, 155, 75, 0.1);
}

.bell-statement {
  position: absolute;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--tape-white);
  text-transform: uppercase;
  width: max-content;
  max-width: 200px;
  text-align: center;
  background: var(--canvas-charcoal);
  padding: 0.5rem;
}

.bs-12 { top: -20px; left: 50%; transform: translateX(-50%); }
.bs-2 { top: 15%; left: 100%; transform: translate(-20%, -50%); text-align: left; }
.bs-4 { top: 85%; left: 100%; transform: translate(-20%, -50%); text-align: left; }
.bs-6 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.bs-8 { top: 85%; left: 0%; transform: translate(-80%, -50%); text-align: right; }
.bs-10 { top: 15%; left: 0%; transform: translate(-80%, -50%); text-align: right; }

/* Internal Pages General */
.page-header {
  padding: calc(var(--nav-height) + var(--compliance-bar-height) + 4rem) 4rem 4rem;
  background: var(--arena-black);
}

.page-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--tape-white);
}

.page-content {
  padding: 4rem;
  background: var(--canvas-charcoal);
}

/* How to Play Round Board */
.round-board-layout {
  max-width: 1000px;
  margin: 0 auto;
}

.round-step {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 6rem;
}

.rs-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 16rem);
  line-height: 0.8;
  color: var(--corner-shadow);
}

.rs-content {
  padding-top: 2rem;
}

.rs-title {
  font-size: 2rem;
  color: var(--tape-white);
  margin-bottom: 1rem;
}

.rs-desc {
  font-size: 1.125rem;
  color: var(--secondary-light);
}

/* Legal Pages */
.legal-layout {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-index {
  flex: 0 0 250px;
  position: sticky;
  top: 150px;
  height: max-content;
}

.legal-index ul {
  list-style: none;
}

.legal-index li {
  margin-bottom: 1rem;
}

.legal-index a {
  font-family: var(--font-label);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.legal-body {
  flex: 1;
  max-width: 800px;
}

.legal-section {
  margin-bottom: 4rem;
}

.legal-section h2 {
  font-size: 2.5rem;
  color: var(--tape-white);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-section h2::before {
  content: attr(data-num);
  font-family: var(--font-label);
  font-size: 1.25rem;
  color: var(--red-corner);
}

.legal-section p, .legal-section ul {
  margin-bottom: 1.5rem;
  color: var(--secondary-light);
}

.legal-section ul {
  padding-left: 2rem;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.contact-bg-text {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 15vw;
  color: var(--corner-shadow);
  line-height: 0.8;
  z-index: 1;
  pointer-events: none;
}

.contact-image {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
}

.contact-form-wrap {
  position: relative;
  z-index: 2;
  grid-column: 2 / 3;
  background: var(--arena-black);
  padding: 3rem;
  border-top: 4px solid var(--red-corner);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--secondary-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--steel-grey);
  color: var(--tape-white);
  padding: 1rem;
  font-family: var(--font-body);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--bell-brass);
}

/* Footer */
.arena-footer {
  background: var(--arena-black);
}

.footer-hero {
  position: relative;
  height: 280px;
  background-image: url('images/boxing-light-rig.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 2rem 4rem;
}

.footer-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--arena-black));
}

.footer-hero-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--tape-white);
  line-height: 0.8;
  transform: translateY(50%);
}

.footer-content {
  padding: 6rem 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted-dark);
  max-width: 300px;
}

.footer-index {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-index a {
  font-family: var(--font-label);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--secondary-light);
}
.footer-index a:hover {
  color: var(--bell-brass);
}

.footer-compliance-track {
  margin: 4rem 4rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--corner-shadow);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-compliance-track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--steel-grey);
}

.footer-bottom {
  margin: 0 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--corner-shadow);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--muted-dark);
  text-transform: uppercase;
}

/* Cookie System */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: calc(100% - 4rem);
  max-width: 400px;
  background: var(--arena-black);
  border: 1px solid var(--steel-grey);
  padding: 2rem;
  z-index: 9000;
  transform: translateY(150%);
  transition: transform 0.4s ease;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--secondary-light);
  margin-bottom: 1.5rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-btn {
  background: transparent;
  border: 1px solid var(--steel-grey);
  color: var(--tape-white);
  padding: 0.75rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}

.cookie-btn.primary {
  background: var(--tape-white);
  color: var(--primary-dark);
}

.cookie-prefs {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100svh;
  background: var(--canvas-charcoal);
  border-left: 1px solid var(--steel-grey);
  padding: 2rem;
  z-index: 9001;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cookie-prefs.show {
  transform: translateX(0);
}

.pref-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.pref-group {
  margin-bottom: 1.5rem;
}

.pref-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  color: var(--tape-white);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .ringside-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .ringside-top-left { grid-area: auto; }
  .ringside-top-right { grid-area: auto; text-align: left; }
  .ringside-left-edge { grid-area: auto; text-align: center; }
  .ringside-center-empty { grid-area: auto; }
  .ringside-right-edge { grid-area: auto; text-align: left; }
  .ringside-bottom-left { grid-area: auto; }
  .ringside-bottom-right { grid-area: auto; justify-content: flex-start; }
  
  .corner-instructions {
    flex-direction: column;
  }
  
  .scene-01 .scene-img-wrap { width: 100%; height: 50%; }
  .scene-01 .scene-content { width: 100%; height: 50%; }
  .round-scene { flex-direction: column; }
  .scene-huge-num { left: 10%; top: 10%; transform: none; }
  
  .scene-03 .scene-img-wrap, .scene-03 .scene-content { width: 100%; }
}

@media (max-width: 1024px) {
  .rig-center, .rig-action { display: none; }
  .rig-right { justify-content: flex-end; }
  .mobile-menu-btn { display: block; }
  
  .walkout-track {
    flex-direction: column;
    align-items: stretch;
  }
  .walkout-stage::before {
    width: 1px;
    height: 100%;
    left: 20px;
    top: 0;
  }
  
  .bell-circle-container {
    width: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: auto;
  }
  .bell-center {
    position: relative;
    transform: none;
    left: 0;
    top: 0;
    margin: 0 auto 2rem;
  }
  .bell-statement {
    position: relative;
    transform: none !important;
    left: 0 !important;
    top: 0 !important;
    width: 100%;
    max-width: 100%;
    text-align: center;
    border-top: 1px solid var(--corner-shadow);
    padding: 1rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tunnel-content { padding: 8rem 2rem 2rem; }
  .zone-b-walkout, .zone-c-ringside, .zone-d-ring, .corner-instructions, .page-header, .page-content, .footer-content, .footer-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .tunnel-headline { font-size: 15vw; }
  .tunnel-actions { flex-direction: column; align-items: stretch; }
  .tunnel-lower { padding: 1.5rem; }
  
  .game-canvas { min-height: 300px; }
  .corner-bench { flex-direction: column; gap: 1rem; }
  .bench-control { width: 100%; }
  
  .legal-layout { flex-direction: column; }
  .legal-index { position: static; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .compliance-bar { font-size: 0.6rem; padding: 0 18px; }
  .compliance-content span:not(:last-child)::after { display: none; }
  .compliance-content { flex-direction: column; gap: 0.2rem; }
  
  .footer-compliance-track { margin-left: 18px; margin-right: 18px; flex-direction: column; }
  .footer-bottom { margin-left: 18px; margin-right: 18px; flex-direction: column; gap: 1rem; }
}