:root {
  --ink: #081013;
  --ink-2: #0d181c;
  --fog: #16252b;
  --teal: #0a8f6c;
  --teal-deep: #08785a;
  --teal-bright: #19c79a;
  --steel: #3f5b66;
  --red: #a8121b;
  --red-bright: #e0323c;
  --stone: #eadfc4;
  --stone-dim: #b9b19b;
  --line: rgba(234, 223, 196, 0.16);
  --display: "Bowlby One", "Impact", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 10px clamp(16px, 4vw, 40px); background: rgba(8, 16, 19, 0.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.3rem; }
.bar-brand img { border-radius: 6px; }
.bar-links { display: flex; gap: 22px; margin-left: auto; }
.bar-links a { text-decoration: none; color: var(--stone-dim); font-weight: 500; transition: color 0.15s; }
.bar-links a:hover { color: var(--stone); }
.bar-back { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: border-color 0.15s; }
.bar-back:hover { border-color: var(--stone); }

/* Hero: two corners, one fight */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(150, 170, 180, 0.22), transparent 55%),
    linear-gradient(100deg, #09795b 0%, #1a5a5a 28%, #2d4650 50%, #5e1219 74%, #8f111a 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 40px) clamp(64px, 9vw, 112px); text-align: center; }
.hero-banner { width: min(100%, 880px); height: auto; margin: 0 auto 28px; border-radius: 6px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55); }
.hero-line { margin: 0 auto 6px; max-width: 34ch; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 500; line-height: 1.35; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.hero-when { margin: 0 0 28px; color: var(--stone); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .actions { justify-content: center; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; color: #fff; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: filter 0.15s, transform 0.15s; }
.btn:hover { filter: brightness(1.15); }
.btn-teal { background: var(--teal-deep); border-color: var(--teal-bright); }
.btn-red { background: var(--red); border-color: var(--red-bright); }

/* Sections */
.block { padding: clamp(48px, 8vw, 92px) 0; background: var(--ink); }
.block-alt { background: var(--ink-2); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.05; color: var(--stone); }
h2::after { content: ""; display: block; width: 120px; height: 4px; margin-top: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-bright), var(--red-bright)); }
h3 { margin: 14px 0 4px; font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.15; }
.lead { margin: 18px 0 32px; max-width: 56ch; color: var(--stone-dim); font-size: 1.125rem; }
.more { margin: 28px 0 0; }
.more a { color: var(--teal-bright); font-weight: 600; text-underline-offset: 4px; }
.more a:hover { color: #fff; }

.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px 22px 22px 22px; background: var(--fog); border: 1px solid var(--line); border-radius: 8px; color: var(--stone-dim); }
.steps li::before { content: counter(step); display: block; margin-bottom: 8px; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--teal-bright); }
.steps li:nth-child(2)::before { color: var(--stone); }
.steps li:nth-child(3)::before { color: var(--red-bright); }
.steps strong { display: block; margin-bottom: 4px; color: var(--stone); font-size: 1.15rem; }

/* Video frames */
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; text-decoration: none; color: #fff; background: linear-gradient(100deg, #09795b, #2d4650 50%, #8f111a) center / cover no-repeat; }
.embed-fallback::before { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 19, 0.45); transition: background 0.2s; }
.embed-fallback:hover::before { background: rgba(8, 16, 19, 0.25); }
.embed-play, .embed-label { position: relative; }
.embed-play { width: 56px; height: 56px; border-radius: 50%; background: var(--red); border: 2px solid var(--red-bright); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5); }
.embed-play::after { content: ""; position: absolute; left: 22px; top: 15px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.embed-label { font-weight: 600; font-size: 0.9rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }

.trailer { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.trailer p { margin: 18px 0 0; color: var(--stone-dim); }

.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.modes p { margin: 0; color: var(--stone-dim); }

.event { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: start; }
.event-side h3 { margin-top: 0; }
.fights { list-style: none; margin: 12px 0 0; padding: 0; }
.fights li { border-top: 1px solid var(--line); }
.fights a { display: block; padding: 12px 0; text-decoration: none; font-weight: 500; transition: color 0.15s, padding 0.15s; }
.fights a:hover { color: var(--teal-bright); padding-left: 6px; }

.join { background: linear-gradient(100deg, rgba(10, 143, 108, 0.22), var(--ink) 45%, var(--ink) 55%, rgba(168, 18, 27, 0.26)); }
.director { margin: 32px 0 0; color: var(--stone-dim); }
.director a { color: var(--stone); font-weight: 600; text-underline-offset: 4px; }

.foot { padding: 28px 0 36px; background: var(--ink); border-top: 1px solid var(--line); color: var(--stone-dim); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--stone); }

@media (max-width: 820px) {
  .bar { gap: 12px; }
  .bar-links { display: none; }
  .bar-back { margin-left: auto; }
  .steps, .trailer, .event { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .modes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fights a, .btn { transition: none; }
}
