/* ─────────────────────────────────────────
   UP-X  —  Brand Landing  |  style.css
   ───────────────────────────────────────── */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #09091a;
  --bg2:       #0f0f2a;
  --purple:    #7c3aed;
  --purple-lt: #a855f7;
  --cyan:      #06b6d4;
  --cyan-lt:   #22d3ee;
  --gold:      #f59e0b;
  --gold-lt:   #fbbf24;
  --green:     #10b981;
  --white:     #f0f0ff;
  --muted:     #8888bb;
  --card:      rgba(255,255,255,0.04);
  --card-b:    rgba(255,255,255,0.08);
  --glow-p:    0 0 40px rgba(124,58,237,0.5);
  --glow-c:    0 0 40px rgba(6,182,212,0.5);
  --glow-g:    0 0 40px rgba(245,158,11,0.5);
  --radius:    16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── BACKGROUND GRID ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ─── BLOBS ─── */
.blob {
  position: fixed; border-radius: 50%; filter: blur(100px);
  pointer-events: none; z-index: 0; opacity: 0.18;
}
.blob-1 { width: 600px; height: 600px; top: -200px; left: -200px; background: var(--purple); }
.blob-2 { width: 500px; height: 500px; top: 30%;    right: -200px; background: var(--cyan); }
.blob-3 { width: 400px; height: 400px; bottom: 10%; left: 20%;     background: var(--gold); }

/* ─── SCROLL PROGRESS ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1000;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--gold));
  width: 0%; transition: width .1s linear;
}

/* ─── FLOATING PARTICLES ─── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  animation: floatUp var(--dur, 12s) var(--delay, 0s) linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: var(--op, .5); }
  90%  { opacity: var(--op, .5); }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(9,9,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .3s;
}
.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--purple-lt), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-logo span { -webkit-text-fill-color: var(--gold-lt); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: all .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-lt)) !important;
  color: var(--white) !important; padding: 10px 20px !important;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--glow-p) !important; }

/* ─── BURGER ─── */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 4px; transition: .3s; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; flex-direction: column; gap: 8px;
  position: fixed; top: 65px; left: 0; right: 0; z-index: 890;
  background: rgba(9,9,26,0.97); backdrop-filter: blur(20px);
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--muted); border: 1px solid rgba(255,255,255,0.06); transition: .25s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.mobile-menu a.cta-m {
  background: linear-gradient(135deg, var(--purple), var(--purple-lt));
  color: var(--white) !important; border: none; text-align: center;
}

/* ─── WRAPPER ─── */
.wrapper { position: relative; z-index: 1; }

/* ─── SECTION BASE ─── */
section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
@keyframes shimmer  { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
@keyframes bounce   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes ticker   { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding-top: 120px; padding-bottom: 80px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.4);
  border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 500;
  color: var(--purple-lt); margin-bottom: 28px;
  animation: fadeDown .8s ease both;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 1.5s infinite;
}
.hero-title {
  font-size: clamp(40px, 8vw, 90px); font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
  animation: fadeUp .8s .1s ease both;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--purple-lt) 0%, var(--cyan) 50%, var(--gold-lt) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200%; animation: shimmer 4s linear infinite;
}
.hero-sub {
  font-size: clamp(15px, 2.5vw, 20px); color: var(--muted); max-width: 580px;
  line-height: 1.7; margin-bottom: 40px;
  animation: fadeUp .8s .2s ease both;
}
.hero-sub strong { color: var(--gold-lt); }
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s .3s ease both;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 12px; font-size: 17px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: var(--white); box-shadow: 0 0 30px rgba(124,58,237,0.5);
  transition: all .3s; cursor: pointer; border: none; text-align: center;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 50px rgba(124,58,237,0.7); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 12px; font-size: 17px; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); transition: all .3s; cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); border-color: rgba(255,255,255,0.3); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 44px; border-radius: 12px; font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #09091a; box-shadow: 0 0 40px rgba(245,158,11,0.5);
  transition: all .3s; border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--glow-g); }

/* ─── HERO STATS ─── */
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  margin-top: 64px; animation: fadeUp .8s .45s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--gold-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px; color: var(--muted); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ─── SCROLL DOWN ─── */
.scroll-down { margin-top: 48px; animation: fadeUp .8s .6s ease both; }
.scroll-down a {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 8px; color: var(--muted); font-size: 12px; transition: .3s;
}
.scroll-down a:hover { color: var(--purple-lt); }
.arrow-anim { animation: bounce 2s infinite; }

/* ─── TICKER ─── */
.ticker-wrap {
  overflow: hidden; position: relative; padding: 20px 0; margin: 40px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker 22s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--muted); flex-shrink: 0;
}
.ticker-item .t-dot { width: 8px; height: 8px; border-radius: 50%; }
.t-p { background: var(--purple-lt); }
.t-c { background: var(--cyan); }
.t-g { background: var(--gold); }

