/* ==========================================================================
   HugoMarket - Official HugoSMP Marketplace CSS Stylesheet
   Minimalistic, Bespoke Gaming Aesthetics: Obsidian, Gold & Emerald
   ========================================================================== */

:root {
  --bg-dark: #0a0c10;
  --bg-card: rgba(17, 21, 28, 0.85);
  --bg-surface: #141820;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(245, 166, 35, 0.35);
  --border-emerald: rgba(0, 230, 118, 0.35);

  --gold-primary: #f5a623;
  --gold-hover: #ffb833;
  --gold-gradient: linear-gradient(135deg, #ffd056 0%, #f5a623 50%, #d47b00 100%);
  --gold-glow: 0 0 20px rgba(245, 166, 35, 0.25);

  --emerald-primary: #00e676;
  --emerald-gradient: linear-gradient(135deg, #34d399 0%, #00e676 50%, #059669 100%);
  --emerald-glow: 0 0 20px rgba(0, 230, 118, 0.25);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --discord-blurple: #5865f2;
  --discord-hover: #4752c4;

  --radius-xs: 2px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-full: 2px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.2s ease;
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Seamless Ambient Background - Zero Cutoff Lines */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 40%, rgba(0, 230, 118, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(245, 166, 35, 0.04) 0%, transparent 50%),
    #0a0c10;
  pointer-events: none;
  z-index: 0;
}

/* Floating Ember Particles Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Links & Buttons Reset */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

/* ==========================================================================
   Header & Navigation (Single, Clean, Minimal Bar - 64px)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(16px);
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 10, 13, 0.95);
  border-bottom-color: rgba(245, 166, 35, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.4));
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-name-hugo {
  color: #ffffff;
}

.brand-name-market {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sound Toggle */
.sound-toggle-btn {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-toggle-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Minecraft IGN Profile Widget */
.mc-profile-widget {
  position: relative;
}

.mc-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.mc-login-btn:hover {
  background: rgba(245, 166, 35, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.mc-avatar-badge {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151820;
}

.mc-avatar-badge img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

/* Logged-In User Profile Button in Top Bar */
.mc-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.mc-user-badge:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-primary);
}

.mc-head-avatar {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  image-rendering: pixelated;
  border: 1px solid var(--emerald-primary);
  background: #111419;
}

.mc-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.mc-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  animation: fadeIn 0.15s ease-out;
}

.mc-user-dropdown.active {
  display: flex;
}

.mc-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
  text-align: left;
}

.mc-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mc-dropdown-item.staff-item {
  color: #fbbf24;
}

.mc-dropdown-item.staff-item:hover {
  background: rgba(245, 166, 35, 0.15);
  color: #ffd166;
}

.mc-dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.mc-staff-tag {
  background: var(--gold-gradient);
  color: #0b0d10;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 4px;
}

/* Discord Nav Link Button */
.discord-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--discord-blurple);
  color: #ffffff;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.discord-nav-btn:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  padding: 6px;
  color: var(--text-main);
  font-size: 1.2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 20px 0 32px;
  position: relative;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 460;
  max-height: 440px;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 166, 35, 0.15);
  background: #080a0e;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.65), inset 0 0 20px rgba(245, 166, 35, 0.18);
}

/* ==========================================================================
   Hero Simple & Clean Actions Bar
   ========================================================================== */
.hero-actions-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 8px 0;
}

.hero-main-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 12px 28px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5);
}

.btn-hero-secondary {
  padding: 12px 24px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: #5865f2;
  color: #ffffff;
  border: 1px solid #7289da;
  border-bottom: 3px solid #3c45a5;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: #4752c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
}

.hero-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust-line .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-trust-line .trust-dot {
  font-size: 0.88rem;
}

.hero-trust-line .trust-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0d10;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--emerald-gradient);
  color: #052e16;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-emerald:hover {
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Products Catalog & Authentic Minecraft Textures
   ========================================================================== */
.section {
  padding: 40px 0;
  position: relative;
}

