:root {
  --bg: #020503;
  --panel: rgba(6, 18, 20, 0.82);
  --line: rgba(156, 255, 64, 0.38);
  --green: #93e335;
  --green-hot: #bcff48;
  --blue: #19d7ff;
  --white: #f8fff2;
  --red: #ff355e;
  --shadow: 0 0 34px rgba(147, 227, 53, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(25, 215, 255, 0.24), transparent 34%),
    radial-gradient(circle at 26% 34%, rgba(147, 227, 53, 0.2), transparent 28%),
    linear-gradient(180deg, #010302 0%, #051311 48%, #020503 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.arena {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.stadium-glow {
  position: fixed;
  inset: auto -10% 0;
  z-index: -2;
  height: 62vh;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.18) 8% 8.3%, transparent 8.3% 16%),
    repeating-linear-gradient(90deg, rgba(147, 227, 53, 0.08) 0 18px, transparent 18px 44px);
  border-top: 2px solid rgba(147, 227, 53, 0.24);
  transform: perspective(900px) rotateX(64deg);
  transform-origin: bottom;
}

.floodlights {
  position: fixed;
  top: -12vh;
  z-index: -1;
  width: 36vw;
  height: 74vh;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 68%);
  filter: blur(10px);
  opacity: 0.7;
  animation: sweep 5.4s ease-in-out infinite alternate;
}

.floodlights-left {
  left: -8vw;
  transform: rotate(24deg);
}

.floodlights-right {
  right: -8vw;
  transform: rotate(-24deg);
  animation-delay: -2s;
}

.crowd {
  position: fixed;
  right: -4%;
  bottom: 0;
  left: -4%;
  z-index: -1;
  height: 88px;
  background:
    radial-gradient(circle, rgba(248, 255, 242, 0.72) 0 3px, transparent 4px) 0 0 / 22px 22px,
    radial-gradient(circle, rgba(147, 227, 53, 0.75) 0 3px, transparent 4px) 10px 8px / 28px 24px;
  opacity: 0.22;
  animation: crowdWave 0.82s ease-in-out infinite alternate;
}