/* ─── SECTION HEADER ─── */
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-purple { background: rgba(124,58,237,0.15); color: var(--purple-lt); border: 1px solid rgba(124,58,237,0.3); }
.tag-cyan   { background: rgba(6,182,212,0.12);  color: var(--cyan-lt);   border: 1px solid rgba(6,182,212,0.3); }
.tag-gold   { background: rgba(245,158,11,0.12); color: var(--gold-lt);   border: 1px solid rgba(245,158,11,0.3); }
.section-title {
  font-size: clamp(26px, 5vw, 48px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15;
}
.section-sub {
  font-size: 16px; color: var(--muted); margin-top: 14px;
  max-width: 540px; margin-inline: auto; line-height: 1.7;
}

/* ─── FEATURES / BENEFITS ─── */
#benefits { padding-top: 60px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--card); border: 1px solid var(--card-b);
  border-radius: var(--radius-lg); padding: 32px; transition: all .3s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: .3s;
}
.feat-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.16); }
.feat-card:hover::before { opacity: 1; }
.feat-card.p::before { background: radial-gradient(circle at top left, rgba(124,58,237,0.12), transparent 70%); }
.feat-card.c::before { background: radial-gradient(circle at top left, rgba(6,182,212,0.12),  transparent 70%); }
.feat-card.g::before { background: radial-gradient(circle at top left, rgba(245,158,11,0.12), transparent 70%); }
.feat-card.r::before { background: radial-gradient(circle at top left, rgba(16,185,129,0.12), transparent 70%); }
.feat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.feat-icon.p { background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(168,85,247,0.2)); }
.feat-icon.c { background: linear-gradient(135deg, rgba(6,182,212,0.3),  rgba(34,211,238,0.2)); }
.feat-icon.g { background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(251,191,36,0.2)); }
.feat-icon.r { background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(52,211,153,0.2)); }
.feat-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── GAMES ─── */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.game-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  cursor: pointer; transition: transform .3s; aspect-ratio: 16/10;
  display: flex; align-items: flex-end; padding: 16px;
  text-decoration: none;
}
.game-card:hover { transform: scale(1.04); }
.game-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 60%);
}
.gc-1 { background: linear-gradient(135deg, #1a0050, #6d28d9, #a78bfa); }
.gc-2 { background: linear-gradient(135deg, #0c4a6e, #0369a1, #38bdf8); }
.gc-3 { background: linear-gradient(135deg, #3b0764, #9333ea, #f472b6); }
.gc-4 { background: linear-gradient(135deg, #451a03, #b45309, #fcd34d); }
.gc-5 { background: linear-gradient(135deg, #064e3b, #065f46, #34d399); }
.gc-6 { background: linear-gradient(135deg, #7f1d1d, #b91c1c, #f87171); }
.game-emoji {
  font-size: 48px; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-60%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.game-label { position: relative; z-index: 1; font-weight: 700; font-size: 15px; }
.game-sub   { position: relative; z-index: 1; font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.games-cta  { text-align: center; }

/* ─── HOW IT WORKS ─── */
#how { background: linear-gradient(180deg, transparent, rgba(124,58,237,0.04) 50%, transparent); }
.steps-wrap { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 32px; align-items: flex-start; padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  box-shadow: var(--glow-p); color: var(--white); position: relative;
}
.step-num::after {
  content: ''; position: absolute; left: 50%; bottom: -100%;
  transform: translateX(-50%); width: 2px; height: 72px;
  background: linear-gradient(180deg, rgba(124,58,237,0.5), transparent);
}
.step:last-child .step-num::after { display: none; }
.step-body  { flex: 1; }
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 15px; color: var(--muted); line-height: 1.7; }
.step-badge {
  display: inline-block; margin-top: 12px; padding: 4px 12px;
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50px; color: var(--gold-lt); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .25s;
}
.step-badge:hover { background: rgba(245,158,11,0.22); }

/* ─── TRUST BADGES ─── */
#trust { padding-top: 40px; padding-bottom: 40px; }
.trust-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--card-b);
  border-radius: 12px; padding: 14px 20px; font-size: 14px; font-weight: 500;
}
.trust-icon { font-size: 22px; }

/* ─── FINAL CTA ─── */
#cta {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
}
.cta-title {
  font-size: clamp(28px, 6vw, 60px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.cta-title .hl {
  background: linear-gradient(135deg, var(--gold-lt), var(--purple-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-sub {
  font-size: 17px; color: var(--muted); margin-bottom: 40px;
  max-width: 480px; margin-inline: auto; line-height: 1.7;
}
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ─── FOOTER ─── */
footer {
  text-align: center; padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--muted); font-size: 13px;
  position: relative; z-index: 1; line-height: 1.8;
}
footer a { color: var(--purple-lt); transition: color .25s; }
footer a:hover { color: var(--white); }
.footer-logo {
  font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple-lt), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px; display: block;
}
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.footer-links a { color: var(--muted); font-size: 13px; transition: .25s; }
.footer-links a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 80px 18px; }
  #hero { padding-top: 100px; }
  .hero-stats { gap: 28px; }
  .step { flex-direction: column; gap: 16px; }
  .step-num::after { display: none; }
  .feat-card { padding: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-secondary,
  .btn-gold { width: 100%; max-width: 340px; justify-content: center; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
