@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&family=Vazirmatn:wght@300;400;600;700&display=swap");

:root {
  --bg: #08131f;
  --bg-soft: #102336;
  --panel: #102840cc;
  --line: #ffffff24;
  --text: #e8f4ff;
  --muted: #b2c4d7;
  --orange: #ff9a3e;
  --teal: #36d6c9;
  --blue: #5cb4ff;
  --ok: #8dff7d;
  --shadow: 0 24px 50px #00000073;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Vazirmatn", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 15%, #2f5f8f66, transparent 40%),
    radial-gradient(circle at 90% 10%, #1aa59a4a, transparent 34%),
    linear-gradient(145deg, #08131f 0%, #0f1f2f 55%, #1a2b42 100%);
  color: var(--text);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -3;
  animation: drift 11s ease-in-out infinite;
}

.ambient-a {
  right: -8vw;
  top: -8vw;
  background: #36d6c9;
}

.ambient-b {
  left: -10vw;
  bottom: -12vw;
  background: #ff9a3e;
  animation-delay: -5s;
}

.grid-noise {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(#ffffff14 1px, transparent 1px),
    linear-gradient(90deg, #ffffff14 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, #000 38%, transparent 100%);
  z-index: -2;
  pointer-events: none;
}

.hero,
main,
.footer {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.hero {
  padding: 2rem 0 1rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-mark {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: #f5fbff;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed #ffffff4f;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ghost-link:hover {
  color: var(--teal);
  border-color: #36d6c9;
}

.hero-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c0d2e6;
}

.hero-copy h1 {
  font-family: "Orbitron", sans-serif;
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 0 28px #36d6c94f;
}

.lead {
  margin: 0;
  line-height: 1.9;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn-primary {
  color: #102030;
  padding: 0.74rem 1.25rem;
  background: linear-gradient(120deg, var(--orange), #ffc970);
  box-shadow: 0 10px 20px #ff9a3e4a;
}

.btn-outline {
  color: #d4ebff;
  padding: 0.7rem 1.2rem;
  border: 1px solid #ffffff38;
  background: #ffffff10;
}

.btn.full {
  width: 100%;
  margin-top: 1.2rem;
}

.hero-visual {
  justify-self: center;
  position: relative;
  width: min(340px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
}

.ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid #ffffff50;
}

.ring-1 {
  animation: spin 15s linear infinite;
}

.ring-2 {
  inset: 24%;
  border-style: dashed;
  border-color: #36d6c9;
  animation: spinReverse 11s linear infinite;
}

.core {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff, #ffffff8c 20%, transparent 36%),
    radial-gradient(circle at 70% 70%, #ff9a3e, #36d6c9 72%);
  box-shadow: 0 0 50px #5cb4ff6e;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.dot-a {
  top: 8%;
  left: 48%;
  animation: orbitA 9s linear infinite;
}

.dot-b {
  bottom: 4%;
  right: 32%;
  animation: orbitB 11s linear infinite;
}

main {
  padding: 1rem 0 2.5rem;
}

.section {
  margin-top: 2.2rem;
}

.section-head h2,
.callout h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.game-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(155deg, #102840d9, #0f2136cf 70%);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
  border-color: #36d6c9;
}

.game-card h3 {
  font-family: "Orbitron", sans-serif;
  margin: 0.9rem 0 0.5rem;
  font-size: 1.32rem;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.game-card ul {
  margin: 0.9rem 0 0;
  padding: 0 1rem 0 0;
  color: #c9ddf2;
  line-height: 1.8;
}

.meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  border: 1px solid #ffffff4a;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live {
  color: #07150c;
  background: var(--ok);
  border-color: #8dff7d;
}

.beta {
  color: #08131f;
  background: #5cb4ff;
  border-color: #5cb4ff;
}

.glow {
  position: absolute;
  inset: auto -20% -44% -20%;
  height: 45%;
  background: radial-gradient(circle, #36d6c969, transparent 70%);
  pointer-events: none;
}

.callout {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(140deg, #132f49d6, #0d1f34d6);
  padding: 1.2rem 1.1rem;
}

.callout p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  border-top: 1px solid #ffffff2e;
  padding: 1rem 0 1.5rem;
  color: #b0c5d9;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dot-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5d6e8;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

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

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

@keyframes orbitA {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(180deg) translateY(10px);
  }
  100% {
    transform: rotate(360deg) translateY(0);
  }
}

@keyframes orbitB {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-180deg) translateY(-10px);
  }
  100% {
    transform: rotate(-360deg) translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -24px);
  }
}

@media (max-width: 900px) {
  .hero-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-visual {
    order: -1;
  }

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