/* =========================================================
   PUHENG GAMING SHOP - CYBER ESPORTS DESIGN SYSTEM
   ========================================================= */

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-surface: #0e121d;
  --bg-card: #141b2c;
  --bg-card-hover: #1b243b;
  --bg-input: #0b0f19;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 245, 212, 0.6);
  
  /* Neon Accents */
  --cyan: #00f5d4;
  --cyan-glow: 0 0 20px rgba(0, 245, 212, 0.4);
  --orange: #ff5400;
  --orange-glow: 0 0 20px rgba(255, 84, 0, 0.4);
  --purple: #8338ec;
  --purple-glow: 0 0 20px rgba(131, 56, 236, 0.4);
  --gold: #ffbe0b;
  --gold-glow: 0 0 20px rgba(255, 190, 11, 0.4);
  --green: #10b981;
  --green-glow: 0 0 20px rgba(16, 185, 129, 0.4);
  --red: #ef4444;
  --pink: #fa0758;
  --dark-blue: #2c2546;
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Shadows & Glassmorphism */
  --glass-bg: rgba(20, 27, 44, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --box-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-base: 'Outfit', 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-gaming: 'Rajdhani', 'Outfit', sans-serif;

  color-scheme: dark;
}

select {
  color-scheme: dark;
  background-color: #1a1e2e;
  color: #ffffff;
}

select option {
  background-color: #1a1e2e;
  color: #ffffff;
  padding: 8px 12px;
}

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

/* Root Scrolling Fix & Custom Scrollbars */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  overflow-y: auto;
  position: relative;
  min-height: 100%;
}

body.modal-open {
  overflow: hidden !important;
}

section[id] {
  scroll-margin-top: 90px;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 212, 0.3);
  border-radius: 6px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* Ambient Background Lights */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.glow-cyan {
  width: 450px;
  height: 450px;
  background: var(--cyan);
  top: -100px;
  right: -50px;
}
.glow-orange {
  width: 400px;
  height: 400px;
  background: var(--orange);
  bottom: 15%;
  left: -100px;
}
.glow-purple {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: 45%;
  right: -100px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-cyan { color: var(--cyan) !important; }
.text-orange { color: var(--orange) !important; }
.text-purple { color: var(--purple) !important; }
.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #ff5400 0%, #ff8c00 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 84, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 84, 0, 0.5);
}
.btn-secondary {
  background: linear-gradient(135deg, #00f5d4 0%, #00b4d8 100%);
  color: #080b11;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.35);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}
.btn-success:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.btn-telegram-action {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(34, 158, 217, 0.35);
}
.btn-telegram-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 158, 217, 0.5);
}
.btn-edit-account {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-edit-account:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}

.pill-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--cyan);
}

/* Real Country Flag Image */
.flag-icon-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-flag-img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  vertical-align: middle;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Language Dropdown Container */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  margin-left: 2px;
  opacity: 0.75;
}

.lang-dropdown-wrapper.active .dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #121828;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 245, 255, 0.15);
  padding: 6px;
  min-width: 185px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 245, 255, 0.3) transparent;
}

