/* ─────────────────────────────────────────────────────
   NexusTopUp — Store UI (Elegant & Minimal)
───────────────────────────────────────────────────── */

/* NAVBAR */
.navbar { 
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; 
  padding: 16px 0; background: rgba(7, 7, 15, 0.7); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { color: white; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.nav-logo .logo-accent { color: var(--primary); }

/* HERO */
.hero { padding: 140px 24px 80px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1px; }
.hero-desc { color: var(--text2); font-size: 16px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* GAMES GRID */
.section { padding: 40px 24px; max-width: 1100px; margin: 0 auto; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.game-card { 
  background: var(--bg2); border: 1px solid var(--border); 
  border-radius: 20px; padding: 32px 24px; text-decoration: none; color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; align-items: center; text-align: center;
}
.game-card:hover { transform: translateY(-8px); border-color: var(--primary); background: rgba(124, 58, 237, 0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.game-icon { 
  font-size: 48px; 
  margin-bottom: 20px; 
  display: flex !important; 
  align-items: center; 
  justify-content: center;
  width: 80px; 
  height: 80px;
}
.game-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.game-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.game-currency { font-size: 12px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* TOPUP LAYOUT */
.topup-page { padding-top: 100px; }
.game-header { padding: 60px 0; border-bottom: 1px solid var(--border); text-align: center; }
.game-header h1 { font-size: 32px; font-weight: 800; }

.topup-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 40px 24px; max-width: 1100px; margin: 0 auto; align-items: start; }
.topup-step { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 32px; margin-bottom: 24px; }
.step-badge { 
  width: 28px; height: 28px; border-radius: 8px; background: var(--primary); 
  display: flex; align-items: center; justify-content: center; 
  font-weight: 800; font-size: 13px; margin-bottom: 20px; 
}
.topup-step h2 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.amounts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.amount-card { 
  background: var(--bg3); border: 1.5px solid var(--border); border-radius: 12px; 
  padding: 16px; cursor: pointer; text-align: center; transition: 0.2s;
}
.amount-card:hover { border-color: rgba(255,255,255,0.2); }
.amount-card.selected { border-color: var(--primary); background: rgba(124, 58, 237, 0.1); box-shadow: 0 0 15px var(--primary-glow); }
.amount-name { font-weight: 700; font-size: 14px; display: block; margin-bottom: 4px; }
.amount-price { font-size: 12px; color: var(--gold); font-weight: 700; }

/* TRACKING */
.track-wrap { padding-top: 120px; max-width: 700px !important; }
.track-card { background: var(--bg2); border-radius: 20px; border: 1px solid var(--border); padding: 32px; }
.price-highlight { color: var(--gold); font-weight: 800; font-size: 20px; }

@media (max-width: 900px) {
  .topup-layout { grid-template-columns: 1fr; }
}
