/* ============================================================
   LOOTBIT — Dark Crypto Gaming Landing Page
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a0e27;
  --black:   #000000;
  --charcoal:#1a1f3a;
  --surface: #0f1330;
  --card:    #131729;
  --cyan:    #00d9ff;
  --cyan-dim:#0099bb;
  --purple:  #a855f7;
  --purple-dim:#7c3aed;
  --gold:    #fbbf24;
  --gold-dim:#d97706;
  --gray:    #9ca3af;
  --white:   #ffffff;

  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
em { font-style: normal; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Scroll reveal ---- */
[data-scroll] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-scroll="fade-down"] { transform: translateY(-32px); }
[data-scroll="zoom-in"]   { transform: scale(0.88) translateY(16px); }
[data-scroll].visible {
  opacity: 1;
  transform: none;
}

/* ---- Glow text ---- */
.cyan-glow {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0,217,255,0.6), 0 0 60px rgba(0,217,255,0.3);
}
.purple-glow {
  color: var(--purple);
  text-shadow: 0 0 20px rgba(168,85,247,0.6), 0 0 60px rgba(168,85,247,0.3);
}
.gold-glow {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(251,191,36,0.6), 0 0 60px rgba(251,191,36,0.3);
}

/* ---- Orbs ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.orb--cyan   { width: 500px; height: 500px; background: rgba(0,217,255,0.12); top: -100px; left: -120px; }
.orb--purple { width: 600px; height: 600px; background: rgba(168,85,247,0.10); top: 100px; right: -200px; }
.orb--gold   { width: 400px; height: 400px; background: rgba(251,191,36,0.10); top: -80px; left: -100px; }
.orb--right  { left: auto; right: -200px; }
.orb--sm     { width: 320px; height: 320px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(10,14,39,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,217,255,0.08);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
  text-shadow: 0 0 16px rgba(0,217,255,0.3);
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--cyan) !important;
  font-weight: 600 !important;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(0,217,255,0.2) !important;
  box-shadow: 0 0 20px rgba(0,217,255,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,14,39,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,217,255,0.08);
  padding: 20px 24px;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-cta {
  color: var(--cyan) !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* ---- Split hero layout ---- */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

