/* ============================================================
   VERONICA MODS — ULTRA-PREMIUM MODERN DARK GLASS DESIGN SYSTEM
   ============================================================ */

/* ---------- Core CSS Tokens ---------- */
:root {
  /* Color Palette: Dark Glass & Vibrant Neon Accents */
  --bg-main:          #070b14;
  --bg-gradient:      radial-gradient(circle at 20% 0%, #0f172a 0%, #070b14 60%),
                      radial-gradient(circle at 80% 100%, #1e1b4b 0%, #070b14 70%);

  --glass-bg:         rgba(15, 23, 42, 0.72);
  --glass-card-bg:    rgba(15, 23, 42, 0.85);
  --glass-header-bg:  rgba(6, 11, 24, 0.88);
  --glass-subnav-bg:  rgba(10, 17, 36, 0.92);
  
  --glass-border:     rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(0, 242, 254, 0.35);
  --glass-shadow:     0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.05);

  --card-text:        #f8fafc;
  --text-muted:       #94a3b8;
  --text-dim:         #64748b;

  /* Accent Colors */
  --cyan:             #00f2fe;
  --cyan-bright:      #38bdf8;
  --cyan-glow:        rgba(0, 242, 254, 0.25);
  --cyan-light:       rgba(0, 242, 254, 0.12);

  --gold:             #fbbf24;
  --gold-glow:        rgba(251, 191, 36, 0.3);
  --gold-light:       rgba(251, 191, 36, 0.15);

  --emerald:          #10b981;
  --emerald-bright:   #34d399;
  --emerald-light:    rgba(16, 185, 129, 0.15);

  --purple:           #8b5cf6;
  --purple-light:     rgba(139, 92, 246, 0.15);

  --danger:           #f43f5e;
  --danger-light:     rgba(244, 63, 94, 0.15);

  --primary:          #0284c7;
  --primary-h:        #0369a1;

  /* Typography */
  --font-h:           'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-b:           'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Radii */
  --r-card:           20px;
  --r-input:          12px;
  --r-btn:            12px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #38bdf8; }
button { cursor: pointer; font-family: var(--font-b); border: none; outline: none; }
input, select, textarea { font-family: var(--font-b); }

body {
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--card-text);
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(6, 11, 24, 0.8); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ---------- Canvas (Hyper option) ---------- */
canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: none;
}

/* ---------- Theme Switcher Floating Widget ---------- */
#theme-switcher-wrap {
  position: fixed; bottom: 24px; left: 24px; z-index: 300;
}
.theme-toggle-circle {
  background: var(--glass-card-bg);
  color: var(--cyan);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--cyan-glow);
  font-size: 20px; transition: all .25s ease;
}
.theme-toggle-circle:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--cyan);
  box-shadow: 0 12px 36px rgba(0, 242, 254, 0.4);
}
#theme-panel {
  display: none; position: absolute; bottom: 62px; left: 0;
  background: rgba(10, 17, 36, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 10px; min-width: 180px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
#theme-panel.open { display: flex; flex-direction: column; gap: 6px; }
.theme-opt {
  background: transparent; border: none;
  color: var(--text-muted); text-align: left;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  transition: all .2s;
}
.theme-opt:hover, .theme-opt.active {
  background: var(--cyan-light); color: var(--cyan);
  border-left: 3px solid var(--cyan);
}

/* ---------- TOP NAVBAR ---------- */
.itemku-navbar-wrapper {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--glass-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.itemku-top-bar {
  padding: 14px 0 10px;
}
.top-bar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Brand Logo */
.itemku-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.brand-logomark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: transform .3s ease;
}
.itemku-brand:hover .brand-logomark {
  transform: rotate(-8deg) scale(1.06);
}
.brand-title {
  font-family: var(--font-h); font-size: 28px;
  font-weight: 900; color: #ffffff; letter-spacing: -0.5px;
}
.brand-title span {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
}
.brand-vip-badge {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #090d16;
  font-size: 10px; font-weight: 900;
  padding: 3px 8px; border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Search Bar Section */
.itemku-search-container {
  flex: 1; max-width: 580px;
  display: flex; flex-direction: column; gap: 8px;
}
.itemku-search-input-wrap {
  position: relative; width: 100%;
  display: flex; align-items: center;
}
.search-lens-icon {
  position: absolute; left: 16px;
  color: var(--text-muted); font-size: 15px;
  pointer-events: none; transition: color .2s;
}
#itemku-search-input {
  width: 100%; height: 44px;
  padding: 0 90px 0 44px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  font-size: 13px; font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  outline: none;
  transition: all .25s ease;
}
#itemku-search-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-glow), 0 8px 24px rgba(0, 0, 0, 0.4);
}
#itemku-search-input:focus + .search-lens-icon { color: var(--cyan); }
#itemku-search-input::placeholder { color: var(--text-dim); }
.enter-badge {
  position: absolute; right: 10px;
  font-size: 10px; font-weight: 800;
  background: rgba(255, 255, 255, 0.1); color: var(--text-muted);
  padding: 4px 8px; border-radius: 12px;
  pointer-events: none; border: 1px solid rgba(255,255,255,0.08);
}

