/* ═══════════════════════════════════════════
   VANITY STORE — CSS
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette: dark navy + cyan accent */
  --bg-base: #090b10;
  --bg-surface: #0f1118;
  --bg-card: rgba(15, 17, 26, 0.8);
  --bg-card-hover: rgba(20, 23, 35, 0.9);
  --border: rgba(255,255,255,0.05);
  --border-hover: rgba(255,255,255,0.1);

  --text-1: #eceef4;
  --text-2: #8b8fa3;
  --text-3: #4e5166;

  /* Accent colors */
  --cyan: #22d3ee;
  --cyan-dim: rgba(34,211,238,0.12);
  --violet: #a78bfa;
  --violet-dim: rgba(167,139,250,0.12);
  --teal: #2dd4bf;
  --teal-dim: rgba(45,212,191,0.12);
  --rose: #fb7185;
  --rose-dim: rgba(251,113,133,0.12);

  --gradient: linear-gradient(135deg, var(--cyan), var(--violet));
  --gradient-warm: linear-gradient(135deg, var(--rose), var(--violet));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(9,11,16,0.8);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.5));
}

.logo-text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--ease);
}
.nav-link:hover { color: var(--text-1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}

.btn-buy {
  width: 100%;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.btn-buy-teal { background: var(--teal); color: #000; }
.btn-buy-teal:hover { box-shadow: 0 8px 30px var(--teal-dim); transform: translateY(-2px); }

.btn-buy-violet { background: var(--violet); color: #000; }
.btn-buy-violet:hover { box-shadow: 0 8px 30px var(--violet-dim); transform: translateY(-2px); }

.btn-buy-cyan { background: var(--cyan); color: #000; }
.btn-buy-cyan:hover { box-shadow: 0 8px 30px var(--cyan-dim); transform: translateY(-2px); }

.btn-buy-rose { background: var(--rose); color: #000; }
.btn-buy-rose:hover { box-shadow: 0 8px 30px var(--rose-dim); transform: translateY(-2px); }

.btn-buy-gradient {
  background: var(--gradient);
  color: #000;
}
.btn-buy-gradient:hover {
  box-shadow: 0 8px 30px var(--cyan-dim);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* Cart button */
.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.cart-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--cyan);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--ease);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
}

/* ── HERO ── */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--cyan-dim) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.8; transform: translateX(-50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── TRUST STRIP ── */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s ease infinite;
}

.dot-green { background: var(--teal); }
.dot-blue { background: var(--cyan); }
.dot-purple { background: var(--violet); }
.dot-cyan { background: var(--cyan); }

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── MAIN ── */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.section { margin-bottom: 80px; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--violet-dim);
  color: var(--violet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-2);
  font-size: 15px;
}

/* ── RANK CARDS ── */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rank-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all var(--ease);
}

.rank-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.rank-card-featured {
  border-color: rgba(34,211,238,0.2);
  background: rgba(15,20,30,0.85);
}
.rank-card-featured:hover {
  border-color: rgba(34,211,238,0.4);
}

.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}

.rank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rank-name {
  font-size: 18px;
  font-weight: 700;
}
.rank-teal { color: var(--teal); }
.rank-violet { color: var(--violet); }
.rank-cyan { color: var(--cyan); }
.rank-rose { color: var(--rose); }

.rank-icon { font-size: 24px; }

.perks {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}

.perks li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  padding-left: 20px;
}

.perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text-3);
  font-size: 12px;
}

.rank-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.rank-servers {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.server-tag {
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
}

.rank-pricing {
  margin-bottom: 14px;
}

.rank-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.rank-period {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 400;
}

/* ── BUNDLE ── */
.bundle-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid rgba(34,211,238,0.12);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  gap: 48px;
  overflow: hidden;
  transition: all var(--ease);
}

.bundle-card:hover {
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}

.bundle-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--cyan-dim), transparent 70%);
  pointer-events: none;
}

