/* ========================================================
   BLEEDMC STORE - STYLESHEET
   Sleek Minecraft Gaming Aesthetic with Orange/Gold Accents
   ======================================================== */

:root {
  --bg-dark: #121118;
  --bg-card: #1c1b26;
  --bg-card-hover: #242232;
  --bg-sidebar: #171620;
  --bg-input: #1f1e29;
  --bg-modal: #1e1d28;
  
  --primary-orange: #f4800b;
  --primary-orange-hover: #fa9022;
  --primary-orange-dark: #b85c00;
  --gold-accent: #fca311;
  --gold-glow: rgba(244, 128, 11, 0.35);
  
  --bedrock-red: #e63946;
  --bedrock-green: #2a9d8f;
  
  --border-subtle: #2d2b3c;
  --border-focus: #f4800b;
  --border-card: #272535;
  
  --text-main: #f0f0f5;
  --text-muted: #9592a6;
  --text-dim: #6e6b80;
  --text-gold: #ffbe0b;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-pixel: 'VT323', monospace;
  
  --shadow-glow: 0 0 25px rgba(244, 128, 11, 0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(244, 128, 11, 0.15) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
}

/* Particle Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ========================================================
   SITE HEADER (3-TIER RESTRUCTURED LAYOUT)
   ======================================================== */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Tier 1: Top Bar (Login / Profile / Status) */
.top-user-bar {
  width: 100%;
  background: rgba(20, 19, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-card);
  padding: 12px 0;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mini-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* Tier 2: Center 3D Floating Logo with Left Home Slot */
.hero-center-section {
  width: 100%;
  padding: 20px 0 12px 0;
}

.hero-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-home-slot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.03);
}

.server-logo {
  max-width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(244, 128, 11, 0.35));
  animation: gentle-float 4.5s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-0.5deg);
  }
}

/* Tier 3: Left IP to Left Corner & Right Discord to Right Corner Under Logo */
.hero-stats-section {
  width: 100%;
  margin-bottom: 24px;
}

.hero-stats-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes IP to left corner & Discord to right corner */
  max-width: 1280px;
  width: 100%;
}

/* Stat Cards (Server IP & Discord) */
.server-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 240px;
}

.server-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-orange);
  box-shadow: 0 6px 20px rgba(244, 128, 11, 0.2);
}

.discord-card:hover {
  border-color: #5865f2;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.25);
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.orange-badge {
  background: rgba(244, 128, 11, 0.15);
  color: var(--primary-orange);
  border: 1px solid rgba(244, 128, 11, 0.3);
}

.gold-badge {
  background: rgba(252, 163, 17, 0.15);
  color: var(--gold-accent);
  border: 1px solid rgba(252, 163, 17, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-orange);
  animation: pulse-glow 1.8s infinite ease-in-out;
}

.pulse-dot-gold {
  width: 7px;
  height: 7px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-accent);
  animation: pulse-glow 1.8s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

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

.stat-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.flame-icon, .discord-icon {
  width: 15px;
  height: 15px;
  color: var(--primary-orange);
}

.discord-icon {
  color: #5865f2;
}

.stat-subtitle {
  font-size: 0.68rem;
  color: var(--primary-orange);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.discord-card .stat-subtitle {
  color: #7983f5;
}

/* User Auth Box (Guest vs Logged In) */
.user-auth-box {
  display: flex;
  align-items: center;
}

.guest-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.guest-btn:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 0 15px rgba(244, 128, 11, 0.25);
  transform: translateY(-1px);
}

.user-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.user-name-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.user-action-tag {
  font-size: 0.68rem;
  color: var(--primary-orange);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.online-status {
  color: #22c55e;
}

/* Wooden Block Question Head */
.avatar-head {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.wooden-head {
  background: #8b5a2b;
  border: 2px solid #5c3a1e;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.2), inset -2px -2px 0 rgba(0,0,0,0.4);
}

.question-mark {
  font-family: var(--font-pixel);
  font-size: 1.8rem;
  color: #2c1a0a;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.2);
  line-height: 1;
}

.mc-head-wrapper {
  background: #252433;
  border: 2px solid var(--primary-orange);
  box-shadow: 0 0 10px rgba(244, 128, 11, 0.4);
}

.mc-head-wrapper img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

/* Logged In Container */
.logged-in-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.name-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: #2a9d8f;
  color: #fff;
}

.platform-badge.bedrock {
  background: #e63946;
}

.cart-btn, .logout-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
}

.cart-btn:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.logout-btn:hover {
  border-color: #e63946;
  color: #e63946;
}

.cart-btn svg, .logout-btn svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

/* ========================================================
   STORE LAYOUT (Sidebar + Content)
   ======================================================== */
.store-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 60px;
}

