:root {
  --bg: #07142b;
  --bg2: #0b1d3a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel2: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --blue: #2768ff;
  --blue2: #34a0ff;
  --gold: #ffc400;
  --orange: #ff8a00;
  --purple: #8e36ff;
  --green: #00b877;
  --red: #ff5d73;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.68);
  --muted: rgba(255, 255, 255, 0.42);
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
  --font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(52, 160, 255, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 196, 0, 0.18),
      transparent 27%
    ),
    radial-gradient(
      circle at 52% 90%,
      rgba(39, 104, 255, 0.3),
      transparent 30%
    ),
    linear-gradient(180deg, #07152d 0%, #081b39 48%, #06112a 100%);
}

body.menu-open {
  overflow: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.noise,
.stadium-grid,
.bg-orb {
  pointer-events: none;
  position: fixed;
}

.noise {
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background-image: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.55) 0 1px,
    transparent 1px
  );
  background-size: 16px 16px;
}

.stadium-grid {
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.bg-orb {
  z-index: 0;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.48;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-blue {
  width: 420px;
  height: 420px;
  left: -160px;
  top: 24%;
  background: var(--blue);
}

.orb-gold {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 8%;
  background: var(--gold);
  animation-delay: -3s;
}

.orb-purple {
  width: 520px;
  height: 520px;
  right: 14%;
  bottom: -280px;
  background: var(--purple);
  animation-delay: -5s;
}

.site-header {
  position: fixed;
  z-index: 70;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 38px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 19, 42, 0.66);
  backdrop-filter: blur(22px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  transition: 0.28s ease;
}

.site-header.scrolled {
  top: 8px;
  background: rgba(5, 14, 32, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), #112b71);
  box-shadow: 0 0 44px rgba(39, 104, 255, 0.45);
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 2px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 900;
}

.desktop-nav a {
  transition: 0.22s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.store-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 60px rgba(39, 104, 255, 0.38);
  transition: 0.28s ease;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(39, 104, 255, 0.5);
}

.menu-btn {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(4, 11, 25, 0.96);
  backdrop-filter: blur(20px);
}

.mobile-menu.active {
  display: grid;
}

.mobile-menu a {
  display: block;
  margin: 14px 0;
  text-align: center;
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero,
.section,
.final-cta,
.footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
  padding: 145px 0 95px;
}

.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(39, 104, 255, 0.14);
  border: 1px solid rgba(52, 160, 255, 0.28);
  color: #7fb5ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(58px, 9.2vw, 124px);
  line-height: 0.88;
  letter-spacing: 0.04em;
}

h2 {
  max-width: 890px;
  margin-top: 18px;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.hero-copy p,
.section-head p,
.final-card p {
  max-width: 690px;
  margin-top: 26px;
  color: var(--soft);
  font-size: 21px;
  line-height: 1.65;
}

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

.btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border-radius: 999px;
  font-weight: 950;
  transition: 0.28s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  box-shadow: 0 28px 80px rgba(39, 104, 255, 0.35);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
}

.btn:hover {
  transform: translateY(-4px);
}

.hero-metrics {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.hero-metrics div {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 38px;
  color: var(--gold);
}

.hero-metrics span {
  margin-top: 5px;
  color: var(--soft);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-device {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: min(390px, 88vw);
  min-height: 780px;
  overflow: hidden;
  padding: 24px;
  border-radius: 44px;
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(39, 104, 255, 0.42),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(14, 35, 72, 0.96), rgba(8, 20, 45, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(4deg);
}

.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.25;
}

.phone > * {
  position: relative;
  z-index: 2;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  margin-bottom: 34px;
}

.manager-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.manager-top small {
  display: block;
  color: #74a2ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.manager-top h3 {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manager-top b {
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-family: var(--display);
  letter-spacing: 0.08em;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.overview-cards div {
  min-height: 104px;
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
}

.overview-cards span,
.overview-cards strong,
.overview-cards small {
  display: block;
}

.overview-cards span {
  font-size: 21px;
}

.overview-cards strong {
  margin-top: 10px;
  font-size: 32px;
}

.overview-cards small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.daily-bonus {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(0, 184, 119, 0.88),
    rgba(0, 126, 96, 0.88)
  );
  box-shadow: 0 28px 80px rgba(0, 184, 119, 0.2);
}

.daily-bonus > span {
  font-size: 34px;
}

.daily-bonus h4 {
  font-size: 18px;
}

.daily-bonus p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.daily-bonus button {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quick-label {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.quick-play {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.quick-play button {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 24px;
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 60px rgba(0, 0, 0, 0.22);
}

.quick-play span {
  font-size: 32px;
}

.blue-card {
  background: linear-gradient(135deg, #1f66ff, #1340b7);
}

.purple-card {
  background: linear-gradient(135deg, #9d3fff, #5e1cc8);
}

.green-card {
  background: linear-gradient(135deg, #00a979, #04795f);
}

.bottom-nav {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 999px;
  background: rgba(5, 16, 36, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(39, 104, 255, 0.3);
}

.bottom-nav span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 22px;
}

.bottom-nav small {
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bottom-nav .active {
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 0 38px rgba(39, 104, 255, 0.7);
}

.floating-pack,
.floating-ovr {
  position: absolute;
  z-index: 8;
  width: 168px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(8, 20, 45, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: float 4.8s ease-in-out infinite;
}

.floating-pack {
  left: -18px;
  top: 17%;
}

.floating-ovr {
  right: -20px;
  bottom: 20%;
  animation-delay: -2s;
}

.floating-pack span,
.floating-ovr span,
.floating-pack b,
.floating-ovr b {
  display: block;
}

.floating-pack span,
.floating-ovr span {
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.floating-pack b,
.floating-ovr b {
  margin-top: 6px;
  color: var(--gold);
  font-size: 22px;
}

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 56px;
  padding: 24px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--display);
  font-size: 46px;
  letter-spacing: 0.08em;
}

.section,
.final-cta {
  padding: 112px 0;
}

.section-head {
  margin-bottom: 56px;
}

.squad-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 24px;
  align-items: start;
}

.pitch-card,
.collection-preview,
.reveal-stage,
.match-arena,
.final-card {
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.pitch-card {
  padding: 26px;
}

.pitch-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.pitch-top h3 {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pitch-top p {
  margin-top: 5px;
  color: var(--soft);
}

.pitch-top b {
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ad5b00, var(--orange));
  color: var(--gold);
}

.pitch {
  position: relative;
  height: 720px;
  overflow: hidden;
  border-radius: 26px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 60px,
      rgba(0, 0, 0, 0.06) 60px 120px
    ),
    linear-gradient(180deg, #107337, #0d572a);
  border: 3px solid rgba(255, 255, 255, 0.55);
}

.line {
  position: absolute;
  border: 3px solid rgba(255, 255, 255, 0.72);
}

.box-top {
  top: 0;
  left: 22%;
  width: 56%;
  height: 130px;
  border-top: 0;
}

.box-bottom {
  bottom: 0;
  left: 22%;
  width: 56%;
  height: 130px;
  border-bottom: 0;
}

.center-line {
  top: 50%;
  left: 0;
  right: 0;
  height: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.center-circle {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  left: calc(50% - 68px);
  top: calc(50% - 68px);
}

.player-card.mini {
  position: absolute;
  width: 82px;
  height: 102px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 16px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.player-card strong {
  font-size: 24px;
}

.player-card small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.player-card span {
  margin-top: 6px;
  font-size: 12px;
}

.legend {
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.35), rgba(177, 91, 0, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 35%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 28px rgba(255, 196, 0, 0.28);
}

.epic {
  background:
    linear-gradient(135deg, rgba(127, 51, 255, 0.75), rgba(59, 73, 150, 0.75)),
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 35%
    );
  border: 2px solid rgba(131, 76, 255, 0.85);
  box-shadow: 0 0 26px rgba(142, 54, 255, 0.28);
}

.p1 {
  left: 50%;
  top: 22%;
}
.p2 {
  left: 80%;
  top: 27%;
}
.p3 {
  left: 23%;
  top: 50%;
}
.p4 {
  left: 50%;
  top: 52%;
}
.p5 {
  left: 76%;
  top: 50%;
}
.p6 {
  left: 14%;
  top: 69%;
}
.p7 {
  left: 39%;
  top: 73%;
}
.p8 {
  left: 61%;
  top: 73%;
}
.p9 {
  left: 83%;
  top: 69%;
}
.p10 {
  left: 50%;
  top: 89%;
}

.collection-preview {
  padding: 22px;
}

.collection-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.collection-tabs::-webkit-scrollbar {
  display: none;
}

.collection-tabs button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--soft);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-tabs .active {
  background: var(--blue);
  color: #fff;
}

.cards-grid,
.opened-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.player-big {
  position: relative;
  min-height: 278px;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
}

.player-big::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background:
    linear-gradient(
      30deg,
      transparent 30%,
      rgba(255, 255, 255, 0.55),
      transparent 70%
    ),
    repeating-linear-gradient(
      60deg,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px 18px
    );
}

.player-big > * {
  position: relative;
  z-index: 2;
}

.card-rating {
  font-size: 34px;
  font-weight: 1000;
}

.card-position {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.initials {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 18px auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 28px;
  font-weight: 950;
}

.player-big h4 {
  text-align: center;
  font-size: 18px;
}

.player-big p {
  margin-top: 3px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.8);
}

.pack-row {
  display: grid;
  gap: 22px;
}

.pack-card {
  min-height: 174px;
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pack-card.bronze {
  background: linear-gradient(
    135deg,
    rgba(185, 93, 27, 0.86),
    rgba(85, 31, 5, 0.88)
  );
}

.pack-card.silver {
  background: linear-gradient(
    135deg,
    rgba(120, 145, 162, 0.5),
    rgba(17, 36, 57, 0.88)
  );
}

.pack-card.gold {
  background: linear-gradient(
    135deg,
    rgba(255, 157, 0, 0.78),
    rgba(129, 55, 0, 0.88)
  );
}

.pack-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  font-size: 42px;
}

.pack-card h3 {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pack-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.pack-card button {
  min-height: 60px;
  padding: 0 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  color: #101010;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal-stage {
  margin-top: 26px;
  padding: 32px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(39, 104, 255, 0.22),
      transparent 52%
    ),
    rgba(255, 255, 255, 0.055);
}

.stage-title {
  text-align: center;
  margin-bottom: 30px;
}

.stage-title h3 {
  font-family: var(--display);
  font-size: 46px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-title span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.match-arena {
  padding: 26px;
}

.arena-pitch {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    linear-gradient(180deg, #0b321b, #061f12);
  background-size: 120px 120px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.arena-pitch::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.arena-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}

.arena-content h3 {
  font-family: var(--display);
  font-size: 64px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arena-content p {
  margin-top: 10px;
  color: var(--soft);
  font-size: 22px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto;
}

.chip-cloud span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.chip-cloud .gk {
  color: var(--gold);
}
.chip-cloud .def {
  color: #52ffc5;
}
.chip-cloud .mid {
  color: #84c2ff;
}
.chip-cloud .fwd {
  color: #ff8f9a;
}

.arena-content button {
  min-height: 78px;
  padding: 0 62px;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 70px rgba(39, 104, 255, 0.7);
}

.mode-stack {
  display: grid;
  gap: 24px;
}

.mode-card {
  min-height: 176px;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.mode-card.purple {
  background: linear-gradient(135deg, #9c38ff, #601cc7);
}

.mode-card.green {
  background: linear-gradient(135deg, #00a979, #057559);
}

.mode-card.blue {
  background: linear-gradient(135deg, #2768ff, #173f9e);
}

.mode-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 34px;
}

.mode-card h3 {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mode-card p {
  max-width: 560px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.55;
}

.mode-card > span {
  font-size: 46px;
}

.final-card {
  padding: clamp(36px, 7vw, 86px);
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(39, 104, 255, 0.24),
      transparent 42%
    ),
    rgba(255, 255, 255, 0.07);
}

.final-card h2,
.final-card p {
  margin-left: auto;
  margin-right: auto;
}

.final-card .btn {
  margin-top: 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 46px 0 74px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.footer strong {
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p {
  margin-top: 8px;
}

.footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a:hover {
  color: var(--blue2);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(36px, 24px, 0) scale(1.08);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .store-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero,
  .squad-layout {
    grid-template-columns: 1fr;
  }

  .hero-device {
    min-height: auto;
  }

  .phone {
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 22px);
  }

  .brand span:last-child {
    display: none;
  }

  .hero,
  .section,
  .final-cta,
  .footer {
    width: calc(100% - 34px);
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-copy p,
  .section-head p,
  .final-card p {
    font-size: 17px;
  }

  .hero-metrics,
  .overview-cards,
  .quick-play,
  .cards-grid,
  .opened-cards {
    grid-template-columns: 1fr;
  }

  .phone {
    min-height: 760px;
    padding: 20px;
  }

  .floating-pack,
  .floating-ovr {
    display: none;
  }

  .pitch {
    height: 620px;
  }

  .player-card.mini {
    width: 70px;
    height: 88px;
  }

  .pack-card,
  .mode-card {
    grid-template-columns: 1fr;
  }

  .pack-card button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