.bundle-left { flex: 1; position: relative; z-index: 1; }
.bundle-right { flex-shrink: 0; text-align: right; position: relative; z-index: 1; }

.bundle-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.bundle-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.bundle-desc {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.bundle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bf {
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.bundle-was {
  display: block;
  color: var(--text-3);
  font-size: 14px;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.bundle-now {
  margin-bottom: 6px;
}

.bundle-price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bundle-period {
  font-size: 16px;
  color: var(--text-3);
}

.bundle-save {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.bundle-right .btn-buy { width: auto; padding: 14px 32px; }

/* ── GEMS ── */
.gems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--ease);
}

.gem-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.gem-card-pop {
  border-color: rgba(34,211,238,0.15);
}
.gem-card-pop:hover { border-color: rgba(34,211,238,0.3); }

.gem-visual {
  margin-bottom: 12px;
}

.gem-emoji {
  font-size: 24px;
  filter: saturate(1.2);
}

.gem-amount {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gem-bonus {
  display: block;
  font-size: 11px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 16px;
}

.gem-meta {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}

.gem-price {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 2px;
}

.gem-note {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 14px;
}

/* ── FAQ ── */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--cyan); }

.faq-chevron {
  font-size: 20px;
  transition: transform var(--ease);
  color: var(--text-3);
}
.faq-item.open .faq-chevron { transform: rotate(90deg); color: var(--cyan); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-answer p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-1);
}

.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-3);
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right var(--ease);
}
.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 18px; font-weight: 700; }

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color var(--ease);
}
.cart-close-btn:hover { color: var(--text-1); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty-msg {
  color: var(--text-3);
  text-align: center;
  padding-top: 60px;
  font-size: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  animation: cartSlide 0.3s ease;
}

@keyframes cartSlide {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-info { display: flex; flex-direction: column; gap: 2px; }
.cart-item-name { font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--cyan); }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--ease);
}
.cart-item-remove:hover { color: var(--rose); }

.cart-actions {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-checkout-btn {
  padding: 14px;
  font-size: 15px;
}

/* ── TOAST ── */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(16px) scale(0.96); }
}

.toast-check {
  color: var(--cyan);
  font-size: 16px;
}

/* ═══════════ RANK DETAIL MODAL ═══════════ */
.rank-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 260;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.rank-detail-overlay.open { opacity: 1; pointer-events: auto; }

.rank-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 880px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-base);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  z-index: 261;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.rank-detail-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.rank-detail-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  transition: color var(--ease);
}
.rank-detail-close:hover { color: var(--text-1); }

/* ── Header ── */
.rd-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}

.rd-icon {
  font-size: 36px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
}

.rd-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.rd-servers-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rd-server-note {
  font-size: 12px;
  color: var(--text-3);
}

.rd-servers {
  display: flex;
  gap: 6px;
}

.rd-server-tag {
  padding: 3px 12px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* ── Sections ── */
.rd-section {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.rd-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-2);
}

/* ── Benefits Grid ── */
.rd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rd-benefit {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rd-benefit-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-benefit-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  font-size: 16px;
}

.rd-benefit-icon.green { background: var(--teal-dim); }
.rd-benefit-icon.yellow { background: var(--violet-dim); }
.rd-benefit-icon.rose { background: var(--rose-dim); }
.rd-benefit-icon.cyan { background: var(--cyan-dim); }

.rd-benefit-label {
  font-size: 11px;
  color: var(--text-3);
}

.rd-benefit-value {
  font-size: 16px;
  font-weight: 700;
  margin-left: 40px;
}

.rd-benefit-status {
  font-size: 11px;
  font-weight: 600;
  margin-left: 40px;
}
.rd-benefit-status.included { color: var(--teal); }
.rd-benefit-status.unavailable { color: var(--text-3); }