.section-header {
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 4px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.product-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.tag-gold {
  background: var(--gold-gradient);
  color: #0b0d10;
}

.tag-purple {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #ffffff;
}

.tag-emerald {
  background: var(--emerald-gradient);
  color: #052e16;
}

/* Product Header Visual - Real Minecraft Item */
.product-header-visual {
  height: 170px;
  background: radial-gradient(circle at center, rgba(30, 36, 48, 0.7), rgba(14, 18, 24, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-glow-circle {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.45;
}

.glow-gold { background: var(--gold-primary); }
.glow-purple { background: #a855f7; }
.glow-emerald { background: var(--emerald-primary); }

/* Pixelated Minecraft Textures */
.product-real-img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s ease;
  z-index: 2;
}

.gold-ingot-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.elytra-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.account-head-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.product-card:hover .product-real-img {
  transform: scale(1.14);
}

/* Product Body */
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 82px;
  margin-bottom: 8px;
}

.product-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.product-title-icon {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.delivery-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.delivery-badge.in-game {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-primary);
  border: 1px solid var(--border-emerald);
}

.delivery-badge.discord {
  background: rgba(88, 101, 242, 0.15);
  color: #818cf8;
  border: 1px solid rgba(88, 101, 242, 0.3);
}

.product-badge-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 24px;
}

.stock-status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: var(--transition);
}

.stock-status-badge.in-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stock-status-badge.low-stock {
  background: rgba(245, 166, 35, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 166, 35, 0.4);
}

.stock-status-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.product-card.out-of-stock {
  opacity: 0.62;
  filter: grayscale(85%);
  transform: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.product-card.out-of-stock:hover {
  transform: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.product-card.out-of-stock .product-glow-circle {
  display: none !important;
}

.product-card.out-of-stock .card-stepper-btn,
.product-card.out-of-stock .card-qty-input {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.product-card.out-of-stock .btn-buy {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-dim) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 44px;
  line-height: 1.45;
}

.product-features {
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

/* Card Quantity Controls (Above Add to Basket) */
.card-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  margin-bottom: 12px;
}

.card-qty-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.card-stepper-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.card-stepper-btn:hover {
  background: rgba(245, 166, 35, 0.25);
  border-color: var(--border-gold);
  color: var(--gold-primary);
  transform: scale(1.05);
}

.card-qty-display {
  min-width: 44px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.card-qty-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  min-width: 52px;
  height: 32px;
  transition: var(--transition);
}

.card-qty-input-wrap:focus-within {
  border-color: var(--gold-primary);
  background: #0d121a;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.25);
}

.card-qty-input {
  width: 38px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  font-family: inherit;
  padding: 0;
  -moz-appearance: textfield;
}

.card-qty-input::-webkit-outer-spin-button,
.card-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-qty-unit {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-left: 2px;
  pointer-events: none;
}

/* Features List */
.product-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #d1d5db;
}

.feature-check {
  color: var(--emerald-primary);
  font-weight: 700;
}

/* Product Pricing & Bottom Row */
.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.product-price-box {
  margin-bottom: 12px;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  display: block;
}

.price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-amount {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
}

.price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-buy {
  width: 100%;
  padding: 11px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  border-bottom: 3px solid rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Exclusive Bundles Section & Cards
   ========================================================================== */
.bundles-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.bundles-header {
  text-align: center;
  margin-bottom: 28px;
}

.bundle-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.bundle-badge-pill svg {
  color: var(--gold-primary);
}

.bundles-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

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

.bundles-grid {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
}

.bundle-card {
  width: 100%;
  border: 1px solid rgba(245, 166, 35, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 166, 35, 0.08);
  position: relative;
}

.bundle-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 166, 35, 0.16);
}

.bundle-discount-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-gradient);
  color: #0b0d10;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

.bundle-visual {
  background: radial-gradient(circle at center, rgba(40, 48, 64, 0.7), rgba(14, 18, 24, 0.95));
}

.bundle-combo-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}

.bundle-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s ease;
}

.bundle-icon.gold-ingot-img {
  width: 72px;
  height: 72px;
}

.bundle-plus-sign {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-primary);
  text-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
  line-height: 1;
}

.bundle-card:hover .bundle-icon {
  transform: scale(1.1);
}

