/* Arena365: Play The Next Over - styling copied verbatim from the approved design file; fonts self-hosted. */
@font-face{font-family:"Abril Fatface";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/abril-fatface-latin.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/inter-latin.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/montserrat-latin.woff2) format("woff2")}

/* Arena365: Play The Next Over (content-site layout)
   Colours sampled from the brand guideline swatches
   (the printed hex labels don't match the swatches; confirm with the brand owner). */
:root {
  --ink: #0F1629;
  --ink-2: #111B33;
  --night: #0D1B4C;
  --royal: #2B48AC;
  --lime: #77F22F;
  --white: #FFFFFF;
  --muted: #A9B4D3;
  --line: rgba(255, 255, 255, 0.09);

  --font-heading: "Abril Fatface", Georgia, "Times New Roman", serif;
  --font-sub: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --wrap: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(15, 22, 41, 0.82);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: block; width: clamp(120px, 32vw, 160px); height: auto; }

/* ---------- Buttons (the only links on the page) ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-sub);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn--lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 1.1rem;
  box-shadow: 0 12px 36px rgba(119, 242, 47, 0.28);
  animation: breathe 3s 1.6s ease-in-out infinite;
}
.btn--lg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0));
  transform: skewX(-20deg);
  z-index: -1;
  animation: sweep 4.5s 1.4s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 35%, 100% { left: 130%; } }
@keyframes breathe {
  0%, 100% { box-shadow: 0 12px 36px rgba(119, 242, 47, 0.26); }
  50%      { box-shadow: 0 14px 50px rgba(119, 242, 47, 0.5); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 120px) 0 clamp(72px, 12vw, 120px);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(43, 72, 172, 0.55) 0%, rgba(13, 27, 76, 0.35) 38%, rgba(15, 22, 41, 0) 68%);
  pointer-events: none;
  animation: glow 8s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}
.hero .wrap { position: relative; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(119, 242, 47, 0.35);
  background: rgba(119, 242, 47, 0.08);
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lime);
  animation: rise 600ms ease-out both;
}
.pill__ball {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D3263A;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.25);
  position: relative;
}
.pill__ball::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  bottom: 1px;
  width: 1px;
  background: #F6DCCB;
}

.hero__title {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(3.1rem, 12vw, 6.4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  animation: rise 800ms 120ms ease-out both;
}
.hero__title span { display: block; color: var(--lime); }

.hero__lede {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(1rem, 3.6vw, 1.12rem);
  color: var(--muted);
  text-wrap: balance;
  animation: rise 800ms 260ms ease-out both;
}

.over {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.over li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: ball-in 320ms ease-out forwards;
}
.over li:nth-child(1) { animation-delay: .5s; }
.over li:nth-child(2) { animation-delay: .65s; }
.over li:nth-child(3) { animation-delay: .8s; }
.over li:nth-child(4) { animation-delay: .95s; }
.over li:nth-child(5) { animation-delay: 1.1s; }
.over li:nth-child(6) {
  border-style: dashed;
  border-color: var(--lime);
  animation: next 1.8s 1.4s ease-in-out infinite;
}
@keyframes ball-in {
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); background: var(--lime); border-color: var(--lime); }
}
@keyframes next {
  0%, 100% { box-shadow: 0 0 0 0 rgba(119, 242, 47, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(119, 242, 47, 0.2); }
}

.hero__cta {
  margin-top: 28px;
  animation: rise 800ms 400ms ease-out both;
}
.hero__cta .btn--lg { width: 100%; max-width: 320px; }

.assure {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.85rem;
  color: var(--muted);
}
.assure li { display: inline-flex; align-items: center; gap: 6px; }
.assure svg {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 11vw, 104px) 0; }
.section--alt {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 7.5vw, 3.2rem);
  line-height: 1.08;
}
.section__intro { margin: 14px 0 0; color: var(--muted); }

/* feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(13, 27, 76, 0.35);
  border: 1px solid var(--line);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(119, 242, 47, 0.4);
  background: rgba(13, 27, 76, 0.55);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(119, 242, 47, 0.1);
  border: 1px solid rgba(119, 242, 47, 0.25);
}
.card__icon svg {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  margin-top: 18px;
  font-family: var(--font-sub);
  font-size: 1.08rem;
  font-weight: 800;
}
.card p { margin: 8px 0 0; font-size: 0.94rem; color: var(--muted); }

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 26px 24px;
  border-left: 3px solid var(--royal);
  background: linear-gradient(90deg, rgba(43, 72, 172, 0.16), rgba(43, 72, 172, 0));
  border-radius: 0 14px 14px 0;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--lime);
}
.step h3 {
  margin-top: 12px;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 800;
}
.step p { margin: 6px 0 0; font-size: 0.94rem; color: var(--muted); }

/* sports strip */
.sports {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.sports li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Closing CTA ---------- */
.closing {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, 150vw);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(43, 72, 172, 0.45) 0%, rgba(15, 22, 41, 0) 65%);
  pointer-events: none;
}
.closing .wrap { position: relative; }
.closing .btn--lg { margin-top: 28px; width: 100%; max-width: 320px; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer .logo { margin: 0 auto; width: 130px; }
.licence {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1.5px solid rgba(119, 242, 47, 0.55);
  border-radius: 12px;
  background: rgba(13, 27, 76, 0.4);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
}
.licence strong { font-family: var(--font-sub); font-weight: 800; }
.licence svg {
  flex: none;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__note {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  font-size: 0.8rem;
  color: var(--muted);
}
.age {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  font-family: var(--font-sub);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--white);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
  .btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.82rem; }
  .card { padding: 22px 20px; }
  .licence { font-size: 0.78rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .over li { background: var(--lime); border-color: var(--lime); }
  .reveal { opacity: 1; transform: none; }
  .btn--lg::after { display: none; }
}
  