/* Trending Quick Tags */
.itemku-trending-tags {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; padding-bottom: 2px;
}
.search-tag-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 4px 12px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  transition: all .2s;
}
.search-tag-pill:hover {
  background: var(--cyan-light); color: var(--cyan);
  border-color: var(--cyan); transform: translateY(-1px);
}

/* Header History Button */
.btn-itemku-history {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(37, 99, 235, 0.15));
  color: #ffffff;
  border: 1px solid var(--glass-border-hover);
  padding: 10px 20px;
  border-radius: 22px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all .2s ease;
  flex-shrink: 0; backdrop-filter: blur(10px);
}
.btn-itemku-history:hover {
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #ffffff;
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

/* Subnav Bar */
.itemku-subnav-bar {
  background: var(--glass-subnav-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
}
.subnav-inner-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 10px;
  overflow-x: auto;
}
.subnav-category-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 900; color: var(--gold);
  padding-right: 14px; border-right: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px;
}
.subnav-link {
  background: transparent; border: none;
  color: var(--text-muted); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 10px;
  white-space: nowrap; transition: all .2s;
}
.subnav-link:hover {
  background: rgba(255,255,255,0.08); color: #ffffff;
}
.subnav-link.active {
  background: var(--cyan-light); color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* ---------- MAIN CONTAINER ---------- */
.itemku-main-content {
  max-width: 1280px; margin: 0 auto;
  padding: 36px 24px 80px;
  position: relative; z-index: 1;
}

/* ---------- HERO SHOWCASE (3 GAME CARDS) ---------- */
.itemku-hero-showcase {
  margin-bottom: 44px;
}
.hero-header-line {
  margin-bottom: 24px; text-align: center;
}
.hero-header-line h2 {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px; letter-spacing: -0.5px;
}
.hero-header-line p {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
}

/* 3 Cards Grid */
.itemku-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

/* ITEMKU GAME CARD (VERTICAL POSTER) */
.itemku-game-card {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--glass-border);
  height: 400px;
  background: #0b1329;
}
.itemku-game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px var(--cyan-glow);
  border-color: var(--cyan);
}
.itemku-game-card.active-card, .itemku-game-card.selected {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 24px 60px rgba(0, 0, 0, 0.7);
}

/* Poster Wrap */
.itemku-poster-wrap {
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.itemku-poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .5s ease;
  z-index: 1; filter: brightness(0.9);
}
.itemku-game-card:hover .itemku-poster-img {
  transform: scale(1.08); filter: brightness(1);
}

/* Gradient Overlay */
.itemku-poster-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, 
              rgba(6, 11, 24, 0.3) 0%, 
              rgba(6, 11, 24, 0.2) 40%, 
              rgba(6, 11, 24, 0.88) 75%, 
              rgba(6, 11, 24, 0.98) 100%);
  z-index: 2;
}

