@font-face {
  font-family: "KufiStandardGK";
  src: url("KufiStandardGK.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07111f;
  --bg-2: #0b1830;
  --panel: rgba(12, 24, 45, 0.62);
  --panel-strong: rgba(11, 19, 35, 0.82);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f8fbff;
  --muted: #aebad0;
  --gold: #ffd166;
  --gold-2: #ff9f1c;
  --green: #20f08b;
  --green-soft: rgba(32, 240, 139, 0.16);
  --red: #ff3b4d;
  --red-soft: rgba(255, 59, 77, 0.16);
  --blue: #2aa8ff;
  --blue-soft: rgba(42, 168, 255, 0.16);
  --cyan: #2ef7ff;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --glow-green: 0 0 28px rgba(32, 240, 139, 0.58);
  --glow-red: 0 0 28px rgba(255, 59, 77, 0.55);
  --glow-blue: 0 0 28px rgba(42, 168, 255, 0.55);
  --font: "Cairo", "KufiStandardGK", "Tajawal", "IBM Plex Sans Arabic", "Tahoma", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(42, 168, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(32, 240, 139, 0.16), transparent 24%),
    radial-gradient(circle at 48% 0%, rgba(255, 209, 102, 0.11), transparent 30%),
    linear-gradient(180deg, #050914 0%, var(--bg) 44%, #0d1020 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 59, 77, 0.13), transparent 32%, transparent 68%, rgba(32, 240, 139, 0.12)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

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

img,
svg {
  display: block;
}

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.floating-hexes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.float-hex {
  position: absolute;
  width: var(--size);
  aspect-ratio: 1;
  left: var(--x);
  top: var(--y);
  opacity: 0.5;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  filter: drop-shadow(0 0 18px var(--c));
  animation: drift var(--duration) ease-in-out infinite alternate;
}

.section {
  padding: clamp(58px, 8vw, 110px) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.eyebrow::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-copy {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: 44px 0 72px;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 0 24px rgba(255, 209, 102, 0.28);
}

.brand-lockup span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 0 36px rgba(255, 255, 255, 0.26),
    0 18px 58px rgba(0, 0, 0, 0.52);
}

.hero h1 span {
  background: linear-gradient(180deg, #fff 8%, #dbe8ff 48%, var(--gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: clamp(2rem, 5.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
}

.hero-subtitle strong {
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 209, 102, 0.38);
}

.hero-desc {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d8e3f8;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-badge {
  min-width: 188px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    #070910;
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 102, 0.58);
  box-shadow: 0 22px 54px rgba(255, 209, 102, 0.16);
  outline: none;
}

.store-badge svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.store-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.1;
  direction: ltr;
  text-align: right;
}

.store-badge strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
  direction: ltr;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  isolation: isolate;
}

.arena-glow {
  position: absolute;
  inset: 7% 2% 4%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 59, 77, 0.33), transparent 28%),
    radial-gradient(circle at 82% 48%, rgba(32, 240, 139, 0.32), transparent 28%),
    radial-gradient(circle at 52% 45%, rgba(42, 168, 255, 0.16), transparent 38%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: -1;
  animation: pulseGlow 4.5s ease-in-out infinite;
}

.spotlight {
  position: absolute;
  top: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(180deg, rgba(42, 168, 255, 0.36), transparent 60%);
  filter: blur(18px);
  transform: skewX(-13deg);
  opacity: 0.42;
  z-index: -1;
}

.spotlight.left {
  right: 4%;
}

.spotlight.right {
  left: 4%;
  background: linear-gradient(180deg, rgba(255, 59, 77, 0.32), transparent 60%);
  transform: skewX(13deg);
}

.board-wrap {
  position: absolute;
  inset: 84px 92px 80px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(5, 10, 20, 0.72);
  box-shadow:
    inset 0 0 90px rgba(42, 168, 255, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.board-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 20deg, rgba(255, 59, 77, 0.22), transparent 28%, rgba(32, 240, 139, 0.25), transparent 62%, rgba(42, 168, 255, 0.24), transparent 88%, rgba(255, 59, 77, 0.22));
  animation: rotateSlow 18s linear infinite;
  opacity: 0.7;
}

.score-chip {
  position: absolute;
  top: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 126px;
  padding: 9px 13px;
  border-radius: 16px;
  background: rgba(4, 8, 16, 0.72);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  font-weight: 900;
}

.score-chip.red {
  right: 28px;
  color: #ffd8dc;
  box-shadow: var(--glow-red);
}

