:root {
  --bg-color: #07090e;
  --bg-elevated: #0e121b;
  --card-bg: rgba(16, 21, 31, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-glow: rgba(245, 158, 11, 0.35);
  --text-main: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --success-gradient: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --danger: #ef4444;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 12px 32px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 0% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 80px;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient dynamic glowing orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  will-change: transform, opacity;
}

.glow-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  animation: floatOrb1 12s ease-in-out infinite alternate;
}

.glow-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  bottom: 18%;
  left: -80px;
  animation: floatOrb2 14s ease-in-out infinite alternate;
}

.glow-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  top: 45%;
  right: -70px;
  animation: floatOrb3 16s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.12); }
  100% { transform: translate(20px, 60px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(-20px, -50px) scale(0.92); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(-40px, -40px) scale(1.2); opacity: 0.55; }
  100% { transform: translate(20px, 30px) scale(0.9); opacity: 0.3; }
}

body.tg-theme {
  background-color: var(--tg-theme-bg-color, var(--bg-color));
  color: var(--tg-theme-text-color, var(--text-main));
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 16px;
  position: relative;
  z-index: 1;
}

/* Luxury Store Header */
.store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(14, 18, 28, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.store-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.brand-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.6), rgba(59, 130, 246, 0.4));
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.brand-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.avatar-status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2.5px solid #07090e;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title-row h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.vip-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
}

.brand-text p {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
  position: relative;
}

.live-dot::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: radarWave 2s infinite ease-out;
}

@keyframes radarWave {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.user-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(12px);
}

.user-chip #userNameDisplay {
  color: var(--gold);
  font-weight: 700;
}

/* Trust Features Strip */
.trust-banner {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(14, 18, 28, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.trust-banner::-webkit-scrollbar {
  display: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-item span.icon {
  font-size: 13px;
}

/* Navigation Segmented Tabs */
.nav-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(14, 18, 28, 0.85);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-family);
}

.nav-tab.active {
  background: var(--gold-gradient);
  color: #0b0d14;
  font-weight: 800;
  box-shadow: 0 4px 18px var(--gold-glow);
}

/* Category Filter Chips */
.categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 21, 31, 0.65);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-family);
}

.cat-chip:active {
  transform: scale(0.95);
}

.cat-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.08));
  border-color: var(--gold);
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

/* Skeleton Loading Shimmer */
.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: translateX(-100%);
  animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

/* Product Cards */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.product-card:active {
  transform: scale(0.975);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.18);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:active .product-icon {
  transform: scale(1.08) rotate(-4deg);
}

.product-meta {
  flex: 1;
}

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

.badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
  animation: badgeGlow 2.5s infinite alternate;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 6px rgba(245, 158, 11, 0.15); }
  100% { box-shadow: 0 0 14px rgba(245, 158, 11, 0.45); }
}

.badge-success {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.product-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 3px;
  color: #ffffff;
}

.product-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-features {
  list-style: none;
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(11, 15, 23, 0.5);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-features li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.card-features li .check-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 13px;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

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

.price-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.price-val {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.5px;
}

.btn-buy {
  background: var(--gold-gradient);
  color: #0b0d14;
  border: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
}

.btn-buy:active {
  transform: scale(0.95);
}

/* Bottom Sheet Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.bottom-sheet {
  background: #0d111a;
  background-image: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  width: 100%;
  max-height: 92vh;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 14px 18px 36px;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .bottom-sheet {
  transform: translateY(0);
}

.sheet-handle-bar {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sheet-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.btn-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Package Options */
.package-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.pkg-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 19, 29, 0.7);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pkg-option:active {
  transform: scale(0.985);
}

.pkg-option.selected {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.15);
}

.pkg-option.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pkg-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pkg-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.pkg-price-tag {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
}

/* Form Group */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-help {
  color: #38bdf8;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

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

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  pointer-events: none;
}

.form-input {
  width: 100%;
  background: rgba(14, 19, 29, 0.9);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 75px 14px 34px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  font-family: var(--font-family);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.btn-check-user {
  position: absolute;
  right: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-family);
}