/* Sidebar */
.store-sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 20px;
}

.sidebar-header {
  padding: 10px 12px 14px 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.sidebar-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary-orange);
  text-transform: uppercase;
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.cat-item:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.cat-item.active {
  background: linear-gradient(90deg, rgba(244, 128, 11, 0.2) 0%, rgba(244, 128, 11, 0.05) 100%);
  border-color: var(--primary-orange);
  color: #ffffff;
}

.cat-icon-wrap {
  width: 36px;
  height: 36px;
  background: #232230;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.cat-item.active .cat-icon-wrap {
  background: rgba(244, 128, 11, 0.25);
  border-color: var(--primary-orange);
}

.pixel-art-icon {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.coin-custom-icon,
.rank-custom-icon {
  image-rendering: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(252, 163, 17, 0.45));
}

.cat-label {
  flex-grow: 1;
}

.cat-arrow {
  font-size: 1.2rem;
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

.cat-item:hover .cat-arrow,
.cat-item.active .cat-arrow {
  opacity: 1;
  color: var(--primary-orange);
  transform: translateX(2px);
}

.sidebar-support-box {
  margin-top: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.support-icon {
  font-size: 1.4rem;
}

.support-text strong {
  display: block;
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.support-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ========================================================
   STORE MAIN CONTENT & PACKAGES
   ======================================================== */
.store-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.sub-header-home-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 0 16px 0;
  max-width: 1280px;
  width: 100%;
}

.btn-back-home {
  background: #1c1b26;
  border: 1.5px solid var(--primary-orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(244, 128, 11, 0.25);
}

.btn-back-home:hover {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  transform: translateX(-3px);
  box-shadow: 0 6px 20px rgba(244, 128, 11, 0.45);
}

.home-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-subtitle {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary-orange);
  text-transform: uppercase;
}

.content-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-top: 2px;
}

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

.currency-tag {
  background: rgba(244, 128, 11, 0.1);
  color: var(--primary-orange);
  border: 1px solid rgba(244, 128, 11, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.currency-note {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 700;
}

/* Product Cards Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Card Styling */
.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent-color, var(--primary-orange));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 128, 11, 0.15);
}

.package-card:hover::before {
  background: var(--card-accent-color, var(--primary-orange));
}

/* Card Header */
.card-top-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.card-icon-container {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #15141e;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
  transition: transform var(--transition-fast);
}

.package-card:hover .card-icon-img {
  transform: scale(1.06);
}

.card-meta {
  flex-grow: 1;
}

.card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-bonus-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-accent);
  display: inline-block;
  background: rgba(252, 163, 17, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(252, 163, 17, 0.2);
}

.card-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--primary-orange);
  color: #fff;
  letter-spacing: 0.5px;
}

/* Card Perks Preview */
.card-perks-snippet {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-perks-snippet li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.perk-bullet {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

/* Card Bottom Actions */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-price-box {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.card-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.card-btn-group {
  display: flex;
  gap: 8px;
}

.btn-card-details {
  background: #252433;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  background: #312f42;
  color: #ffffff;
}

.btn-card-buy {
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(244, 128, 11, 0.3);
}

.btn-card-buy:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(244, 128, 11, 0.5);
}

/* ========================================================
   INFO & SUPPORT & REFUND POLICY SECTIONS (Screenshot Match)
   ======================================================== */
.store-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 1px;
}

.info-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 10px 0;
}

.info-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.info-description:last-child {
  margin-bottom: 0;
}

.info-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.highlight-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 700;
}

.highlight-link:hover {
  text-decoration: underline;
}