/* ---- Text column ---- */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--white);
  text-shadow:
    0 0 20px rgba(0,217,255,0.8),
    0 0 60px rgba(0,217,255,0.4),
    0 0 120px rgba(0,217,255,0.2);
  margin-bottom: 28px;
  animation: logoFlicker 4s ease-in-out infinite;
}
.hero-logo span { color: var(--cyan); }
.hero-logo--split {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

@keyframes logoFlicker {
  0%, 100% { text-shadow: 0 0 20px rgba(0,217,255,0.8), 0 0 60px rgba(0,217,255,0.4), 0 0 120px rgba(0,217,255,0.2); }
  50%       { text-shadow: 0 0 30px rgba(0,217,255,1),   0 0 80px rgba(0,217,255,0.6), 0 0 160px rgba(0,217,255,0.3); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-headline--split {
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-align: left;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-sub--split {
  text-align: left;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}
.hero-sub strong { color: var(--cyan); font-weight: 600; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-badges--split {
  justify-content: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition);
}
.badge:hover {
  border-color: rgba(0,217,255,0.4);
  background: rgba(0,217,255,0.06);
}
.b-icon { width: 16px; height: 16px; color: var(--cyan); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-actions--split {
  justify-content: flex-start;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  backdrop-filter: blur(10px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-val {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(0,217,255,0.4);
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  animation: scrollFade 2s ease-in-out infinite;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ============================================================
   HERO CARDS COLUMN
   ============================================================ */
.hero-cards-col {
  position: relative;
  height: 520px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Central glow behind all cards */
.hc-center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.18) 0%, rgba(168,85,247,0.12) 40%, transparent 70%);
  filter: blur(40px);
  animation: orbPulse 3s ease-in-out infinite;
  z-index: 0;
}
@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  50%       { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Decorative rings */
.hc-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0,217,255,0.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hc-ring--1 {
  width: 320px;
  height: 320px;
  animation: ringRotate 12s linear infinite;
  border-color: rgba(0,217,255,0.12);
  border-style: dashed;
}
.hc-ring--2 {
  width: 460px;
  height: 460px;
  animation: ringRotate 20s linear infinite reverse;
  border-color: rgba(168,85,247,0.08);
  border-style: dashed;
}
@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Individual cards */
.hc-card {
  position: absolute;
  width: 160px;
  height: 220px;
  border-radius: 20px;
  transform-style: preserve-3d;
  cursor: pointer;
  animation-fill-mode: both;
}

.hc-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transform-style: preserve-3d;
}

.hc-card-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1f3a 0%, #0a0e27 100%);
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* SOL card — center/main */
.hc-card--main {
  width: 180px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: floatMain 5s ease-in-out infinite, heroEntrance 0.9s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
}

/* DOGE card — left */
.hc-card--side-left {
  width: 148px;
  height: 205px;
  top: 45%;
  left: 4%;
  z-index: 5;
  animation: floatLeft 6s ease-in-out infinite 1s, heroEntranceLeft 1s cubic-bezier(0.34,1.56,0.64,1) 0.5s both;
}

/* TON card — right */
.hc-card--side-right {
  width: 148px;
  height: 205px;
  top: 45%;
  right: 4%;
  z-index: 5;
  animation: floatRight 7s ease-in-out infinite 0.5s, heroEntranceRight 1s cubic-bezier(0.34,1.56,0.64,1) 0.7s both;
}

/* Float keyframes */
@keyframes floatMain {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px)   rotateX(4deg)  rotateY(-4deg); }
  25%       { transform: translate(-50%, -50%) translateY(-14px) rotateX(6deg)  rotateY(4deg); }
  50%       { transform: translate(-50%, -50%) translateY(-8px)  rotateX(-3deg) rotateY(6deg); }
  75%       { transform: translate(-50%, -50%) translateY(-18px) rotateX(5deg)  rotateY(-6deg); }
}
@keyframes floatLeft {
  0%, 100% { transform: translateY(0px)   rotateX(3deg)  rotateY(6deg)  rotate(-6deg); }
  33%       { transform: translateY(-12px) rotateX(-4deg) rotateY(-4deg) rotate(-6deg); }
  66%       { transform: translateY(-6px)  rotateX(5deg)  rotateY(8deg)  rotate(-6deg); }
}
@keyframes floatRight {
  0%, 100% { transform: translateY(0px)   rotateX(4deg)  rotateY(-6deg) rotate(6deg); }
  33%       { transform: translateY(-16px) rotateX(-3deg) rotateY(5deg)  rotate(6deg); }
  66%       { transform: translateY(-8px)  rotateX(6deg)  rotateY(-8deg) rotate(6deg); }
}

/* Entry animations — treasure reveal */
@keyframes heroEntrance {
  0%   { opacity: 0; transform: translate(-50%, -30%) scale(0.5) rotateX(-40deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1)   rotateX(4deg) rotateY(-4deg); }
}
@keyframes heroEntranceLeft {
  0%   { opacity: 0; transform: translateX(-80px) translateY(40px) scale(0.4) rotateY(-60deg); }
  100% { opacity: 1; transform: translateY(0px) rotateX(3deg) rotateY(6deg) rotate(-6deg); }
}
@keyframes heroEntranceRight {
  0%   { opacity: 0; transform: translateX(80px) translateY(40px) scale(0.4) rotateY(60deg); }
  100% { opacity: 1; transform: translateY(0px) rotateX(4deg) rotateY(-6deg) rotate(6deg); }
}

/* Glow halos on cards */
.hc-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  z-index: 0;
  pointer-events: none;
}
.hc-card-glow--gold {
  box-shadow:
    0 0 20px rgba(251,191,36,0.5),
    0 0 50px rgba(251,191,36,0.25),
    0 0 100px rgba(251,191,36,0.1),
    inset 0 0 20px rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.5);
  animation: glowPulseGold 3s ease-in-out infinite;
}
.hc-card-glow--cyan {
  box-shadow:
    0 0 16px rgba(0,217,255,0.45),
    0 0 40px rgba(0,217,255,0.2),
    0 0 80px rgba(0,217,255,0.08),
    inset 0 0 16px rgba(0,217,255,0.04);
  border: 1px solid rgba(0,217,255,0.4);
  animation: glowPulseCyan 3.5s ease-in-out infinite 0.5s;
}
.hc-card-glow--purple {
  box-shadow:
    0 0 16px rgba(168,85,247,0.45),
    0 0 40px rgba(168,85,247,0.2),
    0 0 80px rgba(168,85,247,0.08),
    inset 0 0 16px rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.4);
  animation: glowPulsePurple 4s ease-in-out infinite 1s;
}
@keyframes glowPulseGold {
  0%, 100% { box-shadow: 0 0 20px rgba(251,191,36,0.5), 0 0 50px rgba(251,191,36,0.25), 0 0 100px rgba(251,191,36,0.1); }
  50%       { box-shadow: 0 0 30px rgba(251,191,36,0.8), 0 0 70px rgba(251,191,36,0.4),  0 0 140px rgba(251,191,36,0.2); }
}
@keyframes glowPulseCyan {
  0%, 100% { box-shadow: 0 0 16px rgba(0,217,255,0.45), 0 0 40px rgba(0,217,255,0.2), 0 0 80px rgba(0,217,255,0.08); }
  50%       { box-shadow: 0 0 24px rgba(0,217,255,0.7),  0 0 60px rgba(0,217,255,0.35), 0 0 120px rgba(0,217,255,0.15); }
}
@keyframes glowPulsePurple {
  0%, 100% { box-shadow: 0 0 16px rgba(168,85,247,0.45), 0 0 40px rgba(168,85,247,0.2), 0 0 80px rgba(168,85,247,0.08); }
  50%       { box-shadow: 0 0 24px rgba(168,85,247,0.7),  0 0 60px rgba(168,85,247,0.35), 0 0 120px rgba(168,85,247,0.15); }
}

/* Shine overlay on cards */
.hc-card-shine {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.04) 30%,
    transparent 60%,
    rgba(255,255,255,0.02) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Rarity tags */
.hc-card-tag {
  position: relative;
  z-index: 3;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin: 12px 0 4px;
}
.hc-card-tag--legendary {
  background: rgba(251,191,36,0.18);
  color: var(--gold);
  border: 1px solid rgba(251,191,36,0.4);
}
.hc-card-tag--rare {
  background: rgba(0,217,255,0.15);
  color: var(--cyan);
  border: 1px solid rgba(0,217,255,0.35);
}
.hc-card-tag--epic {
  background: rgba(168,85,247,0.15);
  color: var(--purple);
  border: 1px solid rgba(168,85,247,0.35);
}

/* Image area inside card */
.hc-card-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 12px;
  z-index: 1;
}
.hc-card-img-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
  position: relative;
  z-index: 2;
  animation: imgBob 4s ease-in-out infinite;
}
.hc-card--main .hc-card-img-wrap img {
  width: 96px;
  height: 96px;
}
@keyframes imgBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* Per-image glow under coin */
.hc-img-glow {
  position: absolute;
  width: 100px;
  height: 40px;
  border-radius: 50%;
  filter: blur(18px);
  z-index: 1;
  bottom: 8px;
}
.hc-img-glow--gold   { background: rgba(251,191,36,0.5); }
.hc-img-glow--cyan   { background: rgba(0,217,255,0.45); }
.hc-img-glow--purple { background: rgba(168,85,247,0.45); }

