:root {
  --royal: #7C3AED;
  --cyan: #00E5FF;
  --pink: #FF2D87;
  --yellow: #FFD60A;
  --ink: #0A0612;
  --ink-2: #140A24;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--ink);
  color: #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* ---- Background ---- */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  to { transform: scale(1.18) translateY(-1.5%); }
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(124,58,237,0.45), transparent 55%),
    linear-gradient(135deg, rgba(10,6,18,0.85) 0%, rgba(20,10,36,0.55) 45%, rgba(10,6,18,0.92) 100%);
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  to { background-position: 60px 60px; }
}
.hero__bg-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 -180px 140px -40px rgba(10,6,18,0.95), inset 0 80px 120px -60px rgba(10,6,18,0.7);
}

/* ---- Nav ---- */
.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(10,6,18,0.5), transparent);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bungee', cursive;
  font-size: 22px; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__brand i { font-size: 26px; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none; font-weight: 600; font-size: 15px;
  position: relative; transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--cyan); transition: width .3s;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34F5A0; box-shadow: 0 0 10px #34F5A0;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---- Content ---- */
.hero__content {
  position: relative; z-index: 4;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 0 48px 120px; max-width: 900px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,45,135,0.14);
  border: 1px solid rgba(255,45,135,0.45);
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  color: #FFB3D2;
  opacity: 0; transform: translateY(20px);
  animation: rise .7s .2s forwards;
}
.hero__badge i { color: var(--pink); }

.hero__title {
  font-family: 'Bungee', cursive;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98; letter-spacing: 1px;
  margin: 22px 0 24px;
  text-transform: uppercase;
}
.hero__title-line {
  display: block;
  opacity: 0; transform: translateY(40px) rotate(-2deg);
  animation: rise .8s forwards;
}
.hero__title-line--accent {
  background: linear-gradient(90deg, var(--cyan), var(--pink) 60%, var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(255,45,135,0.4));
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 300; line-height: 1.5;
  max-width: 620px; color: rgba(255,255,255,0.82);
  opacity: 0; transform: translateY(20px);
}

.hero__actions {
  display: flex; gap: 16px; margin-top: 34px;
  opacity: 0; transform: translateY(20px); flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 15px;
  letter-spacing: 0.5px; text-transform: uppercase;
  border-radius: 6px; transition: transform .2s, box-shadow .25s;
  position: relative;
}
.btn--primary {
  background: linear-gradient(90deg, var(--pink), var(--royal));
  color: #fff; box-shadow: 0 8px 30px rgba(255,45,135,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255,45,135,0.6); }
.btn--ghost {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }

/* ---- Stats ---- */
.hero__stats {
  display: flex; align-items: center; gap: 24px;
  margin-top: 48px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: 'Bungee', cursive; font-size: 28px;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 4px;
}
.stat__num i { color: var(--yellow); font-size: 20px; }
.stat__label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,0.15); }

/* ---- Floating cards ---- */
.hero__floating {
  position: absolute; z-index: 5;
  opacity: 0;
  animation: floatIn .9s forwards, bob 4s ease-in-out infinite;
}
.hero__floating--left { left: 48px; bottom: 130px; animation-delay: 1.1s, 1.1s; }
.hero__floating--right { right: 48px; top: 28%; animation-delay: 1.3s, 1.3s; }
.float-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(20,10,36,0.7); backdrop-filter: blur(14px);
  border: 1px solid rgba(0,229,255,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  min-width: 220px;
}
.float-card--win { border-color: rgba(255,214,10,0.4); }
.float-card__icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  flex-shrink: 0;
}
.float-card--win .float-card__icon { background: linear-gradient(135deg, var(--pink), var(--yellow)); }
.float-card strong { display: block; font-size: 14px; font-weight: 700; }
.float-card span { font-size: 12px; color: rgba(255,255,255,0.6); }

@keyframes floatIn { to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { to { opacity: 1; transform: translateY(0) rotate(0); } }

/* delay utility */
[data-delay="0"] { animation-delay: .3s; }
[data-delay="1"] { animation-delay: .45s; }
[data-delay="2"] { animation-delay: .6s; }
[data-delay="3"] { animation-delay: .85s; animation: rise .7s .85s forwards; }
[data-delay="4"] { animation-delay: 1s; animation: rise .7s 1s forwards; }
[data-delay="5"] { animation-delay: 1.15s; animation: rise .7s 1.15s forwards; }

/* ---- Scroll cue ---- */
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__scroll i { animation: bob 2s ease-in-out infinite; font-size: 18px; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .nav { padding: 18px 24px; }
  .nav__links { display: none; }
  .hero__content { padding: 0 24px 140px; }
  .hero__floating--left, .hero__floating--right { display: none; }
  .hero__stats { gap: 16px; }
  .stat-divider { display: none; }
}