.score-chip.green {
  left: 28px;
  color: #d3ffe9;
  box-shadow: var(--glow-green);
}

.score-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.timer-orb {
  position: absolute;
  top: 26px;
  right: 50%;
  z-index: 4;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid rgba(255, 209, 102, 0.86);
  background: #07111f;
  box-shadow: 0 0 32px rgba(255, 209, 102, 0.44);
  transform: translateX(50%);
  font-size: 1.42rem;
  font-weight: 900;
}

.hero-board-viewport {
  position: relative;
  z-index: 2;
  width: calc(362px * var(--mini-board-scale, 0.86));
  height: calc(275px * var(--mini-board-scale, 0.86));
  transform: perspective(900px) rotateX(8deg);
}

.hero-board {
  position: absolute;
  top: 0;
  left: 0;
  width: 362px;
  height: 275px;
  transform: scale(var(--mini-board-scale, 0.86));
  transform-origin: top left;
}

.hex {
  position: absolute;
  width: 90px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(12, 24, 45, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dce8ff;
  font-weight: 900;
  font-family: "KufiStandardGK", var(--font);
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 0 10px currentColor;
  box-shadow: inset 0 0 18px rgba(42, 168, 255, 0.08);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.62));
  animation: cellFloat 3.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -80ms);
}

.hex.red {
  color: #ffbdc4;
  border-color: rgba(255, 59, 77, 0.62);
  background: linear-gradient(145deg, rgba(255, 59, 77, 0.34), rgba(70, 7, 19, 0.88));
  box-shadow: inset 0 0 24px rgba(255, 59, 77, 0.22), var(--glow-red);
}

.hex.green {
  color: #caffdf;
  border-color: rgba(32, 240, 139, 0.62);
  background: linear-gradient(145deg, rgba(32, 240, 139, 0.32), rgba(6, 58, 36, 0.88));
  box-shadow: inset 0 0 24px rgba(32, 240, 139, 0.22), var(--glow-green);
}

.hex.blue {
  color: #c8ecff;
  border-color: rgba(42, 168, 255, 0.62);
  background: linear-gradient(145deg, rgba(42, 168, 255, 0.28), rgba(7, 31, 70, 0.88));
  box-shadow: inset 0 0 24px rgba(42, 168, 255, 0.18), var(--glow-blue);
}

.phone-buzzer {
  position: absolute;
  z-index: 5;
  width: 160px;
  height: 310px;
  border: 8px solid #101621;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--team) 38%, transparent), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    #07101e;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.54), 0 0 35px color-mix(in srgb, var(--team) 52%, transparent);
  transform: rotate(var(--rot));
  animation: phoneHover 4s ease-in-out infinite;
}

.phone-buzzer.red {
  --team: var(--red);
  --rot: 10deg;
  right: -4px;
  top: 132px;
}

.phone-buzzer.green {
  --team: var(--green);
  --rot: -10deg;
  left: -4px;
  top: 132px;
  animation-delay: -1.7s;
}

.phone-buzzer::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 50%;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(50%);
}

.team-label {
  position: absolute;
  top: 52px;
  right: 16px;
  left: 16px;
  text-align: center;
  font-weight: 900;
  line-height: 1.25;
  font-size: 1.32rem;
  color: #fff;
  text-shadow: 0 0 18px var(--team);
}

.bell {
  position: absolute;
  right: 50%;
  top: 142px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), var(--team) 64%, #09101a 66%);
  box-shadow: 0 0 35px var(--team);
  transform: translateX(50%);
}

.bell svg {
  width: 42px;
  color: #fff;
  filter: drop-shadow(0 0 10px currentColor);
}

.particle {
  position: absolute;
  z-index: 8;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  right: var(--x);
  top: var(--y);
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
  animation: particle 4s ease-in-out infinite;
  animation-delay: var(--d);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  perspective: 1200px;
}

.mode-card {
  position: relative;
  display: block;
  min-height: 520px;
  padding: 30px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.mode-card:hover,
.mode-card:focus-visible {
  transform: translateY(-10px) scale(1.012);
  border-color: color-mix(in srgb, var(--accent) 54%, white 12%);
  box-shadow:
    0 34px 90px color-mix(in srgb, var(--accent) 22%, rgba(0, 0, 0, 0.36)),
    0 0 34px color-mix(in srgb, var(--accent) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  outline: none;
}

.mode-card:active {
  transform: translateY(-4px) scale(0.992);
}

.mode-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 62%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 62%);
  opacity: 0.78;
  pointer-events: none;
}