.bundle-includes-box {
  background: #0d1118;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bundle-include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.include-check {
  color: var(--emerald-primary);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.include-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.include-headline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.include-val {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.82rem;
}

.include-text small {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.price-strikethrough-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.price-old {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 600;
}

.price-deal-tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.save-pill {
  display: inline-block;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   How It Works - Clean 2-Column Delivery Explanation
   ========================================================================== */
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.system-card.in-game-system {
  border-left: 3px solid var(--emerald-primary);
}

.system-card.account-system {
  border-left: 3px solid var(--discord-blurple);
}

.system-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.system-badge.emerald {
  background: rgba(0, 230, 118, 0.12);
  color: var(--emerald-primary);
}

.system-badge.discord {
  background: rgba(88, 101, 242, 0.15);
  color: #818cf8;
}

.system-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.system-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.system-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

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

/* ==========================================================================
   Discord Card
   ========================================================================== */
.discord-card {
  background: linear-gradient(135deg, rgba(28, 33, 50, 0.8) 0%, rgba(16, 19, 30, 0.9) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.discord-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.discord-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.discord-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--discord-blurple);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.discord-cta-btn:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-chevron,
.faq-chevron-icon {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron,
.faq-item.active .faq-chevron-icon {
  transform: rotate(180deg);
  color: var(--gold-primary);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Modern Minimalist Marketplace Footer (Exact Match to Design)
   ========================================================================== */
.site-footer {
  padding: 50px 0 30px;
  margin-top: 60px;
  background: #080a0e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.4));
}

.footer-brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link,
.footer-link-btn {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: var(--transition);
}

.footer-link:hover,
.footer-link-btn:hover {
  color: #ffffff;
}

.footer-payments-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-payments-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
  user-select: none;
  transition: var(--transition);
}

.payment-badge:hover {
  border-color: rgba(245, 166, 35, 0.3);
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom-row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-top-grid {
    flex-direction: column;
    gap: 28px;
  }
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-dialog.emerald-theme {
  border-color: var(--border-emerald);
}

.modal-dialog.discord-theme {
  border-color: rgba(88, 101, 242, 0.5);
}

.modal-dialog.themed-alert-dialog {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 32px 24px 28px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.alert-icon-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 25px rgba(245, 166, 35, 0.2);
}

.alert-icon-badge.emerald {
  background: rgba(0, 230, 118, 0.12);
  border-color: var(--border-emerald);
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.2);
}

.alert-icon-badge.danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2);
}

.alert-icon-badge svg {
  color: var(--gold-primary);
  display: block;
}

.alert-icon-badge.emerald svg {
  color: var(--emerald-primary);
}

.alert-icon-badge.danger svg {
  color: #f87171;
}

.alert-action-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

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

/* IGN Modal & Live Preview Box */
.ign-dialog {
  max-width: 440px;
}

.ign-preview-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(14, 18, 26, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ign-live-avatar {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  image-rendering: pixelated;
  border: 2px solid var(--border-gold);
  background: #080a0d;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ign-preview-meta {
  flex: 1;
  min-width: 0;
}

.ign-preview-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.ign-preview-meta h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ign-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ign-status-pill.waiting {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.ign-status-pill.valid {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.ign-status-pill.invalid {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.ign-preview-meta p {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin: 0;
}

.ign-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ign-char-count {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-dim);
}

.ign-input-container {
  position: relative;
  width: 100%;
}

.ign-input-field {
  padding-right: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ign-input-field.valid {
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25) !important;
}

.ign-input-field.invalid {
  border-color: rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}

.btn-input-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.btn-input-clear:hover {
  color: #ffffff;
}

.ign-feedback-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 3px;
  min-height: 18px;
  transition: color 0.2s ease;
}

.ign-feedback-hint.success {
  color: #34d399;
  font-weight: 700;
}

.ign-feedback-hint.error {
  color: #f87171;
  font-weight: 700;
}

.ign-input-wrap {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d1d5db;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: #0e1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold-primary);
}

/* Order Summary Box */
.order-summary-box {
  background: #0e1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.order-row.highlight {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.order-row.highlight span:last-child {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.server-delivery-notice {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.82rem;
  color: #d1d5db;
  margin-bottom: 18px;
}

.discord-ticket-notice {
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

/* Official Invoice Claim Card */
.invoice-claim-card {
  background: #0b0f17;
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.invoice-claim-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.invoice-card-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.invoice-order-id {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.invoice-status-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.invoice-claim-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invoice-claim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.invoice-meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.invoice-meta-val {
  color: #ffffff;
  font-weight: 700;
}

.invoice-purchased-items {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invoice-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.invoice-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-item-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.invoice-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.invoice-item-qty {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.invoice-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #141820;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.toast.emerald { border-color: var(--border-emerald); }
.toast.discord { border-color: rgba(88, 101, 242, 0.6); }

/* ==========================================================================
   Shopping Basket & Policy Checkout Styles
   ========================================================================== */

/* Header Basket Button */
.basket-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.basket-nav-btn:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--border-gold);
}

.basket-badge {
  background: var(--gold-gradient);
  color: #0b0d10;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Slide-Over Shopping Basket Drawer */
.basket-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.basket-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #0f121a;
  border-left: 1px solid var(--border-gold);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2501;
}

.basket-drawer-overlay.active .basket-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: #131722;
  flex-shrink: 0;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

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

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: scale(1.05);
}

.drawer-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-body::-webkit-scrollbar {
  width: 6px;
}
.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.drawer-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-subtle);
  background: #131722;
  flex-shrink: 0;
}

/* Basket Items List */
.basket-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.basket-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #0f1218;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

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

.basket-item-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.basket-item-meta h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.basket-item-meta span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

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

.basket-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.basket-item-remove-btn {
  color: var(--text-dim);
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
}

.basket-item-remove-btn:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
}

.basket-empty-state {
  text-align: center;
  padding: 30px 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.basket-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
}

.basket-summary-row strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-primary);
}

/* Basket Minecraft IGN Input Section */
.basket-ign-section {
  margin-bottom: 16px;
}

.basket-ign-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 10px;
}

.basket-ign-input-wrap:focus-within {
  border-color: var(--gold-primary);
}

.basket-live-avatar {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  image-rendering: pixelated;
  border: 1px solid var(--gold-primary);
  background: #080a0d;
  flex-shrink: 0;
}

.basket-ign-field {
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 6px 0 !important;
  font-size: 0.92rem !important;
}

/* MANDATORY RESPONSIBILITY & NO-REFUND POLICY BOX */
.policy-alert-box {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.policy-alert-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.policy-alert-header svg {
  color: #f87171;
  flex-shrink: 0;
}

.policy-alert-text {
  font-size: 0.82rem;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 12px;
}

.policy-alert-text strong {
  color: #fca5a5;
}

.policy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #e5e7eb;
  cursor: pointer;
  line-height: 1.35;
  user-select: none;
}

.policy-checkbox-label input[type="checkbox"] {
  margin-top: 1px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold-primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Button Disabled State */
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.5);
}