/* Section Titles (Orange / Red) */
.section-title-orange {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title-red {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e63946;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Action Rows & Pill Buttons (Exact Screenshot Style) */
.section-action-row {
  margin-top: 16px;
}

.btn-orange-pill {
  display: inline-block;
  background: #ea7a08;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(234, 122, 8, 0.35);
}

.btn-orange-pill:hover {
  background: #f88714;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 122, 8, 0.5);
}

.policy-buttons-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-red-pill {
  background: #e63946;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

.btn-red-pill:hover {
  background: #f04754;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.5);
}

/* ========================================================
   GIFTCARD BALANCE WIDGET (Screenshot Match)
   ======================================================== */
.giftcard-widget-card {
  background: #191823;
  border: 1px solid #2b2838;
}

.giftcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.gift-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.giftcard-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-orange);
  text-transform: uppercase;
}

.giftcard-input-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

.giftcard-input {
  flex-grow: 1;
  background: #12111a;
  border: 1px solid #2d2a3d;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.giftcard-input:focus {
  border-color: var(--primary-orange);
}

.btn-green-check {
  background: #2a9d8f;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.35);
}

.btn-green-check:hover {
  background: #34b5a6;
  transform: translateY(-1px);
}

.giftcard-result {
  font-size: 0.8rem;
  margin-top: 10px;
  min-height: 16px;
}

/* ========================================================
   MODALS BASE & OVERLAY
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 7, 12, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  background: var(--bg-modal);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(244, 128, 11, 0.1);
  overflow: hidden;
}

.animate-pop {
  animation: modal-pop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

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

/* ========================================================
   POLICY MODALS (Terms & Privacy)
   ======================================================== */
.policy-card {
  max-width: 540px;
  padding: 28px;
}

.policy-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.policy-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.policy-subtitle {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 700;
}

.policy-body {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.policy-body h4 {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
}

.policy-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.policy-footer {
  display: flex;
  justify-content: flex-end;
}

/* ========================================================
   MODAL 1: EXACT MATCH LOGIN SCREENSHOT MODAL
   ======================================================== */
.login-card {
  max-width: 480px;
  padding: 36px 32px 30px 32px;
  text-align: center;
  background: #1e1c27;
  border: 1px solid #2b2838;
}

.login-header {
  margin-bottom: 24px;
}

.login-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.login-subtitle {
  font-size: 0.78rem;
  color: #9d9aa8;
  line-height: 1.5;
  padding: 0 10px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Username Input Box with Avatar Icon */
.username-input-wrapper {
  display: flex;
  align-items: center;
  background: #171520;
  border: 1px solid #2d2a3d;
  border-radius: 6px;
  padding: 6px 12px;
  transition: border-color var(--transition-fast);
}

.username-input-wrapper:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 12px rgba(244, 128, 11, 0.25);
}

.input-avatar-box {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #7d4d23;
  border: 2px solid #523114;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.2);
}

.input-avatar-question {
  font-family: var(--font-pixel);
  font-size: 1.6rem;
  color: #271609;
  font-weight: bold;
  line-height: 1;
}

.input-avatar-box img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  border-radius: 2px;
}

.mc-username-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.mc-username-input::placeholder {
  color: #5d596e;
  font-weight: 500;
}

.input-error-msg {
  font-size: 0.78rem;
  color: #e63946;
  min-height: 16px;
  text-align: left;
}

/* Big Orange Continue Button */
.btn-continue {
  background: #ea7a08;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(234, 122, 8, 0.35);
  text-transform: uppercase;
}

.btn-continue:hover {
  background: #f88714;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 122, 8, 0.5);
}

/* Bedrock Switch (Screenshot Match) */
.bedrock-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.bedrock-label {
  font-size: 0.82rem;
  color: #8c899c;
  font-weight: 600;
}

.bedrock-toggle-btn {
  border: none;
  padding: 4px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.bedrock-toggle-btn.is-no {
  background: #e63946;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

.bedrock-toggle-btn.is-yes {
  background: #2a9d8f;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.4);
}

/* ========================================================
   MODAL 2: PERKS DETAILS MODAL
   ======================================================== */
.perks-card {
  max-width: 580px;
  padding: 28px;
}

.perks-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.perks-badge-art {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  background: #14131e;
  border: 2px solid var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(244, 128, 11, 0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.perks-badge-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perks-category-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-orange);
  text-transform: uppercase;
}

.perks-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 6px 0;
}

.perks-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.perks-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.perks-bonus {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-accent);
  background: rgba(252, 163, 17, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.perks-body {
  margin-bottom: 24px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 8px;
}

.perks-list-heading {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

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

.perks-list li {
  font-size: 0.85rem;
  color: #e0deea;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  padding: 6px 10px;
  background: #171622;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-orange);
}

.perks-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-cart {
  background: #272538;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
}

.btn-add-cart:hover {
  background: #343249;
  border-color: var(--primary-orange);
}

.btn-buy-now {
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(244, 128, 11, 0.35);
}

.btn-buy-now:hover {
  background: var(--primary-orange-hover);
}

/* ========================================================
   MODAL 3: SHOPPING CART & CHECKOUT
   ======================================================== */
.cart-modal-card {
  max-width: 520px;
  padding: 28px;
}

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

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

.cart-title-row h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.cart-recipient {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #171622;
  border: 1px solid var(--border-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

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

.cart-item-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--gold-accent);
  font-weight: 700;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #e63946;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.cart-item-remove:hover {
  background: rgba(230, 57, 70, 0.15);
}

.cart-empty-msg {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.cart-coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.cart-coupon-row input {
  flex-grow: 1;
  background: #171520;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-main);
  color: #fff;
  font-size: 0.82rem;
}

.btn-apply-coupon {
  background: #2a293a;
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-apply-coupon:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.coupon-feedback {
  font-size: 0.72rem;
  margin-bottom: 12px;
  min-height: 14px;
}

.coupon-success {
  color: #22c55e;
}

.coupon-error {
  color: #e63946;
}

.cart-summary {
  background: #15141e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

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

.discount-line {
  color: #22c55e;
}

.total-line {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
}

.highlight-total {
  color: var(--gold-accent);
}

.btn-checkout {
  width: 100%;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(244, 128, 11, 0.35);
}

.btn-checkout:hover {
  background: var(--primary-orange-hover);
}

.secure-checkout-badge {
  text-align: center;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ========================================================
   MODAL 4: SUCCESS MODAL
   ======================================================== */
.success-card {
  max-width: 460px;
  padding: 36px 28px;
  text-align: center;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

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

.success-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.order-box {
  background: #161520;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  margin-bottom: 16px;
}

.order-id-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.order-commands-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmd-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.order-commands-box code {
  background: #0f0e16;
  padding: 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #22c55e;
  word-break: break-all;
  display: block;
}

.order-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.order-hint code {
  color: var(--primary-orange);
}

/* ========================================================
   TOAST NOTIFICATION
   ======================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1f1d2c;
  border: 1px solid var(--primary-orange);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(244, 128, 11, 0.25);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  background: var(--primary-orange);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  border-top: 1px solid var(--border-card);
  background: #0f0e15;
  padding: 30px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-terms {
  font-size: 0.72rem;
  color: #555268;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-orange);
}

/* ========================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ======================================================== */
@media (max-width: 860px) {
  .hero-stats-container {
    flex-direction: column;
    gap: 14px;
  }

  .server-stat-card {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar-card {
    position: static;
  }
  
  .category-nav {
    flex-direction: row;
  }
  
  .cat-item {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .top-bar-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .user-auth-box {
    width: 100%;
    justify-content: center;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .giftcard-input-row {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .perks-footer {
    grid-template-columns: 1fr;
  }

  .staff-grid,
  .vote-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   EMOJI CATEGORY ICON
   ======================================================== */
.cat-emoji-icon {
  font-size: 1.4rem;
  line-height: 1;
}

/* ========================================================
   STAFF SECTION
   ======================================================== */
.staff-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.staff-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 128, 11, 0.15);
}

.staff-card .staff-role-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.staff-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
  background: #15141e;
}

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

.staff-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.staff-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
}

.staff-role-tag {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}

.staff-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================================
   VOTE SECTION
   ======================================================== */
.vote-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vote-info-banner {
  background: linear-gradient(135deg, #1c1b26 0%, #252433 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.vote-info-banner h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.vote-info-banner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.vote-rewards-box {
  background: #15141e;
  border: 1px dashed var(--primary-orange);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-top: 16px;
  display: inline-flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.vote-reward-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.vote-reward-item .reward-icon {
  font-size: 1.2rem;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.vote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.vote-card:hover {
  background: var(--bg-card-hover);
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.vote-site-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.vote-site-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.vote-site-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.vote-site-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.vote-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.vote-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}

/* ========================================================
   TEBEX CART REVIEW (Matches User Screenshot 1)
   ======================================================== */
.cart-review-card {
  max-width: 680px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: #181722;
  border: 1px solid #2d2b3d;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tebex-box {
  background: #1f1e2c;
  border: 1px solid #2e2c3f;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.tebex-box-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tebex-box-header-row h4 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  margin: 0;
}

.tebex-icon-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fca31122;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.cart-review-box .tebex-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.cart-review-box .tebex-header-title h3 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin: 0;
}

/* Cart Item Row with Quantity Controls */
.tebex-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #161522;
  border: 1px solid #282637;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  gap: 12px;
}

.tebex-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.tebex-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #3c3a4f;
  background: #111018;
}

.tebex-item-details .item-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
}

.tebex-item-details .item-price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.qty-stepper {
  display: flex;
  align-items: center;
  background: #242232;
  border: 1px solid #363449;
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary-orange);
}

.qty-val {
  padding: 4px 10px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.item-action-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.item-action-icon:hover {
  color: #ff4d00;
}

.cart-total-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #282637;
  margin-top: 8px;
}

.total-bar-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.total-bar-value {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary-orange);
}

/* Coupon Redeem Row */
.coupon-redeem-row {
  display: flex;
  gap: 10px;
}

.coupon-redeem-row input {
  flex: 1;
  background: #14131d;
  border: 1px solid #2f2d40;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 0.85rem;
}

.btn-redeem-orange {
  background: #e2870c;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-redeem-orange:hover {
  background: #f49214;
  box-shadow: 0 4px 15px rgba(226, 135, 12, 0.4);
}

/* User Agreement Section */
.agreement-icon-pill {
  background: #0077b622;
  color: #00b4d8;
}

.agreement-title-badge {
  background: #005f73;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem !important;
}

.agreement-checkboxes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #c5c3d4;
  line-height: 1.45;
  cursor: pointer;
}

.tebex-checkbox {
  accent-color: var(--primary-orange);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.agreement-link {
  color: var(--primary-orange);
  text-decoration: none;
}

.agreement-link:hover {
  text-decoration: underline;
}

.highlight-player {
  color: #ffffff;
  font-weight: 800;
}

.agreement-warning {
  margin-top: 12px;
  background: #38161a;
  border: 1px solid #731e28;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #ff6b7d;
  font-weight: 700;
}

/* Finalize Button */
.btn-proceed-checkout-tebex {
  width: 100%;
  padding: 14px;
  background: #734814;
  border: none;
  border-radius: var(--radius-sm);
  color: #eeddc9;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: not-allowed;
  transition: all var(--transition-fast);
}

.btn-proceed-checkout-tebex:not(:disabled) {
  background: linear-gradient(135deg, #f4800b 0%, #e06c00 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(244, 128, 11, 0.4);
}

.btn-proceed-checkout-tebex:not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ========================================================
   TEBEX CHECKOUT WIZARD MODAL (Screenshots 2 & 3)
   ======================================================== */
.checkout-flow-card {
  max-width: 960px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  background: #111018;
  border: 1px solid #2d2b3e;
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Top Breadcrumb Bar */
.checkout-breadcrumbs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #171622;
  border-bottom: 1px solid #272535;
}

.checkout-brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--primary-orange);
}

.checkout-mini-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.checkout-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7b7891;
}

.checkout-breadcrumbs .crumb.active {
  color: #00d2ff;
}

.checkout-breadcrumbs .crumb.completed {
  color: #22c55e;
}

.crumb-sep {
  color: #55526d;
}

/* Split Layout */
.checkout-split-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 480px;
}

/* Left Column: Order Summary */
.checkout-summary-col {
  background: #14131e;
  border-right: 1px solid #252335;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-user-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #252335;
  padding-bottom: 12px;
}

.order-user-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.btn-checkout-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-checkout-cancel:hover {
  color: #ff6b7d;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1926;
  border: 1px solid #282637;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.summary-order-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

.summary-order-meta {
  flex: 1;
}

.summary-order-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
}

.summary-order-price {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 700;
}

.checkout-coupon-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-coupon-field label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.checkout-coupon-field input {
  background: #1d1c2b;
  border: 1px solid #302e42;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.checkout-price-calc {
  border-top: 1px solid #252335;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.calc-total {
  border-top: 1px dashed #302e42;
  padding-top: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.highlight-total-val {
  font-family: var(--font-main);
  font-weight: 900;
  color: var(--primary-orange);
}

.checkout-tebex-notice {
  margin-top: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

/* Right Column: Dynamic Step Panel */
.checkout-dynamic-col {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
}

.checkout-step-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-panel-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

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

/* Upsell List (Screenshot 2) */
.upsell-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.upsell-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #181724;
  border: 1px solid #29273a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all var(--transition-fast);
}

.upsell-card:hover {
  background: #201f2f;
  border-color: var(--primary-orange);
}

.upsell-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.upsell-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #12111b;
  border: 1px solid #2e2c3e;
}

.upsell-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
}

.upsell-price {
  font-size: 0.8rem;
  color: var(--primary-orange);
  font-weight: 700;
}

.btn-upsell-add {
  background: #282638;
  color: #ffffff;
  border: 1px solid #3c3a50;
  padding: 6px 18px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-upsell-add:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-continue-payment {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: #00adb5;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 173, 181, 0.35);
}

.btn-continue-payment:hover {
  background: #02c4cd;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 173, 181, 0.45);
}

/* Payment Step 2 (Screenshot 3) */
.payment-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d1d0df;
}

.tebex-input {
  background: #191825;
  border: 1px solid #2d2b3f;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  transition: border-color var(--transition-fast);
}

.tebex-input:focus {
  outline: none;
  border-color: #00adb5;
}

.payment-methods-box {
  margin-bottom: 14px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.pay-method-btn {
  background: #181724;
  border: 1px solid #2b293c;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pay-method-btn.active {
  background: #1c2331;
  border-color: #00adb5;
  box-shadow: 0 0 12px rgba(0, 173, 181, 0.25);
}

.pay-badge {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 2px;
  color: #fff;
}

.pay-badge.visa { background: #1a1f71; }
.pay-badge.mc { background: #eb001b; }
.pay-badge.amex { background: #006fcf; }

.gpay-logo { font-weight: 900; font-size: 0.85rem; color: #fff; }
.paypal-logo { font-weight: 800; font-size: 0.8rem; color: #0079c1; }
.upi-logo { font-weight: 900; font-size: 0.85rem; color: #22c55e; }

.method-name {
  font-size: 0.72rem;
  color: #c0bdd3;
  font-weight: 600;
  text-align: center;
}

.more-methods-bar {
  text-align: center;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.more-methods-bar:hover {
  color: #00adb5;
}

.billing-inputs-row {
  display: flex;
  gap: 12px;
}

.billing-inputs-row .flex-1 { flex: 1; }
.billing-inputs-row .zip-group { width: 140px; }

.upi-hint {
  font-size: 0.72rem;
  color: #22c55e;
  margin-top: 4px;
}

.paypal-redirect-box {
  background: #141f2e;
  border: 1px solid #1f3956;
  border-radius: 4px;
  padding: 14px;
  font-size: 0.8rem;
  color: #70b4ff;
  text-align: center;
  margin-bottom: 14px;
}

.payment-agreements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.payment-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: #9d9bb0;
  line-height: 1.4;
  cursor: pointer;
}

.btn-pay-now-final {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}

.btn-pay-now-final:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.45);
}

/* Order Confirmed Box (Step 3) */
.order-confirmed-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  gap: 12px;
}

.confirmed-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.5);
}

.confirmed-title {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

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

.confirmed-details-card {
  width: 100%;
  max-width: 440px;
  background: #181724;
  border: 1px solid #282638;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.confirmed-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #b7b5c8;
}

.confirmed-line code {
  background: #0f0e16;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--primary-orange);
}

.delivery-badge-instant {
  color: #22c55e;
  font-weight: 800;
  font-size: 0.75rem;
}

.btn-back-store-confirmed {
  margin-top: 10px;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-store-confirmed:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Checkout Footer */
.checkout-tebex-footer {
  background: #0d0c13;
  border-top: 1px solid #1e1d28;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #636177;
  gap: 16px;
  flex-wrap: wrap;
}

.tebex-t-icon {
  font-weight: 900;
  color: #9290a6;
}

.tebex-footer-links {
  display: flex;
  gap: 14px;
}

.tebex-footer-links a {
  color: #7b7891;
  text-decoration: none;
}

.tebex-footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .checkout-split-layout {
    grid-template-columns: 1fr;
  }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