.mode-card::after {
  content: "ابدأ الآن";
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 13%, rgba(255, 255, 255, 0.05));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.mode-card:hover::after,
.mode-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.mode-card.classic {
  --accent: var(--gold);
}

.mode-card.developed {
  --accent: var(--cyan);
}

.mode-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.mode-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
    color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 42%, transparent);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.mode-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.mode-card h3 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
}

.mode-card p {
  position: relative;
  margin: 0;
  color: #d3def0;
  font-size: 1.08rem;
}

.mode-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 896;
  margin-top: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%),
    rgba(4, 9, 18, 0.72);
  box-shadow:
    inset 0 0 44px color-mix(in srgb, var(--accent) 14%, transparent),
    0 18px 46px rgba(0, 0, 0, 0.28);
}

.mode-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 360ms ease, filter 360ms ease;
}

.mode-card:hover .mode-image-frame img,
.mode-card:focus-visible .mode-image-frame img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.mode-visual {
  position: relative;
  height: 178px;
  margin: 28px 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 70%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.mini-hex-field {
  position: absolute;
  inset: 26px 34px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  transform: rotate(-4deg);
}

.mini-hex-field span {
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 26%, transparent);
}

.mode-features {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef5ff;
  font-weight: 800;
}

.mode-features li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  text-align: center;
}

.step-card::after {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  left: 20px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.step-icon,
.audience-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 209, 102, 0.2), rgba(42, 168, 255, 0.08));
  color: var(--gold);
  box-shadow: 0 0 30px rgba(255, 209, 102, 0.18);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.step-icon svg,
.audience-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.step-card h3,
.audience-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.audience-card {
  min-height: 176px;
  display: grid;
  align-content: center;
  padding: 20px 14px;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 209, 102, 0.42);
}

.audience-card:nth-child(3n) .audience-icon {
  color: var(--green);
  background: var(--green-soft);
}

.audience-card:nth-child(3n + 1) .audience-icon {
  color: var(--red);
  background: var(--red-soft);
}

.audience-card:nth-child(3n + 2) .audience-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 76px);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background:
    radial-gradient(circle at 24% 50%, rgba(255, 59, 77, 0.22), transparent 28%),
    radial-gradient(circle at 76% 48%, rgba(32, 240, 139, 0.22), transparent 28%),
    conic-gradient(from 90deg, rgba(255, 209, 102, 0.18), transparent, rgba(42, 168, 255, 0.2), transparent, rgba(255, 209, 102, 0.18));
  animation: rotateSlow 20s linear infinite;
  opacity: 0.8;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.2;
}

.final-cta .download-row {
  justify-content: center;
}

footer {
  padding: 32px 0 44px;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.mode-card.reveal {
  transition:
    opacity 700ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(20px, -38px, 0) rotate(28deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.68;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cellFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes phoneHover {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes particle {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(20px) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateY(-34px) scale(1.2);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .download-row {
    justify-content: center;
  }

  .hero-stage {
    min-height: 620px;
  }

  .audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-bottom: 44px;
  }

  .brand-lockup {
    margin-inline: auto;
  }

  .download-row,
  .store-badge {
    width: 100%;
  }

  .hero-stage {
    min-height: 560px;
  }

  .board-wrap {
    inset: 74px 30px 70px;
    border-radius: 30px;
  }

  .hero-board-viewport {
    --mini-board-scale: 0.72;
  }

  .phone-buzzer {
    width: 118px;
    height: 230px;
    border-width: 6px;
    border-radius: 24px;
  }

  .phone-buzzer.red {
    right: -10px;
    top: 178px;
  }

  .phone-buzzer.green {
    left: -10px;
    top: 178px;
  }

  .team-label {
    top: 40px;
    font-size: 1rem;
  }

  .bell {
    top: 108px;
    width: 62px;
    height: 62px;
  }

  .bell svg {
    width: 32px;
  }

  .score-chip {
    top: 18px;
    min-width: auto;
    font-size: 0.86rem;
  }

  .timer-orb {
    width: 58px;
    height: 58px;
    font-size: 1.12rem;
  }

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

  .mode-card {
    min-height: auto;
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-card {
    min-height: 154px;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(4rem, 24vw, 6rem);
  }

  .hero-stage {
    min-height: 500px;
  }

  .board-wrap {
    inset: 76px 12px 72px;
  }

  .phone-buzzer {
    width: 98px;
    height: 198px;
  }

  .phone-buzzer.red {
    right: -20px;
  }

  .phone-buzzer.green {
    left: -20px;
  }

  .hero-board-viewport {
    --mini-board-scale: 0.58;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }
}