/* Stripe Trust Badge */
.stripe-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.stripe-trust-badge svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Loading Spinner */
.loading-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 3px solid rgba(245, 166, 35, 0.15);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}

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

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .discord-card {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
    animation: fadeIn 0.2s ease-out;
  }
  .nav-links .nav-link {
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: rgba(245, 166, 35, 0.1);
    color: #ffffff;
    border-left: 3px solid var(--gold-primary);
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
  }
  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  .hero-banner-card {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    min-height: 180px;
  }
}

/* ==========================================================================
   Staff Portal & Inventory Manager Styles
   ========================================================================== */
.staff-ign-link-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

.staff-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.staff-text-link:hover {
  color: var(--gold-primary);
  background: rgba(245, 166, 35, 0.08);
}

.staff-portal-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-panel-dialog {
  max-width: 760px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.staff-panel-header {
  margin-bottom: 20px;
  text-align: left;
}

.staff-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.staff-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.btn-staff-logout {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-staff-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

/* Staff Category Tabs Navigation */
.staff-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.staff-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.staff-tab-btn:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.3);
  color: #ffffff;
}

.staff-tab-btn.active {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.staff-tab-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  min-width: 18px;
  text-align: center;
}

.staff-tab-pane {
  display: none;
}

.staff-tab-pane.active {
  display: block;
}

/* Staff Orders & Deliveries Category Styles */
.staff-orders-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.staff-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.staff-search-box svg {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}