/* Poster Top Area */
.itemku-poster-top {
  position: relative; z-index: 3;
  padding: 16px;
  display: flex; align-items: center;
  justify-content: space-between;
}
.game-status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800;
  padding: 5px 12px; border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.game-status-pill.ready {
  background: rgba(16, 185, 129, 0.88);
  color: #ffffff;
}
.game-status-pill.maint {
  background: rgba(244, 63, 94, 0.88);
  color: #ffffff;
}
.game-server-tag {
  font-size: 10px; font-weight: 800;
  background: rgba(0, 0, 0, 0.65); color: var(--cyan);
  padding: 4px 10px; border-radius: 12px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  backdrop-filter: blur(8px);
}

/* Poster Bottom Area */
.itemku-poster-bottom {
  position: relative; z-index: 3;
  padding: 20px 18px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
}
.itemku-game-title {
  font-family: var(--font-h); font-size: 20px;
  font-weight: 900; color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
  letter-spacing: -0.3px;
}
.itemku-game-sub {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
}
.itemku-badge-row { margin: 4px 0; }
.itemku-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #090d16;
  font-family: var(--font-h); font-size: 11px;
  font-weight: 900; letter-spacing: 0.5px;
  padding: 4px 14px; border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--gold-glow);
}
.itemku-btn-action {
  width: 100%; max-width: 200px;
  padding: 10px 20px; font-size: 13px; font-weight: 800;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s ease;
}
.itemku-game-card:hover .itemku-btn-action,
.itemku-game-card.active-card .itemku-btn-action,
.itemku-game-card.selected .itemku-btn-action {
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  border-color: var(--cyan); color: #ffffff;
  box-shadow: 0 0 20px var(--cyan-glow);
}

