/* ══════════════════════════════════════════════════════════════ */
/* APEXMC NEXT-GEN GAMING DESIGN SYSTEM & STYLESHEET              */
/* ══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

:root {
  --red:          #e8302a;
  --red-light:    #ff4d47;
  --red-dark:     #ab1914;
  --red-glow:     rgba(232, 48, 42, 0.45);
  --orange:       #ff7a29;
  --gold:         #fbbf24;
  --vip:          #06b6d4;
  --vip-glow:     rgba(6, 182, 212, 0.35);
  --mvp:          #8b5cf6;
  --mvp-glow:     rgba(139, 92, 246, 0.35);
  --immortal:     #f59e0b;
  --immortal-glow:rgba(245, 158, 11, 0.45);
  --custom:       #a78bfa;
  --custom-glow:  rgba(167, 139, 250, 0.35);
  --green:        #10b981;
  --green-glow:   rgba(16, 185, 129, 0.4);

  --bg:           #07070a;
  --bg2:          #0c0d14;
  --bg3:          #12131d;
  --surface:      rgba(18, 20, 31, 0.75);
  --surface-hover:rgba(26, 29, 46, 0.85);
  --surface-solid:#131522;
  --border:       rgba(255, 255, 255, 0.08);
  --border-glow:  rgba(232, 48, 42, 0.35);

  --text:         #f1f2f8;
  --text-muted:   #8a8ea8;
  --font:         'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cinzel', serif;
  --mono:         'JetBrains Mono', monospace;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-lg:    0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow:  0 0 30px var(--red-glow);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26293d; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Ambient Canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── LIVE TICKER BAR ─────────────────────────────────────────── */