.staff-search-input {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 36px;
  background: rgba(10, 12, 17, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.staff-search-input:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-clear-search:hover {
  color: #ffffff;
}

.staff-filter-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.staff-filter-pill {
  padding: 5px 11px;
  background: rgba(14, 18, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.staff-filter-pill:hover {
  border-color: var(--border-gold);
  color: #ffffff;
}

.staff-filter-pill.active {
  background: rgba(245, 166, 35, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.staff-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.staff-order-card {
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.staff-order-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(18, 22, 32, 0.95);
}

.staff-order-card.delivered {
  border-left: 3px solid #10b981;
}

.staff-order-card.pending {
  border-left: 3px solid #f59e0b;
}

.staff-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-order-id-badge {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.staff-order-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.staff-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.staff-status-badge.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.staff-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.staff-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8rem;
}

.staff-order-meta-item {
  display: flex;
  flex-direction: column;
}

.staff-order-meta-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.staff-order-meta-val {
  color: #e5e7eb;
  font-weight: 600;
  word-break: break-word;
}

.staff-order-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.staff-order-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.76rem;
}

.staff-order-item-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  image-rendering: pixelated;
}

.staff-order-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.staff-order-btns-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-staff-action {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-mark-status {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.btn-mark-status:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
}

.btn-mark-status.is-delivered {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.btn-copy-cmd {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.btn-copy-cmd:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

.btn-view-pdf {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: #fbbf24;
}

.btn-view-pdf:hover {
  background: rgba(245, 166, 35, 0.25);
  border-color: #f59e0b;
}

/* Delivery Notice Banner (Success Modal & Guide) */
.delivery-notice-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.delivery-notice-icon {
  font-size: 1.2rem;
  line-height: 1;
  color: #f59e0b;
}

.delivery-notice-content {
  font-size: 0.84rem;
  color: #e5e7eb;
  line-height: 1.45;
}

.delivery-notice-title {
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 2px;
}

.delivery-notice-link {
  color: #60a5fa;
  text-decoration: underline;
  font-weight: 600;
}

.staff-panel-body {
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.staff-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.staff-item-box {
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.staff-item-box:hover {
  border-color: var(--border-gold);
  background: rgba(18, 22, 32, 0.85);
}

.staff-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.staff-item-thumb {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}

.staff-item-thumb-sm {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

.staff-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.staff-item-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.staff-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.staff-input, .staff-select {
  height: 38px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 12px;
  background: rgba(10, 12, 17, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  transition: var(--transition);
}

.staff-input:focus, .staff-select:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.staff-select {
  cursor: pointer;
}

.staff-select option {
  background: #11141a;
  color: #ffffff;
}

.staff-panel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 650px) {
  .staff-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Basket Coupon Code Box & Summary Breakdown
   ========================================================================== */
.basket-coupon-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.basket-coupon-box:focus-within {
  border-color: var(--border-gold);
}

.coupon-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  cursor: pointer;
}

.coupon-label svg {
  color: var(--gold-primary);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex-grow: 1;
  padding: 6px 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(14, 18, 24, 0.95);
}

.btn-apply-coupon {
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-apply-coupon:hover {
  background: var(--gold-primary);
  color: #0b0d10;
}

.applied-coupon-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.applied-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  font-size: 0.76rem;
  font-weight: 700;
}

.coupon-pill-code {
  letter-spacing: 0.05em;
}

.coupon-pill-discount {
  color: #ffffff;
  font-size: 0.72rem;
  background: rgba(16, 185, 129, 0.25);
  padding: 1px 6px;
  border-radius: 3px;
}

.btn-remove-coupon {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.85rem;
  line-height: 1;
  transition: var(--transition);
}

.btn-remove-coupon:hover {
  color: #ffffff;
}

/* Basket Summary Breakdown */
.basket-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.summary-line.discount-line {
  color: var(--emerald-primary);
  font-weight: 700;
}

/* ==========================================================================
   Staff Coupon & Promo Code Manager
   ========================================================================== */
.staff-coupons-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.staff-subheading {
  color: var(--gold-primary);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.staff-subheading-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 3px 0 12px;
}

.staff-create-coupon-card {
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.staff-create-coupon-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1.1fr 140px;
  gap: 12px;
  align-items: flex-end;
}

.staff-add-coupon-btn-wrap .btn {
  width: 100%;
  height: 40px;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
}

.staff-coupons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.staff-coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.staff-coupon-row:hover {
  border-color: var(--border-gold);
  background: rgba(20, 25, 36, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.staff-coupon-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.staff-coupon-code-badge {
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-primary);
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.staff-coupon-val-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
}

.staff-coupon-type-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.staff-coupon-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 3D Blocky Minecraft-Style Red Delete Button */
.btn-delete-coupon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-bottom: 2px solid #b91c1c;
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-delete-coupon:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #dc2626;
  border-bottom-color: #991b1b;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
  transform: translateY(-1px);
}

.btn-delete-coupon:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

/* Basket Out-of-Stock Styles */
.basket-item-row.out-of-stock {
  opacity: 0.55;
  filter: grayscale(85%);
  background: rgba(239, 68, 68, 0.06);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
}

.basket-item-row.out-of-stock .basket-item-price {
  text-decoration: line-through;
  color: var(--text-dim) !important;
}

.basket-oos-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #f87171;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 3px;
  padding: 1px 6px;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.basket-oos-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #fca5a5;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Audit
   Optimized for iPhone (375px-430px), Android (360px-412px), & Tablets
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .header-inner {
    gap: 12px;
  }
  .footer-top-grid {
    flex-direction: column;
    gap: 28px;
  }
  .staff-create-coupon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  /* Header & Navigation */
  .site-header {
    height: 58px;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .header-actions {
    gap: 7px;
  }
  .sound-toggle-btn {
    padding: 5px;
  }
  .mc-login-btn {
    padding: 5px 8px;
  }
  .mc-login-btn span {
    display: none; /* Icon-only button on mobile preserves sleek header line */
  }
  .mc-user-badge {
    padding: 4px 6px;
  }
  .mc-user-name {
    display: none; /* Show skin head avatar */
  }
  .basket-nav-btn {
    padding: 6px 10px;
    gap: 4px;
  }
  .basket-nav-label {
    display: none; /* Cart icon + count badge only */
  }
  .discord-nav-btn {
    width: 32px;
    height: 32px;
  }
  .mobile-nav-toggle {
    width: 32px;
    height: 32px;
  }

  /* Hero Section */
  .hero-section {
    padding: 14px 0 24px;
  }
  .hero-banner-card {
    aspect-ratio: 16 / 9;
    max-height: 300px;
    min-height: 160px;
    height: auto;
    border-radius: var(--radius-sm);
  }
  .hero-actions-bar {
    margin-top: 16px;
    gap: 14px;
  }
  .hero-main-cta {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
  }
  .hero-trust-line {
    gap: 6px;
    width: 100%;
    justify-content: center;
  }
  .hero-trust-line .trust-sep {
    display: none; /* Remove bullet dots on wrap */
  }
  .hero-trust-line .trust-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
  }

  /* Sections & Typography */
  .section {
    padding: 36px 0;
  }
  .section-header {
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .section-desc {
    font-size: 0.85rem;
  }

  /* Product Cards */
  .product-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
  .product-header-visual {
    height: 130px;
  }
  .gold-ingot-img,
  .elytra-img,
  .account-head-img {
    width: 72px;
    height: 72px;
  }
  .product-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-badge-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .product-title {
    font-size: 1.22rem;
  }
  .product-features {
    min-height: auto;
    margin-top: 12px;
    gap: 8px;
  }
  .product-feature-item {
    font-size: 0.82rem;
  }
  .product-footer {
    margin-top: 16px;
    padding-top: 14px;
  }
  .card-qty-row {
    padding: 8px 12px;
  }
  .card-stepper-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  .card-qty-input-wrap {
    height: 40px;
    min-width: 56px;
  }
  .card-qty-input {
    font-size: 1rem;
  }
  .btn-buy {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  /* Bundles Section */
  .bundle-card {
    padding: 18px 16px;
  }
  .bundle-visual {
    height: 120px;
  }
  .bundle-combo-icons img {
    width: 85px !important;
    height: 85px !important;
  }
  .bundle-includes-box {
    padding: 12px;
    gap: 8px;
  }
  .include-headline {
    font-size: 0.84rem;
  }
  .include-text small {
    font-size: 0.74rem;
  }

  /* Delivery Guide */
  .system-card {
    padding: 20px 16px;
  }
  .system-title {
    font-size: 1.2rem;
  }
  .system-desc {
    font-size: 0.84rem;
  }
  .system-steps {
    gap: 12px;
  }
  .system-step-item {
    gap: 12px;
  }
  .step-num {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .step-content h5 {
    font-size: 0.88rem;
  }
  .step-content p {
    font-size: 0.8rem;
  }

  /* Discord Card */
  .discord-card {
    padding: 22px 18px;
    gap: 14px;
    text-align: center;
  }
  .discord-title {
    font-size: 1.25rem;
  }
  .discord-desc {
    font-size: 0.85rem;
  }
  .discord-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 14px;
    font-size: 0.88rem;
    gap: 10px;
  }
  .faq-answer {
    padding: 0 14px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 20px;
  }
  .footer-brand-title {
    font-size: 0.95rem;
  }
  .footer-disclaimer-text {
    font-size: 0.78rem;
  }
  .footer-link,
  .footer-link-btn {
    font-size: 0.82rem;
  }
  .footer-payment-badges {
    flex-wrap: wrap;
    gap: 6px;
  }
  .payment-badge {
    font-size: 0.68rem;
    padding: 3px 7px;
  }
  .footer-bottom-row {
    font-size: 0.75rem;
  }

  /* Modals Overlay & Dialogs */
  .modal-overlay {
    padding: 12px;
  }
  .modal-dialog {
    padding: 20px 16px;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-subtitle {
    font-size: 0.82rem;
  }
  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .ign-preview-box {
    padding: 10px;
    gap: 10px;
  }
  .ign-live-avatar {
    width: 44px;
    height: 44px;
  }
  .ign-preview-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Basket Drawer */
  .basket-drawer {
    max-width: 100%;
    width: 100%;
  }
  .drawer-header {
    padding: 14px 16px;
  }
  .drawer-title {
    font-size: 1.15rem;
  }
  .drawer-body {
    padding: 14px 16px;
    gap: 12px;
  }
  .drawer-footer {
    padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  }
  .basket-item {
    padding: 10px;
    gap: 10px;
  }
  .basket-item-img {
    width: 42px;
    height: 42px;
  }
  .basket-item-title {
    font-size: 0.85rem;
  }
  .basket-item-price {
    font-size: 0.8rem;
  }
  .policy-alert-box {
    padding: 8px 10px;
  }
  .policy-checkbox-label {
    font-size: 0.74rem;
  }

  /* Staff Modal Dialog */
  .staff-panel-dialog {
    padding: 16px 14px;
    max-width: 100%;
    max-height: 94vh;
  }
  .staff-panel-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .staff-inputs-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .staff-create-coupon-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .staff-panel-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .staff-panel-footer .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  .header-actions {
    gap: 5px;
  }
  .brand-name {
    font-size: 0.96rem;
  }
  .sound-toggle-btn {
    display: none; /* Hide sound toggle on extra narrow screens < 380px */
  }
}

/* ==========================================================================
   Store Closed Notification Banner
   ========================================================================== */
.store-closed-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.95));
  color: #fff;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(254, 202, 202, 0.4);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  position: relative;
  z-index: 1001;
  animation: slideDownBanner 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.store-closed-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.store-closed-icon {
  font-size: 1.1rem;
  animation: pulseWarning 1.5s infinite ease-in-out;
}

@keyframes pulseWarning {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ==========================================================================
   Staff Store Status Bar (Close / Open Store Toggle)
   ========================================================================== */
.staff-store-status-bar {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.store-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  flex-shrink: 0;
  animation: statusPulse 1.8s infinite;
}

.status-pulse-dot.closed {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

@keyframes statusPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.store-status-info {
  display: flex;
  flex-direction: column;
}

.store-status-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-status-val {
  font-size: 0.88rem;
  color: #34d399;
  font-weight: 700;
}

.store-status-val.closed {
  color: #f87171;
}

.btn-toggle-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle-store:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-toggle-store.btn-open-store {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.btn-toggle-store.btn-open-store:hover {
  background: rgba(16, 185, 129, 0.35);
  border-color: #10b981;
  color: #ffffff;
}

/* ==========================================================================
   In-Game Money Bulk Pricing Tiers UI
   ========================================================================== */
.bulk-rates-card {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(18, 21, 28, 0.85);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-sm);
}

.bulk-rates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bulk-rates-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bulk-rates-active-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(245, 166, 35, 0.18);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.bulk-rates-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.bulk-tier-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.bulk-tier-btn:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-1px);
}

.bulk-tier-btn.active {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

.bulk-tier-btn .tier-qty {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3f4f6;
}

.bulk-tier-btn .tier-rate {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-top: 1px;
}

.bulk-tier-btn .tier-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
}

.bulk-tier-btn .tier-tag.save {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.bulk-tier-btn .tier-tag.best {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.bulk-tier-btn.active .tier-tag {
  color: #ffffff;
}

/* ==========================================================================
   Discord Store Announcement Panel in Staff Portal
   ========================================================================== */
.staff-announce-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.staff-announce-preview-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.staff-announce-preview {
  background: #2b2d31;
  border: 1px solid #3f4248;
  border-left: 4px solid var(--gold-primary);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: #dbdee1;
  line-height: 1.5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.staff-announce-preview strong {
  color: #ffffff;
}