.lang-dropdown-menu.show {
  display: flex;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary, #e2e8f0);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.2);
  color: var(--cyan, #00f5ff);
}

.lang-option-btn.active {
  background: rgba(0, 245, 255, 0.12);
  border-color: rgba(0, 245, 255, 0.4);
  color: var(--cyan, #00f5ff);
  font-weight: 600;
}

.lang-option-text {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.lang-name {
  font-size: 0.84rem;
}

.lang-code {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.lang-option-btn.active .lang-code {
  background: rgba(0, 245, 255, 0.2);
  color: var(--cyan, #00f5ff);
}

.lang-option-btn .check-mark {
  font-size: 0.85rem;
  color: var(--cyan, #00f5ff);
  font-weight: 700;
  margin-left: auto;
}

/* Mobile Drawer Language Selector */
.drawer-lang-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.drawer-lang-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.drawer-lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary, #e2e8f0);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  justify-content: flex-start;
}

.drawer-lang-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.3);
  color: #fff;
}

.drawer-lang-item.active {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--cyan, #00f5ff);
  color: var(--cyan, #00f5ff);
}


/* Announcement Top Bar */
.top-announcement {
  background: linear-gradient(90deg, #121828 0%, #161e32 50%, #121828 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0;
  font-size: 0.82rem;
  position: relative;
  z-index: 100;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-text {
  display: inline-block;
  color: var(--text-secondary);
  animation: tickerAnim 25s linear infinite;
}
@keyframes tickerAnim {
  0% { transform: translateX(50%); }
  100% { transform: translateX(-100%); }
}
.announcement-actions {
  display: flex;
  gap: 8px;
}

/* Main Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(14, 18, 29, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 18, 29, 0.6);
  padding: 2px;
}
.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.35));
}
.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid var(--cyan);
  box-shadow: inset 0 0 8px var(--cyan), 0 0 10px var(--cyan);
  pointer-events: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-gaming);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}
.brand-title .accent-text {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
  margin-left: 4px;
}
.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--cyan);
}
.nav-game-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover .nav-game-img,
.nav-link.active .nav-game-img {
  transform: scale(1.1);
  border-color: var(--cyan);
}
.drawer-game-img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-btn-game-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.badge-new {
  background: linear-gradient(135deg, var(--purple), #ec4899);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}
.nav-action-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.05);
}
.order-count-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.admin-btn {
  padding: 0 12px;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.7);
}
.mobile-drawer.open {
  right: 0;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.close-drawer-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-controls {
  margin-top: auto;
  padding-top: 20px;
}

/* Hero Section */
.hero-section {
  padding: 50px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 190, 11, 0.1);
  border: 1px solid rgba(255, 190, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero-title span {
  display: block;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-gaming);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Hero Banner Card & Carousel */
.hero-banner-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(8, 11, 17, 0.95) 0%, rgba(8, 11, 17, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slide-overlay h3 {
  font-size: 1.25rem;
}
.slide-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  width: fit-content;
}
.tag-fire { background: var(--orange); color: #fff; }
.tag-cyan { background: var(--cyan); color: #080b11; }
.tag-purple { background: var(--purple); color: #fff; }
.tag-gold { background: var(--gold); color: #080b11; }

.slider-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.2s;
}
.dot.active {
  background: var(--cyan);
  width: 20px;
  border-radius: 10px;
}

/* Section Header Shared */
.section-header {
  margin-bottom: 36px;
}
.section-header.text-center {
  text-align: center;
}
.sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Game Selection Tabs */
.game-select-section {
  padding: 20px 0 10px;
}
.game-tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.game-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.game-tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.game-tab-btn.active {
  background: linear-gradient(145deg, #182239 0%, #111726 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}
.tab-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
  flex-shrink: 0;
}
.tab-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.tab-info {
  display: flex;
  flex-direction: column;
}
.tab-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.tab-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tab-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(255, 84, 0, 0.2);
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
}
.tab-badge.special {
  background: rgba(131, 56, 236, 0.2);
  color: var(--purple);
}

/* ==================== 7-GAME ESPORTS CATALOG GRID ==================== */
.game-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .game-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .game-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.game-card {
  position: relative;
  background: #090d16;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  aspect-ratio: 213 / 121;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  user-select: none;
  width: 100%;
}

/* Card Shimmer Beam on Hover */
.game-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  z-index: 3;
}

.game-card:hover::after {
  left: 150%;
  opacity: 1;
  transition: left 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 30px var(--pink, #fa0758) !important;
  border-color: var(--pink, #fa0758) !important;
}

.game-card:hover .game-card-img {
  filter: none !important;
  transform: scale(1.1) !important;
}

/* Title Overlay strictly matching puhenggaming.page.gd */
.game-card .product-title {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 15px 15px 15px !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%) !important;
  opacity: 1 !important;
  transform: none !important;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  pointer-events: none;
}

.game-card .product-title p {
  color: #fff !important;
  font-size: 1.3rem;
  font-family: "Protest Guerrilla", "Dangrek", sans-serif;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  user-select: none;
}

/* "វាដូរទាំងអក្សរ" - Text changes to glowing pink on hover! */
.game-card:hover .product-title p {
  color: var(--pink, #fa0758) !important;
  text-shadow: 0 0 10px var(--pink, #fa0758);
}

/* Active Selected Card */
.game-card.active {
  border-color: var(--pink, #fa0758) !important;
  box-shadow: 0 0 22px rgba(250, 7, 88, 0.55), 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.game-card.active .product-title p {
  color: #fff !important;
  text-shadow: 0 0 8px var(--pink, #fa0758);
}

.game-card-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.game-card.active .game-card-img {
  transform: scale(1.03);
}

.card-glow-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.badge-cyan { border-color: rgba(0, 245, 212, 0.5); color: var(--cyan); }
.badge-fire { border-color: rgba(255, 84, 0, 0.5); color: #ff7733; }
.badge-gold { border-color: rgba(255, 190, 11, 0.5); color: var(--gold); }
.badge-action { border-color: rgba(16, 185, 129, 0.5); color: #34d399; }
.badge-red { border-color: rgba(239, 68, 68, 0.5); color: #f87171; }
.badge-purple { border-color: rgba(168, 85, 247, 0.5); color: #c084fc; }

.game-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: #000;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.8);
  animation: popIn 0.2s ease forwards;
}

.game-card.active .game-card-check {
  display: flex;
}

@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Card 8: Special Accounts Market Card */
.game-card-special {
  text-decoration: none;
  background: linear-gradient(145deg, #18142c 0%, #0d1220 100%);
  border-color: rgba(131, 56, 236, 0.4);
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.game-card-special:hover {
  border-color: #a855f7;
  box-shadow: 0 12px 28px -6px rgba(168, 85, 247, 0.45);
}

.game-card-special-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  width: 100%;
}

.special-icon-pulse {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.special-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.special-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
}

.special-action-btn {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--purple), #ec4899);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.server-select {
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #fff;
  padding: 0 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s;
}

.server-select:focus {
  border-color: var(--cyan);
}

/* Top-Up Workbench Layout (Left: 4 Steps, Right: Sticky Summary) */
.topup-workbench {
  padding: 24px 0 60px;
  animation: workbenchFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes workbenchFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Workbench Top Navigation & Header Bar */
.workbench-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.92) 0%, rgba(10, 15, 29, 0.96) 100%);
  border: 1px solid rgba(0, 245, 212, 0.22);
  border-radius: 16px;
  padding: 14px 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wb-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.btn-back-home i {
  font-size: 0.95rem;
  transition: transform 0.25s;
}

.btn-back-home:hover {
  background: linear-gradient(135deg, var(--cyan) 0%, #06b6d4 100%);
  color: #080b11;
  border-color: transparent;
  transform: translateX(-4px);
  box-shadow: 0 4px 18px rgba(0, 245, 212, 0.4);
}

.btn-back-home:hover i {
  transform: translateX(-3px);
}

.wb-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.wb-crumb-link {
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
}

.wb-crumb-link:hover {
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.08);
}

.wb-crumb-divider {
  font-size: 0.65rem;
  color: #64748b;
}

.wb-crumb-current {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wb-bar-right {
  display: flex;
  align-items: center;
}

.wb-game-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
}

.wb-game-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wb-game-info {
  display: flex;
  flex-direction: column;
}

.wb-game-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.wb-game-status {
  font-size: 0.72rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.wb-game-status i {
  font-size: 0.55rem;
  animation: statusPulse 1.8s infinite;
}

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

@media (max-width: 768px) {
  .workbench-top-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 14px;
  }
  .wb-bar-left {
    justify-content: space-between;
  }
  .btn-back-home {
    flex: 1;
    justify-content: center;
  }
  .wb-bar-right {
    width: 100%;
  }
  .wb-game-badge {
    width: 100%;
    justify-content: flex-start;
  }
}
.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: flex-start;
}

/* Step Cards */
.form-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--box-shadow-card);
  transition: border-color 0.2s;
}
.form-step-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.step-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan) 0%, #3b82f6 100%);
  color: #080b11;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.35);
}
.step-title-box h3 {
  font-size: 1.15rem;
}
.step-title-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.help-id-btn {
  margin-left: auto;
  background: none;
  border: 1px dashed var(--border-subtle);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.help-id-btn:hover {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--cyan);
}

/* Inputs */
.input-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.input-field-wrap label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.input-field-wrap input,
.input-field-wrap select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  height: 48px;
  padding: 0 16px;
  color: #fff;
  font-family: var(--font-base);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  width: 100%;
}
.input-field-wrap input:focus,
.input-field-wrap select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}
.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.input-with-action {
  display: flex;
  gap: 8px;
}
.input-with-action input {
  flex: 1;
}
.btn-paste {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-paste:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #38bdf8;
  transform: translateY(-1px);
}
.btn-paste:active {
  transform: translateY(0);
}
.btn-verify {
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 16px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-verify:hover {
  background: var(--cyan);
  color: #080b11;
}
@media (max-width: 520px) {
  .input-with-action {
    flex-wrap: wrap;
  }
  .input-with-action input {
    width: 100%;
    flex: 100%;
  }
  .input-with-action .btn-paste,
  .input-with-action .btn-verify {
    flex: 1;
    justify-content: center;
    height: 42px;
  }
}
.dual-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.verify-action-row {
  margin-top: 6px;
  margin-bottom: 8px;
}
.verify-action-row .btn-verify {
  height: 42px;
}

.verified-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  animation: fadeIn 0.3s ease;
}
.verified-icon {
  font-size: 1.6rem;
  color: var(--green);
}
.v-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.v-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  word-break: break-word;
}
.btn-edit-nick {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-edit-nick:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
}
.btn-save-nick:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* Packages Grid (Step 2) */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.package-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}
.package-card.selected {
  background: linear-gradient(145deg, #19273c 0%, #121b2a 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.25);
}
.pkg-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-popular { background: var(--orange); color: #fff; }
.badge-best { background: var(--green); color: #fff; }
.badge-hot { background: var(--purple); color: #fff; }

.pkg-icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.pkg-diamond-icon {
  font-size: 1.4rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.5));
}
.pkg-diamond-img, img.pkg-diamond-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 245, 212, 0.4));
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.pkg-amount {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.pkg-bonus {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
}
.pkg-price-row {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}
.pkg-price-usd {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.pkg-price-khr {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pkg-check {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: 0.2s;
}
.package-card.selected .pkg-check {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #080b11;
}

/* Payment Methods Grid (Step 3) */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.payment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.payment-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}
.payment-card.active {
  border-color: var(--cyan);
  background: rgba(0, 245, 212, 0.05);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.15);
}
.payment-badge-rec {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--cyan);
  color: #080b11;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 10px;
}
.pay-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.khqr-logo-box {
  background: #E1251B;
  color: #fff;
  letter-spacing: -0.5px;
}
.aba-logo-box {
  background: #00547F;
  color: #00bcd4;
  letter-spacing: 0.5px;
}
.wing-logo-box {
  background: #7FB000;
  color: #fff;
}
.acleda-logo-box {
  background: #0B2545;
  color: #FFB703;
  font-size: 0.65rem;
}
.pay-info h4 {
  font-size: 0.95rem;
}
.pay-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.payment-card .check-circle {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
}
.payment-card.active .check-circle {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #080b11;
}

/* Contact Step (Step 4) */
.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Sidebar Order Summary */
.workbench-summary {
  position: relative;
}
.sticky-sidebar {
  position: sticky;
  top: 94px;
}
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--box-shadow-card);
}
.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.summary-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 245, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.summary-header h3 {
  font-size: 1.15rem;
}
.summary-game-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}
.sum-game-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}
.sum-game-type {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.sum-game-details h4 {
  font-size: 0.95rem;
  color: #fff;
}
.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 16px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.sum-label {
  color: var(--text-secondary);
}
.sum-val {
  font-weight: 600;
  color: #fff;
}
.sum-val.highlight {
  color: var(--cyan);
}
.summary-total-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
}
.total-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.total-main-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.total-khr {
  font-family: var(--font-gaming);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}
.total-usd {
  font-family: var(--font-gaming);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.btn-checkout {
  height: 52px;
  font-size: 1rem;
}
.glow-btn {
  position: relative;
  overflow: hidden;
}
.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 30%
  );
  transform: rotate(30deg);
  animation: shineGlow 4s infinite;
}
@keyframes shineGlow {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.summary-guarantee {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
}
.g-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Game Accounts Marketplace Section */
.accounts-section {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 18, 29, 0.6) 100%);
}
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.acc-filters {
  display: flex;
  gap: 8px;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  color: #fff;
  background: rgba(131, 56, 236, 0.2);
  border-color: var(--purple);
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--box-shadow-card);
  display: flex;
  flex-direction: column;
}
.account-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(131, 56, 236, 0.25);
}
.acc-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.acc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.account-card:hover .acc-thumb {
  transform: scale(1.05);
}
.acc-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.acc-rank-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 18, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 190, 11, 0.4);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.acc-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.acc-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.acc-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.spec-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}
.acc-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.acc-price-block {
  display: flex;
  flex-direction: column;
}
.acc-usd {
  font-family: var(--font-gaming);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cyan);
}
.acc-khr {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.acc-btn-group {
  display: flex;
  gap: 8px;
}
.btn-quick-view {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.btn-quick-view:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-buy-acc {
  background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.btn-buy-acc:hover {
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* Why Us Section */
.why-us-section {
  padding: 70px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.glow-cyan-box { background: rgba(0, 245, 212, 0.1); color: var(--cyan); box-shadow: 0 0 20px rgba(0, 245, 212, 0.2); }
.glow-purple-box { background: rgba(131, 56, 236, 0.1); color: var(--purple); box-shadow: 0 0 20px rgba(131, 56, 236, 0.2); }
.glow-orange-box { background: rgba(255, 84, 0, 0.1); color: var(--orange); box-shadow: 0 0 20px rgba(255, 84, 0, 0.2); }
.glow-gold-box { background: rgba(255, 190, 11, 0.1); color: var(--gold); box-shadow: 0 0 20px rgba(255, 190, 11, 0.2); }

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Reviews Section */
.reviews-section {
  padding: 50px 0 70px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.5;
  font-style: italic;
}
.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
}
.review-game {
  font-size: 0.75rem;
  color: var(--cyan);
}

/* FAQ Accordion */
.faq-section {
  padding: 50px 0 80px;
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-arrow {
  color: var(--cyan);
  transition: transform 0.3s;
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-surface);
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--border-subtle);
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Footer */
.main-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col {
  min-width: 0;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo .logo-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.footer-logo .brand-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo .brand-text {
  flex-shrink: 0;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s;
}
.social-icon-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.footer-title {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #fff;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}
.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-contact-list i {
  font-size: 1.1rem;
  margin-top: 2px;
}
.footer-contact-list span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-contact-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.footer-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pay-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.pay-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.pay-tag-img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
}
.pay-tag i {
  font-size: 0.95rem;
}
.pay-tag.khqr { background: #E1251B; color: #fff; }
.pay-tag.aba { background: #00547F; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.pay-tag.bakong { background: #E31837; color: #fff; }
.pay-tag.wing { background: #7FB000; color: #fff; }
.pay-tag.acleda { background: #0B2545; color: #FFB703; border: 1px solid rgba(255, 183, 3, 0.25); }
.pay-tag.paypal { background: #0070BA; color: #fff; }
.pay-tag.visa { background: #1A1F71; color: #fff; }
.pay-tag.mastercard { background: linear-gradient(135deg, #EB001B, #F79E1B); color: #fff; }
.pay-tag.alipay { background: #1677FF; color: #fff; }
.pay-tag.wechat { background: #07C160; color: #fff; }
.pay-tag.unionpay { background: #D81E06; color: #fff; }
.pay-tag.momo { background: #A50064; color: #fff; }
.pay-tag.zalopay { background: #0068FF; color: #fff; }
.pay-tag.vietqr { background: #E31E24; color: #fff; }
.pay-tag.gcash { background: #007DFE; color: #fff; }
.pay-tag.maya { background: #22C55E; color: #fff; }
.pay-tag.grabpay { background: #00B14F; color: #fff; }
.pay-tag.qris { background: #ED1C24; color: #fff; }
.pay-tag.dana { background: #118EEA; color: #fff; }
.pay-tag.gopay { background: #00AED6; color: #fff; }
.pay-tag.ovo { background: #4C2A86; color: #fff; }
.pay-tag.amex { background: #0079C1; color: #fff; }
.pay-tag.applepay { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.pay-tag.gpay { background: #fff; color: #3C4043; }
.pay-tag.usdt { background: #26A17B; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 10px;
}
.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* Floating Telegram Action Hub */
.floating-tg-hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 99;
}
.floating-tg-group-btn {
  background: linear-gradient(135deg, #8338ec 0%, #5b21b6 100%);
  color: #fff;
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 6px 20px rgba(131, 56, 236, 0.45);
  transition: transform 0.25s ease;
  position: relative;
}
.floating-tg-group-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(131, 56, 236, 0.7);
  color: #fff;
}
.pulse-ring-purple {
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  border: 2px solid #8338ec;
  animation: ringPulse 2.5s infinite;
  pointer-events: none;
}
.floating-tg-btn {
  position: relative;
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: #fff;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: 0 8px 25px rgba(34, 158, 217, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}
.floating-tg-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.75);
  color: #fff;
}
.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50% !important;
  border: 2px solid #229ED9;
  animation: ringPulse 2s infinite;
  pointer-events: none;
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Telegram Group Links & Badges */
.nav-btn-group-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(131, 56, 236, 0.25) 0%, rgba(34, 158, 217, 0.25) 100%);
  border: 1px solid rgba(131, 56, 236, 0.6);
  color: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(131, 56, 236, 0.25);
}
.nav-btn-group-tg i {
  color: var(--cyan);
  font-size: 1.1rem;
}
.nav-btn-group-tg:hover {
  background: linear-gradient(135deg, #8338ec 0%, #0088cc 100%);
  box-shadow: 0 0 20px rgba(131, 56, 236, 0.7);
  transform: translateY(-2px);
  color: #fff;
}
.btn-telegram-group {
  background: linear-gradient(135deg, #8338ec 0%, #0088cc 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(131, 56, 236, 0.4);
}
.btn-telegram-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(131, 56, 236, 0.7);
  color: #fff;
}
.drawer-group-highlight {
  background: linear-gradient(135deg, rgba(131, 56, 236, 0.25) 0%, rgba(0, 245, 212, 0.15) 100%) !important;
  border: 1px solid rgba(131, 56, 236, 0.5) !important;
}
.tg-group-link {
  color: var(--cyan) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.tg-group-link:hover {
  color: #fff !important;
  text-decoration: underline;
}
.tg-group-social-btn {
  background: rgba(131, 56, 236, 0.2) !important;
  color: #c084fc !important;
  border-color: rgba(131, 56, 236, 0.4) !important;
}
.tg-group-social-btn:hover {
  background: var(--purple) !important;
  color: #fff !important;
  border-color: var(--purple) !important;
}

/* ================= MODALS STYLES ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.modal-body {
  padding: 24px;
}

/* Checkout Modal Specifics */
.checkout-modal-card {
  max-width: 780px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}

/* Authentic KHQR Card Frame */
.khqr-display-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.khqr-card {
  background: #ffffff;
  color: #111;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
}
.khqr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #E1251B;
  margin-bottom: 10px;
}
.khqr-red-label {
  background: #E1251B;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.bakong-symbol {
  font-weight: 800;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 1px;
}
.khqr-merchant {
  margin-bottom: 10px;
}
.khqr-merchant .m-label {
  font-size: 0.65rem;
  color: #777;
  text-transform: uppercase;
  display: block;
}
.khqr-merchant h4 {
  color: #111;
  font-size: 0.95rem;
  font-weight: 800;
}
.qr-canvas-box {
  width: 220px;
  height: 220px;
  margin: 0 auto 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  padding: 8px;
  border-radius: 8px;
}
.qr-canvas-box svg, .qr-canvas-box canvas {
  width: 100%;
  height: 100%;
}
.khqr-amount-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.khqr-amount-box .amt-khr {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 700;
  color: #E1251B;
}
.khqr-amount-box .amt-usd {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.payment-timer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold);
  background: rgba(255, 190, 11, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
}
.bank-account-fallback {
  margin-top: 14px;
  width: 100%;
  max-width: 320px;
}
.bank-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.btn-copy {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-size: 0.9rem;
}

.order-recap-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.order-recap-box h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.recap-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.recap-row span {
  color: var(--text-muted);
}
.slip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  margin-bottom: 12px;
}
.slip-label:hover {
  border-color: var(--cyan);
  background: rgba(0, 245, 212, 0.05);
}
.slip-label i {
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 6px;
}
.slip-label span {
  font-size: 0.85rem;
  font-weight: 600;
}
.slip-label small {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.slip-filename {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-bottom: 10px;
  text-align: center;
}

/* Account Preview Modal */
.account-modal-card {
  max-width: 720px;
}
.acc-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.acc-modal-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}
.acc-modal-price-box {
  background: var(--bg-surface);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.acc-price-khr {
  font-family: var(--font-gaming);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.acc-price-usd {
  font-family: var(--font-gaming);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
}
.acc-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.acc-spec-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}
.acc-spec-list i {
  color: var(--cyan);
}

/* ID Guide Modal */
.guide-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.guide-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.guide-tab.active {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(0, 245, 212, 0.1);
}
.guide-content h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.guide-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Order History Modal */
.order-search-box {
  margin-bottom: 16px;
}
.order-search-box input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  height: 44px;
  padding: 0 14px;
  color: #fff;
  font-size: 0.9rem;
}
.orders-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
}
.history-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h-status-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
}
.status-completed { background: rgba(16, 185, 129, 0.2); color: var(--green); }
.status-pending { background: rgba(255, 190, 11, 0.2); color: var(--gold); }

/* Admin Modal */
.admin-modal-card {
  max-width: 850px;
}
.admin-login-box {
  text-align: center;
  padding: 30px 20px;
}
.admin-lock-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.pin-input-wrap {
  display: flex;
  gap: 8px;
  max-width: 300px;
  margin: 20px auto 0;
}
.pin-input-wrap input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 4px;
  flex: 1;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.admin-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.2s;
}
.admin-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.table-responsive {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th, .admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.admin-table th {
  color: var(--text-muted);
  font-weight: 600;
}
.pane-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.add-account-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.form-grid-2 input, .form-grid-2 select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--cyan);
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToast 0.3s ease;
}
.toast-item.success { border-left-color: var(--green); }
.toast-item.error { border-left-color: var(--red); }
@keyframes slideToast {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Video Showcase & Media Tabs */
.btn-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 17, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}
.account-card:hover .btn-play-overlay {
  opacity: 1;
}
.btn-play-overlay i {
  font-size: 2.8rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.8));
  transition: transform 0.2s;
}
.btn-play-overlay:hover i {
  transform: scale(1.15);
  color: #fff;
}
.btn-play-overlay span {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(14, 18, 29, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.acc-card-video-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 18, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 245, 212, 0.5);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 4;
}

.media-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.media-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.media-tab-btn:hover, .media-tab-btn.active {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(0, 245, 212, 0.1);
}

.acc-modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.video-embed-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.no-video-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 10px;
  padding: 30px;
  text-align: center;
  background: var(--bg-surface);
}
.no-video-box i {
  font-size: 2.5rem;
  color: var(--orange);
}

.video-modal-card {
  max-width: 820px;
}
.video-modal-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.video-acc-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.video-acc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}
.divider-dot {
  color: var(--text-muted);
}

/* ================= AUTO PAYMENT STYLES ================= */
.auto-payment-status-bar {
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.auto-payment-status-bar.detected {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--green);
}
.radar-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  border-top-color: transparent;
  animation: spinRadar 1s linear infinite;
  flex-shrink: 0;
}
@keyframes spinRadar {
  to { transform: rotate(360deg); }
}
.auto-payment-status-bar.detected .radar-spinner {
  border-color: var(--green);
  border-top-color: transparent;
}
.status-content {
  display: flex;
  flex-direction: column;
}
.status-title {
  font-size: 0.88rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}
.status-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Mobile Banking Deep Links */
.bank-deeplinks-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-bank-deeplink {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-bank-deeplink.aba {
  border-color: rgba(0, 84, 127, 0.6);
  background: rgba(0, 84, 127, 0.2);
}
.btn-bank-deeplink.aba:hover {
  background: #00547F;
  border-color: var(--cyan);
}
.btn-bank-deeplink.bakong {
  border-color: rgba(225, 37, 27, 0.6);
  background: rgba(225, 37, 27, 0.2);
}
.btn-bank-deeplink.bakong:hover {
  background: #E1251B;
}

/* Instant Verify Box */
.instant-verify-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.instant-verify-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.checkout-divider-text {
  text-align: center;
  position: relative;
  margin: 12px 0;
}
.checkout-divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}
.checkout-divider-text span {
  position: relative;
  background: var(--bg-card);
  padding: 0 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.btn-auto-paid-test {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  font-weight: 700;
}

/* Auto Payment Live Success Modal */
.auto-success-card {
  max-width: 520px;
}
.success-burst-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, #047857 100%);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 16px;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  animation: popSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popSuccess {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.auto-success-title {
  font-size: 1.4rem;
  margin: 8px 0 4px;
}
.auto-success-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Delivery Steps Timeline */
.delivery-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  text-align: left;
}
.d-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.d-step.done {
  opacity: 1;
  color: var(--green);
}
.d-step.active {
  opacity: 1;
  color: var(--cyan);
}
.d-step.done .d-icon { color: var(--green); }
.d-step.active .d-icon { color: var(--cyan); }
.d-text {
  display: flex;
  flex-direction: column;
}
.d-text strong {
  font-size: 0.88rem;
  color: #fff;
}
.d-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* E-Receipt Box */
.e-receipt-box {
  background: #fff;
  color: #0b0e14;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.e-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.r-logo {
  font-family: var(--font-gaming);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0b0e14;
}
.r-status-badge {
  background: #10b981;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.e-receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #334155;
}
.r-row strong {
  color: #0f172a;
}

/* Official Invoice Header Banner in Modal */
.invoice-official-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 14px;
}
.inv-brand-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.inv-brand-title {
  font-family: var(--font-gaming);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.inv-brand-details {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.inv-meta-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.inv-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inv-status-tag.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.inv-status-tag.paid {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.inv-number {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-cyan);
}
.invoice-auto-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: #fde68a;
}
.invoice-auto-notice i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .workbench-grid {
    grid-template-columns: 1fr;
  }
  .sticky-sidebar {
    position: static;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .hide-mobile {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2rem;
  }
  .game-tabs-container {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .contact-inputs-grid {
    grid-template-columns: 1fr;
  }
  .acc-modal-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .floating-tg-btn .tg-label,
  .floating-tg-group-btn .tg-label {
    display: none;
  }
  .floating-tg-btn,
  .floating-tg-group-btn {
    padding: 13px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .dual-inputs {
    grid-template-columns: 1fr;
  }
}

/* ================= PRINT RECEIPT STYLES ================= */
@media print {
  body * {
    visibility: hidden !important;
  }
  #autoPaymentSuccessModal,
  #autoPaymentSuccessModal * {
    visibility: visible !important;
  }
  #autoPaymentSuccessModal {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
  }
  #autoPaymentSuccessModal .auto-success-card {
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 20px !important;
  }
  .auto-success-actions,
  .modal-close-btn,
  .delivery-steps-timeline,
  .floating-tg-btn,
  .main-header,
  .top-announcement,
  .footer,
  .success-burst-circle,
  .tag-fire {
    display: none !important;
  }
  .auto-success-title {
    color: #0b0e14 !important;
    margin-bottom: 4px !important;
  }
  .auto-success-sub {
    color: #64748b !important;
    margin-bottom: 20px !important;
  }
  .e-receipt-box {
    border: 2px solid #0b0e14 !important;
    box-shadow: none !important;
    margin: 20px auto !important;
    max-width: 480px !important;
    background: #ffffff !important;
    color: #0b0e14 !important;
  }
  .r-logo {
    color: #0b0e14 !important;
  }
  .r-row {
    color: #1e293b !important;
  }
  .r-row strong {
    color: #000000 !important;
  }
}

/* =========================================================
   Admin Dashboard & Settings Form Inputs - Light Gray Theme
   ========================================================= */
.admin-modal-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.admin-modal-card select,
.admin-modal-card textarea,
.settings-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.settings-form select,
.settings-form textarea,
.add-account-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.add-account-form select,
.add-account-form textarea,
#adminLoginScreen input {
  background-color: #e9edf5 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  color: #0f172a !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.admin-modal-card input::placeholder,
.admin-modal-card textarea::placeholder,
.settings-form input::placeholder,
.settings-form textarea::placeholder,
.add-account-form input::placeholder,
.add-account-form textarea::placeholder,
#adminLoginScreen input::placeholder {
  color: #64748b !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

.admin-modal-card input:focus,
.admin-modal-card select:focus,
.admin-modal-card textarea:focus,
.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus,
.add-account-form input:focus,
.add-account-form select:focus,
.add-account-form textarea:focus,
#adminLoginScreen input:focus {
  background-color: #ffffff !important;
  border-color: #8338ec !important;
  box-shadow: 0 0 0 3px rgba(131, 56, 236, 0.25) !important;
  color: #0f172a !important;
}

.admin-modal-card select option,
.settings-form select option,
.add-account-form select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
}

/* ==================== PAYPAL & INTERNATIONAL CHECKOUT STYLES ==================== */
.checkout-method-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  background: rgba(10, 16, 30, 0.6);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #94a3b8;
  background: transparent;
}

.checkout-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.checkout-tab-btn.active#tabCheckoutKhqr,
.checkout-tab-btn.active#tabAccKhqr {
  background: rgba(0, 245, 212, 0.16) !important;
  color: #00f5d4 !important;
  box-shadow: 0 2px 10px rgba(0, 245, 212, 0.2);
}

.checkout-tab-btn.active#tabCheckoutPaypal,
.checkout-tab-btn.active#tabAccPaypal {
  background: rgba(0, 112, 186, 0.22) !important;
  color: #38bdf8 !important;
  box-shadow: 0 2px 12px rgba(0, 112, 186, 0.35);
}

.payment-card[data-payment="paypal"] {
  border-color: rgba(0, 112, 186, 0.35);
  background: linear-gradient(145deg, rgba(11, 21, 40, 0.7), rgba(15, 27, 50, 0.7));
}

.payment-card[data-payment="paypal"]:hover {
  border-color: #0070ba;
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.3);
  transform: translateY(-2px);
}

.payment-card[data-payment="paypal"].active {
  border-color: #38bdf8 !important;
  background: linear-gradient(145deg, rgba(0, 112, 186, 0.2), rgba(11, 21, 40, 0.9)) !important;
  box-shadow: 0 0 25px rgba(0, 112, 186, 0.5) !important;
}

.paypal-display-box {
  animation: fadeIn 0.25s ease-in-out;
}

#btnDirectPaypalLink:hover,
#btnAccDirectPaypalLink:hover {
  background: linear-gradient(135deg, #0088e8, #0045c7) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.5) !important;
}

