:root {
  --bg: #0a0518;
  --bg-deep: #050210;
  --bg-panel: #15102a;
  --bg-panel-2: #1d1640;
  --text: #ffffff;
  --text-secondary: #b9b3d6;
  --text-muted: #7a7596;
  --gold: #ffd24a;
  --gold-deep: #f5a623;
  --gold-glow: rgba(255, 210, 74, 0.5);
  --neon: #ff3df0;
  --neon-2: #8a3dff;
  --cyan: #29e7ff;
  --red: #ff3354;
  --green: #2ee082;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 80px rgba(138, 61, 255, 0.35);
  --font-display: "Bungee", "Inter", system-ui, sans-serif;
  --font: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(1100px 700px at 80% -10%, rgba(255, 61, 240, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(41, 231, 255, 0.16), transparent 60%),
    radial-gradient(1200px 800px at 50% 110%, rgba(255, 210, 74, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0518 0%, #050210 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Floating coins decoration ===== */
.coins {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.coin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff5b8, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: 0 0 14px rgba(255, 210, 74, 0.65), inset -2px -3px 4px rgba(0,0,0,0.25);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}

.coin:nth-child(1) { left: 5%;  top: 18%;  width: 14px; height: 14px; animation-delay: -2s; }
.coin:nth-child(2) { left: 88%; top: 12%;  width: 22px; height: 22px; animation-delay: -6s; }
.coin:nth-child(3) { left: 12%; top: 72%;  width: 16px; height: 16px; animation-delay: -9s; }
.coin:nth-child(4) { left: 92%; top: 65%;  width: 20px; height: 20px; animation-delay: -4s; }
.coin:nth-child(5) { left: 48%; top: 88%;  width: 12px; height: 12px; animation-delay: -11s; }
.coin:nth-child(6) { left: 25%; top: 38%;  width: 10px; height: 10px; animation-delay: -8s; }
.coin:nth-child(7) { left: 70%; top: 40%;  width: 14px; height: 14px; animation-delay: -13s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.45; }
  50%      { transform: translateY(-30px) rotate(180deg); opacity: 0.85; }
}

main { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 4, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand:hover { color: var(--gold); }

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(255, 61, 240, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-name {
  background: linear-gradient(135deg, #ffe27a 0%, #ffb53d 50%, #ff6bd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.78rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, #ffd24a 0%, #ff8a00 60%, #ff3da3 100%);
  color: #1a0a08;
  box-shadow: 0 0 0 1px rgba(255, 210, 74, 0.4),
              0 8px 22px rgba(255, 138, 0, 0.45),
              0 18px 50px rgba(255, 61, 163, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 210, 74, 0.8),
              0 12px 32px rgba(255, 138, 0, 0.6),
              0 22px 60px rgba(255, 61, 163, 0.5);
  color: #1a0a08;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 210, 74, 0.08);
}

.btn-white {
  background: #fff;
  color: #1a0a08;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-white:hover {
  background: var(--gold);
  color: #1a0a08;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 50% 50%, rgba(138, 61, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 210, 74, 0.12);
  border: 1px solid rgba(255, 210, 74, 0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero-text h1 .accent {
  background: linear-gradient(120deg, #ffe27a 0%, #ffb53d 30%, #ff6bd6 60%, #8a3dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 61, 240, 0.45));
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats .stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe27a, #ff8a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}

.hero-stats .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero phone */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.hero-phone::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 61, 240, 0.4), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(135deg, #ffd24a, #ff3da3 50%, #8a3dff);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 61, 240, 0.4);
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.phone-frame:hover {
  transform: rotate(0deg) translateY(-6px);
}

.phone-frame img {
  width: 280px;
  border-radius: 30px;
  display: block;
}

/* ===== Section heading ===== */
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 56px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ===== Games showcase ===== */
.games-section {
  padding: 96px 0;
  position: relative;
}

.games-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(138, 61, 255, 0.08), transparent);
  pointer-events: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(255, 61, 240, 0.25);
  border-color: rgba(255, 61, 240, 0.4);
}

.game-card .thumb {
  position: relative;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  background: #000;
}

.game-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .thumb img {
  transform: scale(1.04);
}

.game-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 4, 22, 0.95));
  pointer-events: none;
}

.game-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px 22px;
  z-index: 2;
}

.game-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.game-card .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.game-card .meta .badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 74, 0.18);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===== Feature rows ===== */
.feature-row {
  padding: 90px 0;
  position: relative;
}

.feature-row.alt {
  background: linear-gradient(180deg, transparent, rgba(255, 61, 240, 0.05), transparent);
}

.row-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.row-split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.row-split.reverse .row-img { order: 2; }
.row-split.reverse .row-body { order: 1; }

.row-img {
  display: flex;
  justify-content: center;
  position: relative;
}

.row-img::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(41, 231, 255, 0.3), transparent 70%);
  filter: blur(20px);
}

.row-img .phone-frame {
  transform: rotate(2deg);
}

.row-img .phone-frame img {
  width: 250px;
}

.row-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(41, 231, 255, 0.12);
  border: 1px solid rgba(41, 231, 255, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.row-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.15;
}

.row-body p {
  color: var(--text-secondary);
  margin: 0 0 22px;
  line-height: 1.75;
  font-size: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd24a, #ff8a00);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231a0a08' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12l3 3 5-5'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #ffd24a, #ff8a00);
  background-size: 14px, 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.6);
}

/* ===== Feature cards ===== */
.features-grid-section {
  padding: 96px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--neon), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 210, 74, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(255, 138, 0, 0.18);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 210, 74, 0.18), rgba(255, 61, 240, 0.18));
  border: 1px solid rgba(255, 210, 74, 0.25);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== Download CTA ===== */
.download-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  margin: 60px 24px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2a0e4a 0%, #5a1ba6 50%, #ff3da3 100%);
}

.download-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 20% 30%, rgba(255, 210, 74, 0.3), transparent 70%),
    radial-gradient(500px 300px at 80% 70%, rgba(41, 231, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.download-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.download-cta-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.download-cta-text p {
  margin: 0 0 32px;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.92);
}

.download-cta-phone {
  display: flex;
  justify-content: center;
}

.download-cta-phone .phone-frame {
  transform: rotate(4deg);
}

.download-cta-phone .phone-frame img {
  width: 240px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 36px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-simple { text-align: center; }

.footer-simple .foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #fff;
}

.footer-simple .foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-simple p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-simple a { color: var(--text-secondary); }
.footer-simple a:hover { color: var(--gold); }

.foot-disclaimer {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  max-width: 700px;
  margin: 14px auto 0 !important;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav { display: none; }

  .hero { padding: 60px 0 70px; }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 28px; }

  .games-grid { grid-template-columns: repeat(2, 1fr); }

  .row-split,
  .row-split.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .row-split.reverse .row-img { order: 0; }
  .row-split.reverse .row-body { order: 0; }
  .check-list { display: inline-block; text-align: left; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }

  .download-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .download-cta-text p { margin-left: auto; margin-right: auto; }
  .download-cta { padding: 70px 0; margin: 40px 16px; }
}

@media (max-width: 600px) {
  .header-inner { height: 60px; }
  .brand { font-size: 1.05rem; }
  .brand-icon { width: 36px; height: 36px; }

  .hero-phone::before { width: 260px; height: 260px; }
  .phone-frame img { width: 230px; }

  .games-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

  .feature-row { padding: 60px 0; }
  .games-section, .features-grid-section { padding: 60px 0; }

  .download-cta { margin: 30px 12px; padding: 60px 0; }
}