/* ── Kit Tabs ── */
.rd-kit-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.rd-kit-tab {
  padding: 6px 16px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--ease);
}
.rd-kit-tab:hover { color: var(--text-2); border-color: var(--border-hover); }
.rd-kit-tab.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: rgba(34,211,238,0.3);
}

/* ── Kit Content ── */
.rd-kit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rd-kit-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.rd-kit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.rd-kit-label {
  font-size: 14px;
  font-weight: 700;
}

.rd-kit-meta {
  font-size: 11px;
  color: var(--text-3);
}

.rd-kit-meta strong {
  color: var(--text-2);
}

/* ── Item Grid ── */
.rd-items-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.rd-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: border-color var(--ease);
}
.rd-item:hover { border-color: var(--border-hover); }

.rd-item-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.rd-item-qty {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-2);
  background: rgba(0,0,0,0.6);
  padding: 1px 4px;
  border-radius: 3px;
}

.rd-item-empty {
  background: rgba(255,255,255,0.015);
  border-color: transparent;
}

/* ── Sticky Footer ── */
.rd-footer {
  position: sticky;
  bottom: 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rd-footer-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}

.rd-footer-price {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rd-add-btn {
  width: auto;
  padding: 14px 40px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .rd-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-kit-content { grid-template-columns: 1fr; }
  .rd-items-grid { grid-template-columns: repeat(5, 1fr); }
  .rd-header { padding: 20px 20px 16px; }
  .rd-section { padding: 20px; }
  .rd-footer { padding: 16px 20px; }
}
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.checkout-overlay.open { opacity: 1; pointer-events: auto; }

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 460px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 36px;
  z-index: 251;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 18px;
  cursor: pointer;
  transition: color var(--ease);
}
.checkout-close:hover { color: var(--text-1); }

.checkout-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.checkout-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-2);
}
.checkout-summary-item span:last-child { color: var(--text-1); font-weight: 600; }

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
}
.checkout-summary-total span:last-child {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-methods {
  margin-bottom: 20px;
}

.pay-section {
  margin-bottom: 16px;
}

.pay-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pay-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
}
.pay-divider::before,
.pay-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-stripe {
  background: #635bff;
  color: #fff;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-stripe:hover {
  background: #7a73ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,91,255,0.3);
}

.pay-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 8px;
}

.checkout-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
}

/* ── TAB SYSTEM ── */
.section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── ACCOUNT SYNC (INTEGRATED) ── */
.v-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 18px 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-1);
  position: relative;
  overflow: hidden;
}

.v-card.enabled:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.v-card.disabled {
  opacity: 0.5;
  filter: grayscale(0.8);
  cursor: not-allowed;
  pointer-events: none;
}

.v-card.completed {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.05);
  cursor: default;
}

.v-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.icon-steam { background: linear-gradient(135deg, #171a21, #66c0f4); }
.icon-discord { background: #5865F2; }

.v-card-text {
  font-size: 18px;
  font-weight: 600;
  flex: 1;
  text-align: left;
}
.v-card.completed .v-card-text { color: var(--cyan); }

.v-checkbox {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.v-card.completed .v-checkbox {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
}

.v-card.completed .v-checkbox::after {
  content: '✓';
  font-weight: 900;
  font-size: 18px;
}

.v-unlink-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rose);
  background: rgba(251, 113, 133, 0.1);
  border-radius: var(--radius-xs);
  border: 1px solid rgba(251, 113, 133, 0.2);
  margin-right: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.v-unlink-btn:hover {
  background: rgba(251, 113, 133, 0.2);
}

.success-badge {
  transition: opacity 0.5s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .gems-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .hero-title { font-size: 36px; }
  .hero-stats { gap: 18px; }
  .stat-value { font-size: 20px; }

  .trust-strip { gap: 8px; }

  .rank-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .gems-grid { grid-template-columns: repeat(2, 1fr); }

  .bundle-card {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
  .bundle-right { text-align: center; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 32px; }
  .cart-drawer { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
  .gems-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .footer-nav { flex-direction: column; gap: 20px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
}