.live-ticker-bar {
  background: linear-gradient(90deg, #160b10, #130a0d, #0b1118);
  border-bottom: 1px solid rgba(232, 48, 42, 0.2);
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: tickerScroll 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticker-item strong { color: #fff; font-weight: 700; }
.ticker-item em { color: var(--gold); font-style: normal; font-weight: 700; }

.ticker-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ticker-badge.sale {
  background: linear-gradient(135deg, #10b981, #059669);
}

.ticker-dot {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* ── UTILITY CLASSES ─────────────────────────────────────────── */
.red { color: var(--red); }
.discord-purple { color: #7289da; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; z-index: 1; }

.gradient-text {
  background: linear-gradient(135deg, #ff5e57 0%, var(--red) 50%, #ff8c38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-glow {
  filter: drop-shadow(0 0 25px rgba(232, 48, 42, 0.4));
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(7, 7, 10, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-glow-ring {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--red), rgba(255, 255, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--red-glow);
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-meta {
  display: flex;
  flex-direction: column;
}

.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.store-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Server Pill in Nav */
.server-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.server-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.server-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.server-status-dot.online {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseBeacon 2s infinite;
}

.server-pill-ip {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.server-pill-count {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 7px;
  border-radius: 999px;
}

/* Audio Toggle Button */
.icon-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Shopping Cart Nav Button */
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 48, 42, 0.08);
  border: 1px solid rgba(232, 48, 42, 0.35);
  color: #fff;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cart-btn:hover {
  background: rgba(232, 48, 42, 0.2);
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--red-glow);
}

.cart-btn-label {
  display: inline-block;
}

.cart-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 0 10px var(--red-glow);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-badge.pop {
  transform: scale(1.35);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, #c5221b 100%);
  color: #fff;
  box-shadow: 0 6px 24px var(--red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(232, 48, 42, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.55);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.pulse-glow {
  animation: heroButtonPulse 3s infinite;
}

@keyframes heroButtonPulse {
  0%, 100% { box-shadow: 0 6px 24px var(--red-glow); }
  50% { box-shadow: 0 8px 36px rgba(232, 48, 42, 0.7); }
}

/* ── HERO SECTION ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
  z-index: 1;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 7, 10, 0.3) 0%, rgba(7, 7, 10, 0.85) 65%, var(--bg) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
  gap: 22px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 48, 42, 0.12);
  border: 1px solid rgba(232, 48, 42, 0.35);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff9490;
  backdrop-filter: blur(12px);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.badge-separator {
  color: rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* Copy IP Box */
.hero-ip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(18, 20, 31, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 10px 14px 10px 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero-ip-box:hover {
  border-color: rgba(232, 48, 42, 0.4);
  box-shadow: 0 20px 45px rgba(232, 48, 42, 0.15);
  transform: translateY(-2px);
}

.hero-ip-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-ip-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.hero-ip {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), #b71c1c);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  transform: scale(1.03);
}

.copy-btn.copied {
  background: var(--green);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--text-muted);
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
  position: relative;
  z-index: 2;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(232, 48, 42, 0.1);
  border: 1px solid rgba(232, 48, 42, 0.25);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
}

.stat-suffix {
  color: var(--red);
  font-weight: 800;
  font-size: 1.6rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(232, 48, 42, 0.12);
  color: var(--red);
  border: 1px solid rgba(232, 48, 42, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.store-badge {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto;
}

.store-controls-header {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.matrix-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.matrix-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── 3D TILT CARDS & FEATURES ────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 5;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.fi-red    { background: rgba(232, 48, 42, 0.15);  color: var(--red);    border: 1px solid rgba(232, 48, 42, 0.3); }
.fi-orange { background: rgba(255, 122, 41, 0.15); color: var(--orange); border: 1px solid rgba(255, 122, 41, 0.3); }
.fi-purple { background: rgba(139, 92, 246, 0.15); color: var(--mvp);    border: 1px solid rgba(139, 92, 246, 0.3); }
.fi-blue   { background: rgba(6, 182, 212, 0.15);  color: var(--vip);    border: 1px solid rgba(6, 182, 212, 0.3); }
.fi-gold   { background: rgba(245, 158, 11, 0.15); color: var(--immortal); border: 1px solid rgba(245, 158, 11, 0.3); }
.fi-green  { background: rgba(16, 185, 129, 0.15); color: var(--green);  border: 1px solid rgba(16, 185, 129, 0.3); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.feature-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── STORE & RANKS ───────────────────────────────────────────── */
.store {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.rank-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(16px);
}

.rank-card:hover {
  transform: translateY(-8px);
}

/* Individual rank border glows */
#rank-vip:hover { border-color: var(--vip); box-shadow: 0 15px 40px var(--vip-glow); }
#rank-mvp:hover { border-color: var(--mvp); box-shadow: 0 15px 40px var(--mvp-glow); }
#rank-immortal:hover { border-color: var(--immortal); box-shadow: 0 20px 50px var(--immortal-glow); }
#rank-custom:hover { border-color: var(--custom); box-shadow: 0 15px 40px var(--custom-glow); }

.rank-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.vip-glow      { background: var(--vip); }
.mvp-glow      { background: var(--mvp); }
.immortal-glow { background: var(--immortal); }
.custom-glow   { background: var(--custom); }

/* Featured Card (IMMORTAL) */
.rank-card.popular {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(18, 20, 31, 0.9) 35%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fef3c7;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.rank-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ri-vip      { background: rgba(6, 182, 212, 0.15);  color: var(--vip);      border: 1px solid rgba(6, 182, 212, 0.35); }
.ri-mvp      { background: rgba(139, 92, 246, 0.15); color: var(--mvp);      border: 1px solid rgba(139, 92, 246, 0.35); }
.ri-immortal { background: rgba(245, 158, 11, 0.2);  color: var(--immortal); border: 1px solid rgba(245, 158, 11, 0.5); }
.ri-custom   { background: rgba(167, 139, 250, 0.15); color: var(--custom);  border: 1px solid rgba(167, 139, 250, 0.35); }

.rtag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.rtag-vip      { background: rgba(6, 182, 212, 0.15);  color: var(--vip); }
.rtag-mvp      { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; }
.rtag-immortal { background: rgba(245, 158, 11, 0.2);  color: var(--immortal); }
.rtag-custom   { background: rgba(167, 139, 250, 0.15); color: var(--custom); }

.rank-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}

.rank-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-symbol {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 4px;
}

.rank-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.rank-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rank-perks li strong {
  color: var(--text);
}

.rank-perks li code {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.ck {
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.cross {
  color: #ef4444;
  font-weight: 900;
  flex-shrink: 0;
}

/* Rank Buttons */
.btn-rank {
  width: 100%;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
}

.vip-btn      { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #fff; box-shadow: 0 4px 20px var(--vip-glow); }
.mvp-btn      { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 4px 20px var(--mvp-glow); }
.immortal-btn { background: linear-gradient(135deg, #f59e0b, #d97706); color: #111; font-weight: 900; box-shadow: 0 6px 25px var(--immortal-glow); }
.custom-btn   { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; box-shadow: 0 4px 20px var(--custom-glow); }

/* Dual Rank Actions (Add to Cart + Buy Now) */
.rank-actions-dual {
  display: flex;
  gap: 8px;
  width: 100%;
}

.rank-actions-dual .btn {
  flex: 1;
  padding: 13px 10px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-rank-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-rank-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ── DEDICATED UPI DISCORD TICKET BANNER ──────────────────────── */
.upi-discord-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(20, 23, 40, 0.8) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.upi-discord-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.2), transparent 70%);
  pointer-events: none;
}

.upi-discord-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.upi-discord-badge {
  display: inline-flex;
}

.upi-discord-badge span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255, 153, 51, 0.15);
  border: 1px solid rgba(255, 153, 51, 0.4);
  color: #ff9933;
  padding: 4px 12px;
  border-radius: 999px;
}

.upi-discord-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.upi-discord-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
}

.upi-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

.upi-discord-action {
  flex-shrink: 0;
}

.btn-discord-upi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-discord-upi:hover {
  background: linear-gradient(135deg, #6976f8, #5865F2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.55);
}

/* Store Guarantee Card */
.store-guarantee-card {
  margin-top: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.guarantee-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-content {
  flex: 1;
  min-width: 280px;
}

.guarantee-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.guarantee-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── DISCORD BANNER ──────────────────────────────────────────── */
.discord-banner { background: var(--bg); }

.discord-card {
  background: linear-gradient(135deg, #181938 0%, #2b1f5c 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(88, 101, 242, 0.2);
}

.discord-icon-wrap {
  color: #7289da;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(114, 137, 218, 0.4));
}

.discord-text { flex: 1; min-width: 280px; }
.discord-text h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.discord-text p { color: #d0d2e8; font-size: 1.05rem; margin-bottom: 16px; max-width: 550px; }
.discord-members { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: #a5b4fc; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-inner {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1.4;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.badge-vercel, .badge-tebex {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  flex: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-ip {
  font-family: var(--mono);
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════ */
/* MODALS (CHECKOUT GUI & COMPARISON MATRIX)                      */
/* ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface-solid);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ── CHECKOUT GUI SPECIFICS ──────────────────────────────────── */
.checkout-gui-modal {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-gui-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.modal-rank-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: rgba(6, 182, 212, 0.2);
  color: var(--vip);
  border: 1px solid var(--vip);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}

.modal-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

/* Minecraft Live Skin Preview GUI */
.skin-preview-container {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.skin-avatar-frame {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.skin-avatar-frame img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  transition: transform 0.2s;
}

.skin-loading-spinner {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skin-loading-spinner::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skin-meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.skin-player-name {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.skin-status-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skin-status-tag.verified {
  color: var(--green);
  font-weight: 700;
}

/* Username Input */
.modal-username-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-username-wrap label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.modal-username-wrap input {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 600;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-username-wrap input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.input-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Perks Summary in Modal */
.modal-perks-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
}

.modal-perk-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-perk-bullet span.check {
  color: var(--green);
  font-weight: 900;
}

.checkout-action-btn {
  padding: 15px;
  font-size: 1.02rem;
}

.modal-footer-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-footer-notes strong { color: #fff; }

/* ── COMPARISON MATRIX MODAL ─────────────────────────────────── */
.matrix-modal-content {
  max-width: 900px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.matrix-header {
  text-align: center;
}
.matrix-header h2 {
  font-size: 2rem;
  font-weight: 900;
}

.matrix-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.matrix-table th, .matrix-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.matrix-table th.col-vip { color: var(--vip); }
.matrix-table th.col-mvp { color: var(--mvp); }
.matrix-table th.col-immortal { color: var(--immortal); }
.matrix-table th.col-custom { color: var(--custom); }

.matrix-table td.highlight, .matrix-table th.highlight {
  background: rgba(245, 158, 11, 0.06);
}

.matrix-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.tag-vip { background: rgba(6, 182, 212, 0.2); color: var(--vip); }
.tag-mvp { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.tag-immortal { background: rgba(245, 158, 11, 0.25); color: var(--immortal); }
.tag-custom { background: rgba(167, 139, 250, 0.2); color: var(--custom); }

.matrix-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ── FLOATING TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(18, 20, 31, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CURRENCY SWITCHER ───────────────────────────────────────── */
.currency-toggle-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.currency-btn:hover {
  color: #fff;
}

.currency-btn.active {
  background: linear-gradient(135deg, var(--red), #b71c1c);
  color: #fff;
  box-shadow: 0 2px 10px var(--red-glow);
}

.store-currency-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-curr-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.store-controls-header {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── SHOPPING CART DRAWER / MODAL ────────────────────────────── */
.cart-drawer-modal {
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(14, 16, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}

.cart-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.cart-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(232, 48, 42, 0.12);
  border: 1px solid rgba(232, 48, 42, 0.3);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.cart-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Cart IGN Input Section */
.cart-ign-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-ign-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-ign-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-avatar-frame {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cart-avatar-frame img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.cart-ign-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-ign-input-wrap input {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-ign-input-wrap input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.cart-ign-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.cart-ign-status.verified {
  color: var(--green);
  font-weight: 700;
}

/* Cart Items Container */
.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.cart-item-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-badge {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.cart-item-tier {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-price {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
}

.cart-item-remove {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Empty State */
.cart-empty-state {
  text-align: center;
  padding: 36px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cart-empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.cart-empty-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

/* Cart Summary Box */
.cart-summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary-row.total-row {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 2px;
}

.cart-total-highlight {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 1.25rem;
}

/* Cart Action Buttons */
.cart-actions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-checkout-btn {
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-continue-btn {
  padding: 10px;
  font-size: 0.88rem;
}

/* Cart UPI Alternative Hint */
.cart-upi-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
}

.cart-upi-hint-text {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.upi-mini-pill {
  font-size: 0.68rem;
  font-weight: 900;
  background: rgba(255, 153, 51, 0.2);
  color: #ff9933;
  padding: 2px 6px;
  border-radius: 4px;
}

.cart-upi-link {
  color: #818cf8;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cart-upi-link:hover {
  text-decoration: underline;
}

/* ── TEBEX & BADGE UTILITIES ─────────────────────────────────── */
.tebex-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
}

.upi-info-badge {
  background: rgba(255, 153, 51, 0.2);
  color: #ff9933;
  border: 1px solid rgba(255, 153, 51, 0.4);
}

.tebex-tag {
  background: rgba(2, 132, 199, 0.2);
  border-color: rgba(2, 132, 199, 0.5);
  color: #38bdf8;
  font-weight: 800;
}

.badge-tebex {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
}

.badge-upi {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.3);
  color: #ffb86c;
}

/* ── RESPONSIVE DESIGN ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-title { font-size: 3.4rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 10, 0.98);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .server-pill { display: none; }
  .discord-card { padding: 36px 24px; text-align: center; justify-content: center; }
  .discord-text p { margin: 0 auto 16px; }
  .discord-members { justify-content: center; }
  .footer-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.7rem; }
  .hero-ip-box { flex-direction: column; width: 100%; gap: 14px; padding: 16px; }
  .hero-ip-left { align-items: center; }
  .copy-btn { width: 100%; justify-content: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .cart-drawer-modal { padding: 22px 18px; width: 96%; }
  .upi-discord-banner { flex-direction: column; padding: 24px 20px; text-align: center; }
  .upi-discord-left { align-items: center; }
  .upi-app-tags { justify-content: center; }
  .upi-discord-action { width: 100%; }
  .btn-discord-upi { width: 100%; justify-content: center; }
  .rank-actions-dual { flex-direction: column; }
}