/* Trust Badges Bar */
.itemku-trust-badges {
  background: var(--glass-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 20px 32px;
  display: flex; align-items: center;
  justify-content: space-around; gap: 24px;
  box-shadow: var(--glass-shadow);
}
.trust-badge-item {
  display: flex; align-items: center; gap: 16px;
}
.trust-ico {
  font-size: 28px; color: var(--gold);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.trust-txt strong { font-size: 14px; color: #ffffff; font-weight: 800; display: block; }
.trust-txt span { font-size: 12px; color: var(--text-muted); }

/* ---------- CHECKOUT WIZARD LAYOUT ---------- */
.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: flex-start;
  margin-top: 36px;
}
.checkout-steps-panel { min-width: 0; }
.checkout-summary-panel { position: sticky; top: 120px; }

/* Card Common */
.card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(20px);
  color: var(--card-text);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

/* Step Wizard Navigation Bar */
.step-wizard-container {
  background: var(--glass-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--glass-shadow);
  margin-bottom: 12px;
}
.step-wizard-node {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.step-bar-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); color: var(--text-muted);
  border: 2px solid var(--glass-border);
  font-family: var(--font-h); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease; flex-shrink: 0;
}
.step-wizard-node.active .step-bar-circle {
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #ffffff; border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}
.step-wizard-node.completed .step-bar-circle {
  background: var(--emerald); color: #ffffff;
  border-color: var(--emerald);
}
.step-node-label {
  font-size: 13px; font-weight: 800; color: var(--text-muted);
}
.step-wizard-node.active .step-node-label { color: #ffffff; }
.step-wizard-node.completed .step-node-label { color: var(--emerald-bright); }

.step-wizard-line {
  flex: 1; height: 3px;
  background: rgba(255, 255, 255, 0.1); margin: 0 14px;
  transition: background .4s;
}
.step-wizard-line.active {
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
}
.step-indicator-chip {
  font-size: 12px; color: var(--cyan); font-weight: 800;
  background: var(--cyan-light);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: inline-block; padding: 5px 14px;
  border-radius: 14px; margin-bottom: 20px;
}

/* Step Form Section Cards */
.form-step-section {
  display: none;
}
.form-step-section.active { display: block; animation: fadeIn .3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.card-step-title {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
.step-num-pill {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--cyan-light); color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-family: var(--font-h); font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-step-title h3 {
  font-size: 20px; color: #ffffff; margin-bottom: 2px;
}
.card-step-title p {
  font-size: 13px; color: var(--text-muted); margin: 0;
}
.discount-badge-chip {
  margin-left: auto;
  background: var(--emerald-light); color: var(--emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 800; font-size: 12px;
  padding: 6px 14px; border-radius: 18px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Forms & Inputs */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: #e2e8f0; margin-bottom: 8px;
}
.form-input-control {
  width: 100%; height: 48px; padding: 0 16px;
  border-radius: var(--r-input);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px; font-weight: 600; outline: none;
  transition: all .2s ease;
}
.form-input-control:focus {
  border-color: var(--cyan); background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
select.form-input-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300f2fe'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
select.form-input-control option {
  background: #090d16; color: #ffffff; padding: 10px;
}

/* Voucher Box */
.voucher-container { margin-top: 24px; }
.voucher-input-row { display: flex; gap: 10px; }
.voucher-input-row .form-input-control { flex: 1; }
.btn-voucher-submit {
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #ffffff;
  border: none; padding: 0 24px;
  border-radius: var(--r-btn); font-size: 14px; font-weight: 800;
  transition: all .2s; box-shadow: 0 4px 14px var(--cyan-glow);
}
.btn-voucher-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-show-promos {
  background: none; border: none;
  color: var(--cyan); font-size: 12px; font-weight: 700;
  margin-top: 10px; display: inline-flex; align-items: center; gap: 6px;
}
.btn-show-promos:hover { text-decoration: underline; }
.voucher-feedback-box {
  margin-top: 12px; padding: 12px 16px;
  border-radius: 10px; font-size: 13px; font-weight: 700;
}
.voucher-ok { color: var(--emerald-bright); background: var(--emerald-light); border: 1px solid rgba(16,185,129,0.3); }
.voucher-err { color: var(--danger); background: var(--danger-light); border: 1px solid rgba(244,63,94,0.3); }

/* Step Actions Buttons */
.step-actions-footer {
  display: flex; gap: 14px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.step-actions-footer.right { justify-content: flex-end; }
.step-actions-footer.split { justify-content: space-between; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--r-btn);
  font-size: 14px; font-weight: 800; border: none;
  transition: all .25s ease; text-decoration: none;
}
.btn-primary-action {
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--cyan-glow);
}
.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 242, 254, 0.4);
}
.btn-outline-action {
  background: rgba(255, 255, 255, 0.05); color: #e2e8f0;
  border: 1px solid var(--glass-border);
}
.btn-outline-action:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.btn-pay-now-action {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #ffffff; font-size: 16px; padding: 14px 32px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}
.btn-pay-now-action:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-danger-action { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(244,63,94,0.3); }

/* ---------- STEP 2: PAKET CARDS GRID ---------- */
.paket-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 12px;
}
.paket-card {
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: all .25s ease;
}
.paket-card:hover {
  border-color: var(--cyan); background: rgba(0, 242, 254, 0.06);
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.paket-card.active, .paket-card.selected {
  border-color: var(--cyan); background: var(--cyan-light);
  box-shadow: 0 0 0 2px var(--cyan), 0 0 16px var(--cyan-glow);
}
.paket-card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.paket-card.active .paket-card-icon { background: var(--cyan); color: #090d16; }
.paket-card-info {
  display: flex; flex-direction: column; text-align: left; flex: 1;
}
.paket-duration { font-size: 15px; font-weight: 800; color: #ffffff; }
.paket-bonus { font-size: 11px; font-weight: 800; color: var(--emerald-bright); margin-top: 2px; }
.paket-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
}
.paket-card.active .paket-radio { border-color: var(--cyan); }
.paket-card.active .radio-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.no-paket {
  grid-column: 1/-1; padding: 28px; text-align: center; color: var(--text-muted); font-size: 14px;
}

/* ---------- STEP 4: PAYMENT METHODS ---------- */
.pay-category-title {
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px; margin: 20px 0 12px;
}

/* QRIS Featured Card */
.method-card {
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer;
  transition: all .25s ease; position: relative;
}
.method-card:hover {
  border-color: var(--cyan); background: rgba(0, 242, 254, 0.06);
}
.method-card.active {
  border-color: var(--cyan); background: var(--cyan-light);
  box-shadow: 0 0 0 2px var(--cyan), 0 0 16px var(--cyan-glow);
}
.featured-card-badge {
  position: absolute; right: 16px; top: 14px;
  background: linear-gradient(135deg, var(--emerald), #059669); color: #ffffff;
  font-size: 10px; font-weight: 900; padding: 3px 10px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}
.method-card-header-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.qris-brand-logo-txt {
  font-family: var(--font-h); font-size: 22px; font-weight: 900;
  display: flex; align-items: center; gap: 3px;
}
.qr-red { color: #f43f5e; }
.is-blue { color: var(--cyan); }
.instant-chip {
  font-size: 10px; font-weight: 800;
  background: var(--emerald-light); color: var(--emerald-bright);
  padding: 3px 8px; border-radius: 6px; margin-left: 8px;
  border: 1px solid rgba(16,185,129,0.3);
}
.method-radio-box {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
}
.method-card.active .method-radio-box { border-color: var(--cyan); }
.method-card.active .radio-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.qris-headline { font-size: 15px; font-weight: 800; color: #ffffff; margin-bottom: 4px; }
.qris-sub-desc { font-size: 12px; color: var(--text-muted); margin: 0; }

.retail-cards-grid, .va-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.retail-name-label { font-size: 13px; font-weight: 800; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.method-sub-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ---------- ORDER SUMMARY SIDEBAR ---------- */
.summary-card { padding: 28px; }
.summary-card-title {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}
.summary-card-title h3 { font-size: 18px; color: #ffffff; }
.summary-field-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 13px;
}
.summary-field-row .f-label { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.summary-field-row .f-value { font-weight: 800; color: #ffffff; max-width: 60%; text-align: right; word-break: break-all; }
.code-box { font-family: monospace; font-size: 12px; color: var(--cyan); }
.summary-split-line { border-top: 1px dashed rgba(255, 255, 255, 0.1); margin: 12px 0; }
.chip-promo {
  background: var(--emerald-light); color: var(--emerald-bright);
  font-size: 11px; padding: 2px 8px; border-radius: 6px; font-weight: 800;
}
.summary-total-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 6px;
}
.summary-total-price-row .t-label { font-size: 15px; font-weight: 800; color: #ffffff; }
.summary-total-price-row .t-price {
  font-family: var(--font-h); font-size: 26px; font-weight: 900; color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
}
.summary-guarantee-note {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 10px; padding: 12px 14px; margin-top: 16px;
  font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 10px;
}

/* Client Downloads Section */
.client-downloads-section {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.downloads-section-title {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.download-client-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.download-client-card:last-child { border-bottom: none; }
.dl-client-info strong { display: block; font-size: 13px; color: #ffffff; }
.dl-client-info span { font-size: 11px; color: var(--text-muted); }
.btn-download-pill {
  background: var(--cyan-light); color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 16px;
  display: inline-flex; align-items: center; gap: 6px; transition: all .2s;
}
.btn-download-pill:hover {
  background: var(--cyan); color: #090d16; box-shadow: 0 0 12px var(--cyan-glow);
}

/* ---------- INVOICE SECTION ---------- */
.invoice-container { margin-top: 24px; }
.demo-banner-box {
  background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px; padding: 14px 20px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--gold); font-size: 14px; font-weight: 700;
}
.btn-demo-sim {
  background: var(--gold); color: #090d16; border: none;
  font-size: 12px; font-weight: 900; padding: 8px 16px; border-radius: 8px;
}
.invoice-header-box {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 24px;
}
.invoice-status-chip {
  display: inline-block; background: var(--gold-light); color: var(--gold);
  border: 1px solid rgba(251,191,36,0.3);
  font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 16px; margin-bottom: 8px;
}
.invoice-code { color: var(--cyan); }
.invoice-top-buttons { display: flex; gap: 10px; }

.invoice-timer-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 20px; margin-bottom: 28px;
}
.timer-card-content {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; font-size: 14px; font-weight: 700; color: #e2e8f0;
}
.countdown-clock-digits {
  font-family: var(--font-h); font-size: 28px; font-weight: 900; color: var(--danger);
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}
.timer-progress-track {
  height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden;
}
.timer-progress-fill-bar {
  height: 100%; background: linear-gradient(90deg, var(--danger), var(--gold)); transition: width .5s linear;
}

.invoice-content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.payment-qr-area {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 28px; text-align: center;
}
.qr-canvas-box {
  background: #ffffff; border: 3px solid var(--cyan);
  border-radius: 16px; padding: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; min-height: 220px; margin-bottom: 16px;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.qr-note-instruction { font-size: 12px; color: var(--text-muted); margin: 0; }
.invoice-summary-area h4 { font-size: 18px; color: #ffffff; margin-bottom: 16px; }
.invoice-detail-table { display: flex; flex-direction: column; gap: 12px; }
.inv-table-row {
  display: flex; justify-content: space-between; font-size: 13px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.inv-total-highlight {
  padding-top: 10px; border-bottom: none;
}
.inv-final-amount {
  font-family: var(--font-h); font-size: 24px; font-weight: 900; color: var(--gold);
}
.poller-status-box {
  margin-top: 24px; background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--glass-border);
}
.poller-spinner-row {
  display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted);
}
.poller-circle-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--glass-border); border-top-color: var(--cyan);
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- SUCCESS RECEIPT SECTION ---------- */
.success-container {
  max-width: 640px; margin: 36px auto; text-align: center;
}
.success-check-badge {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--emerald-light); color: var(--emerald-bright);
  font-size: 44px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.success-subtext-msg { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.member-key-showcase {
  background: rgba(16, 185, 129, 0.1); border: 2px dashed rgba(16, 185, 129, 0.5);
  border-radius: 16px; padding: 22px; margin-bottom: 28px;
}
.key-intro-lbl { font-size: 12px; font-weight: 800; color: var(--emerald-bright); text-transform: uppercase; letter-spacing: 1px; }
.key-box-inner {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px;
}
.key-box-inner h3 {
  font-family: monospace; font-size: 26px; font-weight: 900; color: #ffffff; letter-spacing: 2px;
}
.btn-copy-member-key {
  background: var(--emerald); color: #ffffff; border: none;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.success-table-breakdown {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  background: rgba(255, 255, 255, 0.04); border-radius: 14px; padding: 20px; margin-bottom: 28px;
  border: 1px solid var(--glass-border);
}
.rc-item-row {
  display: flex; justify-content: space-between; font-size: 13px;
}
.success-buttons-grid { display: flex; flex-direction: column; gap: 12px; }

/* ---------- MODALS ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex !important; animation: modalFadeIn .25s ease-out; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-window, .modal-card {
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  background: rgba(11, 18, 36, 0.95); backdrop-filter: blur(24px);
  color: var(--card-text); border-radius: 24px;
  padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 40px var(--cyan-glow);
  border: 1px solid var(--glass-border-hover);
}
.modal-window-wide, .modal-wide { max-width: 820px; }
.modal-compact-card, .modal-compact { max-width: 440px; }

.modal-header-bar, .modal-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 20px;
}
.modal-header-title, .modal-title-with-icon {
  display: flex; align-items: center; gap: 14px;
}
.modal-header-title h3, .modal-title-with-icon h3 { font-size: 18px; margin: 0; color: #ffffff; }
.modal-header-title p, .modal-title-with-icon p { font-size: 12px; color: var(--text-muted); margin: 0; }
.modal-close-icon-btn, .modal-btn-close {
  background: rgba(255, 255, 255, 0.08); border: none; width: 36px; height: 36px;
  border-radius: 50%; color: var(--text-muted); font-size: 18px;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close-icon-btn:hover, .modal-btn-close:hover {
  background: var(--danger-light); color: var(--danger);
}
.modal-window-footer, .modal-card-footer {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px;
}

/* History Modal Navigation Tabs */
.modal-navigation-tabs, .modal-tab-bar {
  display: flex; gap: 10px; border-bottom: 2px solid rgba(255, 255, 255, 0.08); margin-bottom: 20px;
}
.tab-button, .tab-item {
  background: transparent; border: none;
  font-size: 14px; font-weight: 800; color: var(--text-muted);
  padding: 12px 18px; border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.tab-button.active, .tab-item.active {
  color: var(--cyan); border-bottom-color: var(--cyan);
}
.tab-count, .tab-badge-counter {
  background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 11px; padding: 2px 8px; border-radius: 12px;
}

.history-controls-row {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px;
}
.history-search-field {
  position: relative; display: flex; align-items: center;
}
.history-search-field i {
  position: absolute; left: 16px; color: var(--text-muted);
}
.history-search-field input {
  width: 100%; height: 44px; padding: 0 16px 0 44px;
  border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05); color: #ffffff; font-size: 13px; outline: none;
}
.history-search-field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
.history-status-chips { display: flex; gap: 8px; }
.filter-chip {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 18px;
  padding: 6px 14px; font-size: 12px; font-weight: 800; color: var(--text-muted); transition: all .2s;
}
.filter-chip.active { background: var(--cyan); color: #090d16; border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan-glow); }
.filter-chip.chip-paid.active { background: var(--emerald); color: #ffffff; border-color: var(--emerald); }
.filter-chip.chip-pending.active { background: var(--gold); color: #090d16; border-color: var(--gold); }

/* History Card List */
.history-scrollable-list {
  display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; padding-right: 4px;
}
.history-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 18px; transition: all .2s ease;
}
.history-card:hover {
  background: rgba(255, 255, 255, 0.07); border-color: rgba(0, 242, 254, 0.3);
}
.history-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); margin-bottom: 12px;
}
.history-ref { font-family: monospace; font-size: 14px; font-weight: 800; color: var(--cyan); }
.history-status-tag {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px;
}
.history-status-tag.status-paid { background: var(--emerald-light); color: var(--emerald-bright); border: 1px solid rgba(16,185,129,0.3); }
.history-status-tag.status-pending { background: var(--gold-light); color: var(--gold); border: 1px solid rgba(251,191,36,0.3); }
.history-status-tag.status-expired { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(244,63,94,0.3); }

.history-grid-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px;
}
.history-info-item { display: flex; flex-direction: column; }
.info-label { color: var(--text-muted); font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.info-val { color: #ffffff; font-weight: 700; }
.code-text { font-family: monospace; color: var(--cyan); }
.text-accent { color: var(--gold); }
.text-bold { font-weight: 900; }

/* Edit Form Grid */
.form-grid-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* Master Dashboard Header Bar */
.master-status-header {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 16px;
}
.master-badge-active { font-size: 13px; font-weight: 800; color: var(--emerald-bright); display: flex; align-items: center; gap: 8px; }
.btn-master-logout {
  background: var(--danger-light); color: var(--danger); border: 1px solid rgba(244,63,94,0.3);
  padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 800;
}

/* ---------- ITEMKU FOOTER ---------- */
.itemku-footer-wrapper {
  background: var(--glass-header-bg);
  border-top: 1px solid var(--glass-border);
  padding: 28px 0; margin-top: 80px; text-align: center;
}
.footer-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  font-size: 13px; color: var(--text-muted);
}

/* ---------- UTILITY CLASSES ---------- */
.text-gold { color: var(--gold); }
.text-blue { color: var(--cyan); }
.text-green { color: var(--emerald-bright); }
.text-sm { font-size: 12px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 28px; }
.hidden { display: none !important; }

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .checkout-layout-grid { grid-template-columns: 1fr; }
  .checkout-summary-panel { position: static; }
}
@media (max-width: 860px) {
  .itemku-cards-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 28px; }
  .invoice-content-grid { grid-template-columns: 1fr; }
  .itemku-trust-badges { flex-direction: column; align-items: flex-start; }
  .history-grid-info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-bar-inner { flex-wrap: wrap; }
  .itemku-search-container { order: 3; max-width: 100%; width: 100%; }
  .form-grid-columns { grid-template-columns: 1fr; }
  .step-wizard-container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .step-wizard-line { display: none; }
  .btn-itemku-history { padding: 8px 14px; font-size: 12px; }
}