.crowd-two {
  bottom: 52px;
  opacity: 0.13;
  animation-delay: -0.35s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(147, 227, 53, 0.24);
  background: rgba(1, 5, 6, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Black Ops One", Inter, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(147, 227, 53, 0.55));
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topbar nav a,
.primary-action,
.secondary-action {
  border: 1px solid rgba(147, 227, 53, 0.36);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(8, 28, 22, 0.76);
  box-shadow: inset 0 0 18px rgba(25, 215, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topbar nav a:hover,
.primary-action:hover,
.secondary-action:hover {
  border-color: var(--green-hot);
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.04);
}

.section-panel {
  position: relative;
  margin: 28px auto;
  width: min(1180px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(147, 227, 53, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(5, 18, 16, 0.9), rgba(2, 7, 7, 0.76));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36), inset 0 0 42px rgba(25, 215, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  min-height: calc(100vh - 110px);
  margin-top: 18px;
  padding: clamp(26px, 5vw, 58px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 12% 8%;
  border: 2px solid rgba(248, 255, 242, 0.12);
  border-radius: 50%;
}

.hero::after {
  right: -8%;
  bottom: -18%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 227, 53, 0.28), transparent 62%);
  animation: glowPulse 1.9s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.eyebrow,
.section-heading p {
  margin: 0 0 10px;
  color: var(--green-hot);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Black Ops One", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 6px 8px 0 #000, 0 0 30px rgba(147, 227, 53, 0.5);
}

h1 {
  font-size: clamp(4rem, 13vw, 10rem);
}

h2 {
  font-size: clamp(2.35rem, 7vw, 5.25rem);
}

.main-message {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-action {
  background: linear-gradient(135deg, var(--green-hot), #43c822);
  color: #041007;
  box-shadow: 0 0 34px rgba(147, 227, 53, 0.35);
}

.secondary-action {
  background: linear-gradient(135deg, rgba(25, 215, 255, 0.16), rgba(147, 227, 53, 0.12));
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: min(100%, 410px);
  aspect-ratio: 1;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(147, 227, 53, 0.58));
  animation: logoFloat 3.1s ease-in-out infinite;
}

.orbit-ball,
.flying-ball,
.net-ball {
  position: relative;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: url("assets/football-animation.png") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.46));
}

.orbit-ball {
  position: absolute;
  top: 8%;
  right: -4%;
  animation: orbitKick 3.8s linear infinite;
}

.flying-ball {
  position: fixed;
  z-index: 6;
  opacity: 0.9;
  pointer-events: none;
}

.ball-a {
  top: 22vh;
  left: -90px;
  animation: flyAcross 8s linear infinite;
}

.ball-b {
  bottom: 18vh;
  right: -90px;
  width: 48px;
  height: 48px;
  animation: flyBack 6.5s linear infinite;
}

.scoreboard {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: min(260px, calc(100% - 48px));
  border: 2px solid rgba(147, 227, 53, 0.5);
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: var(--shadow);
}

.scoreboard-title,
.match-clock {
  color: var(--blue);
  font-family: "Black Ops One", Inter, sans-serif;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 9px;
  font-weight: 900;
}

.score-row strong {
  color: var(--green-hot);
  font-size: 1.8rem;
}

.match-clock {
  margin-top: 8px;
}

.goal-scene {
  position: absolute;
  right: 42px;
  bottom: 28px;
  z-index: 2;
  width: 360px;
  height: 180px;
}

.goalpost {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 126px;
  border: 8px solid var(--white);
  border-bottom: 0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.goalpost span {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(147, 227, 53, 0.34);
  transform: skewX(-10deg);
  animation: netShake 1.5s ease-in-out infinite;
}

.goalpost span:nth-child(2) {
  inset: 26px;
  animation-delay: -0.2s;
}

.goalpost span:nth-child(3) {
  inset: 44px;
  animation-delay: -0.4s;
}

.net-ball {
  position: absolute;
  right: 112px;
  bottom: 56px;
  width: 46px;
  height: 46px;
  animation: goalHit 1.5s ease-in-out infinite;
}

.player {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 110px;
  height: 145px;
  filter: drop-shadow(0 0 16px rgba(25, 215, 255, 0.32));
}

.head,
.body,
.leg {
  position: absolute;
  display: block;
  border: 4px solid #050505;
}

.head {
  top: 0;
  left: 36px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #98e03a;
}

.body {
  top: 44px;
  left: 28px;
  width: 58px;
  height: 66px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(135deg, #101820, #1dd7ff);
}

.leg {
  bottom: 0;
  width: 18px;
  height: 58px;
  border-radius: 12px;
  background: #f8fff2;
  transform-origin: top;
}

.leg-one {
  left: 36px;
  transform: rotate(16deg);
}

.leg-two {
  left: 66px;
  animation: kick 1.5s ease-in-out infinite;
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.odds-zone,
.battle-zone,
.live-zone,
.rewards-zone {
  padding: clamp(24px, 5vw, 48px);
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.odds-card,
.live-panels article,
.club-lane,
.pool {
  border: 1px solid rgba(147, 227, 53, 0.34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 22px rgba(25, 215, 255, 0.08);
}

.odds-card {
  min-height: 190px;
  padding: 18px;
  transform: translateY(0);
  animation: cardFloat 2.6s ease-in-out infinite;
}

.odds-card:nth-child(2) {
  animation-delay: -0.8s;
}

.odds-card:nth-child(3) {
  animation-delay: -1.6s;
}

.odds-card:nth-child(4) {
  animation-delay: -2.2s;
}

.odds-card span,
.odds-card em,
.live-panels span,
.live-panels p,
.club-lane span,
.pool span {
  display: block;
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.odds-card strong {
  display: block;
  margin: 24px 0;
  color: var(--green-hot);
  font-family: "Black Ops One", Inter, sans-serif;
  font-size: 3rem;
}

.win-pulse {
  animation: cardFloat 2.6s ease-in-out infinite, winPulse 1.4s ease-in-out infinite;
}

.loss-shake {
  animation: cardFloat 2.6s ease-in-out infinite, redFlash 2.8s ease-in-out infinite;
}

.battle-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.club-lane {
  padding: 20px;
}

.club-lane strong {
  display: block;
  margin: 8px 0 18px;
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  font-weight: 900;
}

.versus {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--green-hot);
  color: #031005;
  font-family: "Black Ops One", Inter, sans-serif;
  font-size: 2rem;
  box-shadow: 0 0 34px rgba(147, 227, 53, 0.55);
  animation: glowPulse 1s ease-in-out infinite;
}

.power-bar {
  height: 18px;
  overflow: hidden;
  border: 2px solid rgba(248, 255, 242, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.power-bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-hot), var(--blue));
  animation: powerShift 2.2s ease-in-out infinite alternate;
}

.club-blue .power-bar i {
  width: 64%;
  animation-delay: -1s;
}

.pool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
}

.pool strong {
  color: var(--green-hot);
  font-family: "Black Ops One", Inter, sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.coin-stream {
  position: fixed;
  z-index: 5;
  width: 18px;
  height: 18px;
  border: 3px solid #ffef73;
  border-radius: 50%;
  background: #d6a512;
  box-shadow: 0 0 18px rgba(255, 239, 115, 0.8), 24px 18px 0 #d6a512, -18px 32px 0 #ffef73;
  pointer-events: none;
}

.coin-stream-a {
  top: 50%;
  left: -40px;
  animation: coinsIn 4.7s linear infinite;
}

.coin-stream-b {
  top: 68%;
  right: -40px;
  animation: coinsInReverse 5.6s linear infinite;
}

.ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker span {
  flex: 0 0 auto;
  border: 1px solid rgba(25, 215, 255, 0.36);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(25, 215, 255, 0.08);
  color: var(--white);
  font-weight: 900;
  animation: tickerMove 14s linear infinite;
}

.live-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.live-panels article {
  min-height: 170px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-panels article:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.live-panels strong {
  display: block;
  margin: 18px 0;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
}

.rewards-zone {
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.reward-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reward-burst span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 4px solid #ffef73;
  border-radius: 50%;
  background: #d6a512;
  box-shadow: 0 0 28px rgba(255, 239, 115, 0.78);
  animation: coinBurst 1.7s ease-out infinite;
}

.reward-burst span:nth-child(2) {
  animation-delay: -0.2s;
  --x: 230px;
  --y: -120px;
}

.reward-burst span:nth-child(3) {
  animation-delay: -0.45s;
  --x: -260px;
  --y: -90px;
}

.reward-burst span:nth-child(4) {
  animation-delay: -0.7s;
  --x: 120px;
  --y: 150px;
}

.reward-burst span:nth-child(5) {
  animation-delay: -0.95s;
  --x: -190px;
  --y: 130px;
}

.final-line {
  margin: 28px 0 0;
  color: var(--green-hot);
  font-family: "Black Ops One", Inter, sans-serif;
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: 0.9;
  text-shadow: 6px 8px 0 #000, 0 0 34px rgba(147, 227, 53, 0.55);
}

.social-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(25, 215, 255, 0.45);
  border-radius: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(25, 215, 255, 0.18), rgba(147, 227, 53, 0.16));
  color: var(--white);
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(25, 215, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  border-color: var(--green-hot);
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.04);
}

.social-links span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-hot);
  color: #031005;
  font-size: 0.78rem;
  font-weight: 900;
}

@keyframes sweep {
  from {
    opacity: 0.38;
    filter: blur(14px);
  }
  to {
    opacity: 0.82;
    filter: blur(7px);
  }
}

@keyframes crowdWave {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes logoFloat {
  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes orbitKick {
  0% {
    transform: rotate(0deg) translateX(20px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(20px) rotate(-720deg);
  }
}

@keyframes flyAcross {
  0% {
    transform: translate(-80px, 0) rotate(0deg);
  }
  45% {
    transform: translate(50vw, 26vh) rotate(520deg);
  }
  100% {
    transform: translate(112vw, -4vh) rotate(1180deg);
  }
}

@keyframes flyBack {
  0% {
    transform: translate(80px, 0) rotate(0deg);
  }
  100% {
    transform: translate(-112vw, -18vh) rotate(-1040deg);
  }
}

@keyframes kick {
  0%,
  100% {
    transform: rotate(-12deg);
  }
  48% {
    transform: rotate(-72deg) translateX(14px);
  }
}

@keyframes netShake {
  50% {
    transform: skewX(-16deg) translateX(4px);
  }
}

@keyframes goalHit {
  0%,
  100% {
    transform: translate(-84px, 16px) scale(0.82) rotate(0deg);
  }
  45% {
    transform: translate(14px, -8px) scale(1) rotate(260deg);
  }
  62% {
    transform: translate(24px, 0) scale(0.88) rotate(360deg);
  }
}

@keyframes cardFloat {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes winPulse {
  50% {
    box-shadow: 0 0 42px rgba(147, 227, 53, 0.55), inset 0 0 28px rgba(147, 227, 53, 0.16);
  }
}

@keyframes redFlash {
  50% {
    border-color: rgba(255, 53, 94, 0.75);
    box-shadow: 0 0 28px rgba(255, 53, 94, 0.28);
    transform: translateY(-10px) translateX(3px);
  }
}

@keyframes powerShift {
  to {
    width: 92%;
  }
}

@keyframes coinsIn {
  to {
    transform: translate(108vw, 18vh) rotate(760deg);
  }
}

@keyframes coinsInReverse {
  to {
    transform: translate(-108vw, -10vh) rotate(-760deg);
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-720px);
  }
}

@keyframes glowPulse {
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 48px rgba(147, 227, 53, 0.72);
  }
}

@keyframes coinBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 180px)), calc(-50% + var(--y, -160px))) scale(1.05) rotate(720deg);
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .hero,
  .battle-board,
  .live-panels,
  .odds-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .scoreboard {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-row: 1;
    width: 100%;
  }

  .hero-copy {
    grid-row: 2;
  }

  .hero-logo-wrap {
    grid-row: 3;
  }

  .hero-logo-wrap {
    width: min(100%, 340px);
  }

  .goal-scene {
    position: relative;
    right: auto;
    bottom: auto;
    grid-row: 4;
    width: min(100%, 360px);
    margin-top: 20px;
  }

  .versus {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .topbar nav a {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .section-panel {
    width: min(100% - 18px, 1180px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .social-links a {
    text-align: center;
  }

  .goal-scene {
    transform: scale(0.82);
    transform-origin: left bottom;
  }
}

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