.user-check-status {
  margin-top: 8px;
  font-size: 12px;
  display: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.user-check-status.valid {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.user-check-status.invalid {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.guide-box {
  background: rgba(14, 19, 29, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
  display: none;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.guide-box.show {
  display: block;
}

.guide-step {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0d14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-submit-order {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--gold-gradient);
  color: #0b0d14;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-family);
}

.btn-submit-order:active {
  transform: scale(0.98);
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Payment VietQR Card */
.payment-card {
  text-align: center;
  position: relative;
}

.qr-frame {
  position: relative;
  background: #ffffff;
  padding: 16px;
  border-radius: 22px;
  display: inline-block;
  margin: 10px 0 14px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(56, 189, 248, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.qr-laser-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #f59e0b, transparent);
  box-shadow: 0 0 12px #38bdf8, 0 0 20px #f59e0b;
  border-radius: 2px;
  z-index: 10;
  pointer-events: none;
  animation: laserScan 2.4s ease-in-out infinite alternate;
}

@keyframes laserScan {
  0% { top: 12px; opacity: 0.85; }
  50% { opacity: 1; }
  100% { top: calc(100% - 15px); opacity: 0.85; }
}

.qr-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
  z-index: 11;
}
.qr-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.qr-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; border-top-right-radius: 6px; }
.qr-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; border-bottom-left-radius: 6px; }
.qr-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }

.qr-img {
  width: 220px;
  height: 220px;
  display: block;
}

.countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 24px;
  color: #34d399;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.15);
}

.bank-info-card {
  background: rgba(14, 19, 29, 0.85);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row .label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.bank-row .val {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.val-highlight {
  color: var(--gold);
  font-weight: 800;
  font-family: monospace;
  font-size: 15px;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
}

.btn-copy:active {
  transform: scale(0.92);
}

.btn-copy.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
  animation: copyPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes copyPop {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.payment-actions {
  display: flex;
  gap: 10px;
}

.btn-open-bank {
  flex: 1;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  font-family: var(--font-family);
}

.btn-cancel-payment {
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-family);
}

/* Success Fulfillment View */
.success-view {
  text-align: center;
  padding: 14px 0;
  position: relative;
}

.confetti-container {
  position: absolute;
  top: -20px;
  left: 0; right: 0;
  height: 280px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 12px;
  top: -20px;
  opacity: 0.9;
  border-radius: 2px;
  animation: confettiDrop 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes confettiDrop {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(280px) rotate(720deg); opacity: 0; }
}

.success-icon-rings {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-rings::before,
.success-icon-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.45);
  animation: ringPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.success-icon-rings::before {
  width: 96px;
  height: 96px;
  animation-delay: 0s;
}

.success-icon-rings::after {
  width: 118px;
  height: 118px;
  animation-delay: 0.4s;
}

@keyframes ringPulse {
  0% { transform: scale(0.75); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.success-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 3px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0;
  color: var(--success);
  box-shadow: 0 0 30px var(--success-glow);
  animation: bounce-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #34d399;
  letter-spacing: -0.4px;
}

.success-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.delivery-box {
  background: rgba(14, 19, 29, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.btn-download-dns {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--success-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-md);
  margin: 12px 0 10px 0;
  text-align: center;
  box-shadow: 0 4px 18px var(--success-glow);
}

.video-preview-card {
  margin: 14px 0;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.video-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(14, 19, 29, 0.85);
  font-size: 13px;
  color: var(--text-main);
  border-bottom: 1px solid var(--card-border);
}

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

.guide-video-player {
  width: 100%;
  max-height: 280px;
  display: block;
  background: #000;
  outline: none;
}

.delivery-keys-list {
  background: #07090e;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 10px 0;
  font-family: monospace;
  font-size: 14px;
  color: var(--gold);
  word-break: break-all;
}

/* Orders List */
.orders-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.admin-scope-bar {
  display: flex;
  gap: 4px;
  background: rgba(14, 18, 28, 0.85);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.scope-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scope-btn.active {
  background: var(--gold-gradient);
  color: #0b0d14;
  font-weight: 800;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-item:active {
  transform: scale(0.985);
  border-color: var(--gold);
}

.order-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.order-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.order-status-badge {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

.status-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-awaiting {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-failed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #141b2b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  pointer-events: none;
}

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