/* Card info text */
.hc-card-info {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 12px 4px;
}
.hc-card-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.hc-card--main .hc-card-name { font-size: 0.95rem; }
.hc-card-val {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Sparkle dots floating around cards */
.hc-sparkle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
}
.hc-sparkle--1 { width: 5px; height: 5px; background: var(--gold);   top: 15%; left: 48%; animation: sparkle 2.8s ease-in-out infinite; box-shadow: 0 0 8px rgba(251,191,36,0.9); }
.hc-sparkle--2 { width: 4px; height: 4px; background: var(--cyan);   top: 25%; left: 72%; animation: sparkle 3.5s ease-in-out infinite 0.7s; box-shadow: 0 0 8px rgba(0,217,255,0.9); }
.hc-sparkle--3 { width: 6px; height: 6px; background: var(--purple); top: 60%; left: 20%; animation: sparkle 4s ease-in-out infinite 1.2s; box-shadow: 0 0 10px rgba(168,85,247,0.9); }
.hc-sparkle--4 { width: 3px; height: 3px; background: var(--gold);   top: 75%; left: 65%; animation: sparkle 2.4s ease-in-out infinite 0.4s; box-shadow: 0 0 6px rgba(251,191,36,0.9); }
.hc-sparkle--5 { width: 4px; height: 4px; background: var(--cyan);   top: 82%; left: 40%; animation: sparkle 3.2s ease-in-out infinite 1.8s; box-shadow: 0 0 8px rgba(0,217,255,0.9); }
.hc-sparkle--6 { width: 5px; height: 5px; background: var(--purple); top: 10%; left: 28%; animation: sparkle 3.8s ease-in-out infinite 0.9s; box-shadow: 0 0 8px rgba(168,85,247,0.9); }

@keyframes sparkle {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 1; transform: translateY(-8px) scale(1); }
  80%  { opacity: 0.7; transform: translateY(-20px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-32px) scale(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-dim), var(--cyan));
  color: var(--navy);
  box-shadow: 0 0 24px rgba(0,217,255,0.35), 0 4px 20px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,217,255,0.55), 0 8px 32px rgba(0,0,0,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn-lg  { font-size: 0.9rem;  padding: 14px 32px; }
.btn-xl  { font-size: 1rem;    padding: 18px 40px; }

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(0,217,255,0.35), 0 4px 20px rgba(0,0,0,0.3); }
  50%       { box-shadow: 0 0 50px rgba(0,217,255,0.7), 0 0 100px rgba(0,217,255,0.3), 0 4px 20px rgba(0,0,0,0.3); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  position: relative;
  padding: 100px 0;
}
.sec-head {
  text-align: center;
  margin-bottom: 60px;
}
.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.sec-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover {
  border-color: rgba(0,217,255,0.2);
  transform: translateY(-6px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.85;
}
.cyan-num   { color: var(--cyan);   text-shadow: 0 0 20px rgba(0,217,255,0.4); }
.purple-num { color: var(--purple); text-shadow: 0 0 20px rgba(168,85,247,0.4); }
.gold-num   { color: var(--gold);   text-shadow: 0 0 20px rgba(251,191,36,0.4); }

.step-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.4);
}
.step-icon-wrap svg { width: 100%; height: 100%; }

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 56px;
  color: rgba(255,255,255,0.2);
  z-index: 2;
}

/* ============================================================
   REWARDS
   ============================================================ */
.rewards-section { overflow: hidden; }
.rewards-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.rarity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.filter:hover, .filter.active {
  background: rgba(0,217,255,0.12);
  border-color: rgba(0,217,255,0.4);
  color: var(--cyan);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card base */
.r-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.r-card:hover { transform: translateY(-8px) scale(1.01); }

.r-card.common    { border-color: rgba(156,163,175,0.3); }
.r-card.rare      { border-color: rgba(0,217,255,0.35); }
.r-card.epic      { border-color: rgba(168,85,247,0.4); }
.r-card.legendary { border-color: rgba(251,191,36,0.45); }

.r-card.common:hover    { box-shadow: 0 8px 40px rgba(156,163,175,0.15); }
.r-card.rare:hover      { box-shadow: 0 8px 40px rgba(0,217,255,0.2); }
.r-card.epic:hover      { box-shadow: 0 8px 40px rgba(168,85,247,0.25); }
.r-card.legendary:hover { box-shadow: 0 8px 40px rgba(251,191,36,0.25); }

/* Shine overlay */
.r-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Tag */
.r-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}
.common .r-tag    { background: rgba(156,163,175,0.2); color: #9ca3af; border: 1px solid rgba(156,163,175,0.3); }
.rare .r-tag      { background: rgba(0,217,255,0.15);  color: var(--cyan);   border: 1px solid rgba(0,217,255,0.3); }
.epic .r-tag      { background: rgba(168,85,247,0.15); color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }
.legendary .r-tag { background: rgba(251,191,36,0.15); color: var(--gold);   border: 1px solid rgba(251,191,36,0.3); }

.r-img {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  background: rgba(0,0,0,0.2);
}
.r-img img {
  height: 110px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.r-card:hover .r-img img { transform: scale(1.08) translateY(-4px); }

.r-glow {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}
.common .r-glow    { background: rgba(156,163,175,0.15); }
.rare .r-glow      { background: rgba(0,217,255,0.2); }
.epic .r-glow      { background: rgba(168,85,247,0.2); }
.legendary .r-glow { background: rgba(251,191,36,0.2); }

.r-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r-body h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.r-val {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.6;
}
.legendary .r-val { color: var(--gold); opacity: 0.9; }
.epic      .r-val { color: var(--purple); opacity: 0.9; }
.rare      .r-val { color: var(--cyan); opacity: 0.9; }

.r-card.hidden {
  display: none;
}

/* ============================================================
   ODDS
   ============================================================ */
.odds-panel {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}

.odds-row-item {
  display: grid;
  grid-template-columns: 140px 1fr 56px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}
.odds-row-item:last-child { border-bottom: none; }
.odds-row-item:hover { background: rgba(255,255,255,0.02); }

.odds-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.odds-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-common    { background: #9ca3af; box-shadow: 0 0 6px rgba(156,163,175,0.6); }
.dot-rare      { background: var(--cyan);   box-shadow: 0 0 8px rgba(0,217,255,0.7); }
.dot-epic      { background: var(--purple); box-shadow: 0 0 8px rgba(168,85,247,0.7); }
.dot-legendary { background: var(--gold);   box-shadow: 0 0 8px rgba(251,191,36,0.7); }

.odds-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.odds-bar-track {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  height: 10px;
  overflow: hidden;
}
.odds-bar-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.odds-bar-fill.animated { width: var(--w); }

.odds-pct {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}
.odds-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.odds-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,217,255,0.04);
  border: 1px solid rgba(0,217,255,0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}
.odds-note svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 1px;
}

/* ============================================================
   LIVE FEED
   ============================================================ */
.feed-section { padding: 60px 0; }
.feed-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}
.feed-wrap::before,
.feed-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.feed-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.feed-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }

.feed-track {
  display: flex;
  gap: 16px;
  animation: feedScroll 40s linear infinite;
  width: max-content;
}
@keyframes feedScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.feed-track:hover { animation-play-state: paused; }

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  white-space: nowrap;
  flex-shrink: 0;
}
.feed-item.legendary { border-color: rgba(251,191,36,0.3); }
.feed-item.epic      { border-color: rgba(168,85,247,0.3); }
.feed-item.rare      { border-color: rgba(0,217,255,0.3); }

.feed-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--charcoal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid rgba(0,217,255,0.2);
}
.feed-info { display: flex; flex-direction: column; gap: 2px; }
.feed-user { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.feed-reward { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.feed-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.08em; }
.feed-item.legendary .feed-badge { background: rgba(251,191,36,0.15); color: var(--gold); }
.feed-item.epic      .feed-badge { background: rgba(168,85,247,0.15); color: var(--purple); }
.feed-item.rare      .feed-badge { background: rgba(0,217,255,0.12); color: var(--cyan); }
.feed-item.common    .feed-badge { background: rgba(156,163,175,0.12); color: #9ca3af; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { overflow: hidden; }
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-inner { display: flex; justify-content: center; }
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions { margin-bottom: 40px; }

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.social svg { width: 18px; height: 18px; }
.social:hover {
  background: rgba(0,217,255,0.12);
  border-color: rgba(0,217,255,0.4);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,217,255,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
  background: rgba(0,0,0,0.3);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
}
.footer-logo span { color: var(--cyan); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--cyan); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rewards-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-split { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-cards-col { height: 440px; }
  .stat { padding: 0 20px; }
}

@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .step-arrow { display: none; }
  .odds-row-item { grid-template-columns: 120px 1fr 48px; }
  .odds-desc { display: none; }
  /* Stack hero vertically, cards below text */
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-col {
    align-items: center;
  }
  .hero-logo--split,
  .hero-headline--split,
  .hero-sub--split {
    text-align: center;
  }
  .hero-badges--split,
  .hero-actions--split {
    justify-content: center;
  }
  .hero-cards-col {
    height: 360px;
    order: -1;
    margin-bottom: 12px;
  }
  .hc-ring--2 { width: 360px; height: 360px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .odds-row-item { grid-template-columns: 100px 1fr 44px; gap: 12px; padding: 16px 20px; }
  .hero-cards-col { height: 300px; }
  .hc-card--main  { width: 150px; }
  .hc-card--side-left,
  .hc-card--side-right { width: 120px; }
  .hc-card-img-wrap img { width: 64px; height: 64px; }
  .hc-card--main .hc-card-img-wrap img { width: 78px; height: 78px; }
}

@media (max-width: 520px) {
  .rewards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-sep { width: 60px; height: 1px; }
  .stat { padding: 0; }
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-title { font-size: 2.2rem; }
  .hero-cards-col { height: 260px; }
  .hc-card--main  { width: 130px; }
  .hc-card--side-left,
  .hc-card--side-right { width: 105px; }
  .hc-ring--1 { width: 220px; height: 220px; }
  .hc-ring--2 { width: 300px; height: 300px; }
}

/* ============================================================
   LEGEND CARD SPARKLE (legendary hover)
   ============================================================ */
.r-card.legendary::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(251,191,36,0) 40%, rgba(251,191,36,0.12) 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.r-card.legendary:hover::after { opacity: 1; }
