/* ==========================================================================
   GAMING UI COMPONENTS - FREE FIRE THEME
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-gaming);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  font-size: 0.95rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-fire {
  background: var(--gradient-fire);
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6);
  color: #000000;
}

.btn-fire:active {
  transform: translateY(1px);
}

.btn-cyan {
  background: var(--gradient-cyber);
  color: #041017;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.55);
}

.btn-gold {
  background: var(--gradient-vip);
  color: #1a0f00;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 184, 0, 0.6);
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: var(--text-primary);
  font-weight: 700;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--ff-orange);
  color: var(--ff-orange);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.15);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   2. BADGES & CHIPS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-gaming);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-fire {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.badge-cyan {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.badge-gold {
  background: #fefce8;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-green {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ff-green);
  box-shadow: 0 0 10px var(--ff-green);
  animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* --------------------------------------------------------------------------
   3. ITEM CARDS & GAMING CATALOG (2-COLUMN RESPONSIVE LAYOUT)
   -------------------------------------------------------------------------- */
.products-catalog-wrap {
  width: 100%;
  display: block;
}

.catalog-group-section {
  margin-bottom: 2.5rem;
}

.product-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.item-card, .gaming-catalog-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 60%, #fff7ed 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(234, 88, 12, 0.06);
  overflow: hidden;
  cursor: pointer;
}

.item-card:hover, .gaming-catalog-card:hover {
  transform: translateY(-5px);
  border-color: #ea580c;
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.18), 0 0 0 1px rgba(234, 88, 12, 0.2);
}

.item-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.item-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.item-card:hover .item-card-image-wrap img {
  transform: scale(1.05);
}

/* Floating badge on top left of image */
.card-float-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  font-family: var(--font-gaming);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.item-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-card-title {
  font-family: var(--font-gaming);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
  transition: color var(--transition-fast);
}

.item-card:hover .item-card-title {
  color: #ea580c;
}

/* Redesigned Clean Meta Box */
.item-card-meta-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  margin-bottom: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: background var(--transition-fast);
}

.item-card:hover .item-card-meta-box {
  background: #fff7ed;
  border-color: #ffedd5;
}

.meta-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1;
}

.meta-chip-play, .meta-chip-view {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.meta-chip-play b, .meta-chip-view b {
  color: #1e293b;
  font-weight: 800;
}

.meta-divider {
  color: #cbd5e1;
  font-size: 0.7rem;
}

.meta-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.72rem;
  line-height: 1;
}

.stars-gold-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
}

.rating-badge {
  font-family: var(--font-gaming);
  font-size: 0.65rem;
  font-weight: 800;
  color: #a16207;
  background: #fef9c3;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.trust-badge {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

/* Price Row with Discount Tag */
.item-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-top: 0.1rem;
}

.price-info-left {
  display: flex;
  flex-direction: column;
}

.price-prefix {
  font-family: var(--font-gaming);
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.price-main {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.price-val {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.price-currency {
  font-family: var(--font-gaming);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ea580c;
  margin-left: 1px;
}

.price-discount-tag {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 900;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  line-height: 1;
}

.item-card-btn-wrap {
  margin-top: auto;
}

/* Fiery CTA Action Button */
.btn-card-action {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 60%, #fb923c 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(234, 88, 12, 0.45);
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%);
}

.btn-card-arrow {
  transition: transform var(--transition-fast);
  font-size: 0.9rem;
}

.btn-card-action:hover .btn-card-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. MODALS & POPUPS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-spring);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.modal-title {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
}

.modal-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: var(--text-primary);
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  background: #f8fafc;
}

/* Custom Ultra-Premium Buy Modal Experience */
#buy-modal .modal-content {
  max-width: 580px;
  border-radius: 20px;
  border: 1.5px solid rgba(234, 88, 12, 0.3);
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.4), 0 0 30px rgba(234, 88, 12, 0.12);
}

.modal-product-card-preview {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.4);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.modal-product-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ea580c;
  flex-shrink: 0;
  background: #0b0f19;
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.35);
}

.modal-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-product-info {
  flex-grow: 1;
  min-width: 0;
}

.modal-product-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.modal-product-title {
  font-family: var(--font-gaming);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-product-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.modal-product-price {
  font-family: var(--font-gaming);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fb923c;
}

.modal-product-orig {
  font-size: 0.82rem;
  text-decoration: line-through;
  color: #94a3b8;
}

.modal-product-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Payment Method Tabs */
.pay-tabs-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.pay-tab-btn {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.pay-tab-btn:hover {
  border-color: #fdba74;
  color: #ea580c;
  background: #fff7ed;
}

.pay-tab-btn.active {
  border-color: #ea580c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}

/* VietQR Banking Card Box */
.vietqr-card-box {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.08);
}

.vietqr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #e2e8f0;
}

.vietqr-main-grid {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 1.15rem;
  align-items: center;
}

@media (max-width: 540px) {
  .vietqr-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.qr-hud-frame {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.5rem;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  position: relative;
}

.qr-hud-frame img {
  width: 165px;
  height: 165px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.bank-info-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  font-size: 0.82rem;
}

.bank-info-row .label {
  color: #64748b;
  font-size: 0.78rem;
}

.bank-info-row .val {
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-copy-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-copy-chip:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-copy-chip.btn-copy-primary {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.btn-copy-chip.btn-copy-primary:hover {
  background: #0284c7;
  color: #ffffff;
}

.trust-compact-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.85rem;
  text-align: center;
}

.trust-compact-item {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 0.45rem 0.25rem;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. FORM INPUTS & CHIPS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-gaming);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-label span.required {
  color: #dc2626;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--ff-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
  background: #ffffff;
  outline: none;
}

.form-input::placeholder {
  color: #94a3b8;
}

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

.input-with-action .form-input {
  padding-right: 90px;
}

.input-action-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.chip-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
}

.chip {
  padding: 0.65rem 0.5rem;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-gaming);
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
}

.chip:hover {
  border-color: var(--ff-orange);
  background: #fff7ed;
  color: var(--ff-orange);
}

.chip.active {
  border-color: var(--ff-orange);
  background: #ffedd5;
  color: #c2410c;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}

/* Telco Cards Selector */
.carrier-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.carrier-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  color: #334155;
}

.carrier-chip:hover {
  border-color: var(--ff-orange);
  background: #fff7ed;
  transform: translateY(-2px);
}

.carrier-chip.active {
  border-color: var(--ff-orange);
  background: #ffedd5;
  color: #c2410c;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.15);
}

.carrier-chip img {
  height: 28px;
  object-fit: contain;
}

.carrier-chip span {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-gaming);
}

/* --------------------------------------------------------------------------
   6. TABS COMPONENT
   -------------------------------------------------------------------------- */
.nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.nav-tab-btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--font-gaming);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  color: #000000;
  background: var(--gradient-fire);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* --------------------------------------------------------------------------
   7. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all var(--transition-normal);
  color: var(--text-primary);
}

.toast.toast-fire { border-left: 4px solid var(--ff-orange); }
.toast.toast-success { border-left: 4px solid var(--ff-green); }
.toast.toast-error { border-left: 4px solid var(--ff-red); }
.toast.toast-cyan { border-left: 4px solid var(--ff-cyan); }

.toast-icon {
  font-size: 1.25rem;
}

.toast-body {
  flex-grow: 1;
}

.toast-title {
  font-family: var(--font-gaming);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.toast-msg {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   8. USER UID AUTHENTICATION WIDGETS (PREMIUM GAMING PILL)
   -------------------------------------------------------------------------- */
.user-auth-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 1. Nút Đăng Nhập UID Pill (Khi chưa đăng nhập) */
.btn-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: #f0f9ff;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
  flex-shrink: 0;
}

.btn-login-pill:hover {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-login-pill .pill-icon {
  font-size: 0.95rem;
}

.btn-login-pill .pill-text {
  font-weight: 700;
}

/* 2. Thẻ Profile Game Thủ (Khi đã đăng nhập) */
.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff7ed;
  border: 1.5px solid #ea580c;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.15);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.user-profile-pill:hover {
  border-color: #c2410c;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
}

.user-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.user-meta-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.user-name-tag {
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-uid-mini {
  font-size: 0.68rem;
  color: #0284c7;
  font-weight: 700;
  font-family: var(--font-gaming);
}

.user-logout-mini {
  background: #fee2e2;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #dc2626;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 0.15rem;
}

.user-logout-mini:hover {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.15);
}

/* ==========================================================================
   HEADER AUTH & USER WALLET CONTROLS (RESPONSIVE & LUXURY GAMING)
   ========================================================================== */
.header-guest-auth {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-header-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  border: none;
  line-height: 1.2;
}

.btn-header-login {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  border: 1px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-header-login:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #ff7a00;
  color: #ffaa00;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
}

.btn-header-register {
  background: linear-gradient(135deg, #ff7a00 0%, #ff3d00 50%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(255, 61, 0, 0.35);
}
.btn-header-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255, 61, 0, 0.55);
  filter: brightness(1.08);
}

.auth-btn-icon {
  font-size: 0.85rem;
  line-height: 1;
}

/* User Header Profile Badge (Logged In State) */
.user-header-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 10px rgba(245, 158, 11, 0.15);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  flex-shrink: 0;
}
.user-header-profile-badge:hover {
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.uh-avatar-box {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #dc2626);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fef08a;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.uh-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.uh-avatar-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.uh-vip-tag {
  position: absolute;
  bottom: -4px;
  right: -5px;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 0 0.25rem;
  border-radius: 9999px;
  border: 1px solid #78350f;
  line-height: 1.1;
  text-shadow: none;
}

.uh-info-box {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.uh-name-row {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.uh-username {
  font-weight: 800;
  font-size: 0.8rem;
  color: #f8fafc;
  max-width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uh-caret {
  font-size: 0.7rem;
  color: #fbbf24;
}

.uh-stats-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.uh-balance {
  font-weight: 800;
  font-size: 0.74rem;
  color: #fbbf24;
  white-space: nowrap;
}

.uh-inv-badge {
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.05rem 0.3rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Header Desktop Quick Action Buttons */
.header-desktop-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-header-action {
  padding: 0.32rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-deposit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-header-deposit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

.btn-header-inventory {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  position: relative;
}
.btn-header-inventory:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45);
}

.inv-badge-count {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 0.08rem 0.32rem;
  border-radius: 9999px;
  font-weight: 900;
  margin-left: 0.15rem;
}

/* ==========================================================================
   USER PROFILE DASHBOARD MODAL (BẢNG THÔNG TIN TÀI KHOẢN FREE FIRE VIP)
   ========================================================================== */
.user-profile-dialog {
  max-width: 500px !important;
  width: 94% !important;
  background: #0f1523 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 18px !important;
  color: #f8fafc !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.12) !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.user-profile-ambient-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 1. Header Card */
.user-profile-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.uph-user-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.uph-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.uph-avatar-wrap .uph-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  display: block;
}

.uph-rank-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 1px solid #fca5a5;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.uph-header-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.uph-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uph-name {
  font-family: var(--font-gaming, sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0;
  color: #f8fafc;
  line-height: 1.2;
}

.uph-vip-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.uph-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.uph-id-pill {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: monospace;
}

.uph-status-pill {
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
}

.uph-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.uph-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* 2. Unified Dual-Stat Asset Hub (100% No Cut-off / No Overflow) */
/* 2. Unified Dual-Stat Asset Hub (100% Cân Đối, Đối Xứng & Không Bị Tràn Chữ) */
.uph-asset-hub {
  margin: 0.85rem 1.25rem 0.65rem 1.25rem !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.65rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.uph-hub-col {
  background: rgba(30, 41, 59, 0.55) !important;
  border-radius: 14px !important;
  padding: 0.8rem 0.85rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.45rem !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.2s ease !important;
}

.uph-hub-wallet {
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
}
.uph-hub-wallet:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  background: rgba(30, 41, 59, 0.75) !important;
}

.uph-hub-inventory {
  border: 1.5px solid rgba(139, 92, 246, 0.35) !important;
}
.uph-hub-inventory:hover {
  border-color: rgba(139, 92, 246, 0.6) !important;
  background: rgba(30, 41, 59, 0.75) !important;
}

.hub-header-row,
.uph-hub-meta {
  width: 100% !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hub-label {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.hub-val {
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: center !important;
  width: 100% !important;
  letter-spacing: 0.3px !important;
  line-height: 1.2 !important;
}

.uph-hub-wallet .hub-val {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35) !important;
}

.uph-hub-inventory .hub-val {
  color: #c4b5fd !important;
  text-shadow: 0 0 12px rgba(196, 181, 253, 0.35) !important;
}

.uph-hub-divider {
  display: none !important;
}

.btn-uph-hub-action {
  width: 100% !important;
  height: 32px !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.btn-hub-deposit {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4) !important;
}
.btn-hub-deposit:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55) !important;
}

.btn-hub-trade {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4) !important;
}
.btn-hub-trade:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.55) !important;
}

/* 3. Segmented Navigation Tabs */
.uph-nav-tabs {
  display: flex !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  z-index: 1 !important;
}

.uph-tab-btn {
  flex: 1 !important;
  height: 38px !important;
  padding: 0 0.5rem !important;
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  white-space: nowrap !important;
}
.uph-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}
.uph-tab-btn.active {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2) !important;
}

/* 4. Body Content per Tab */
.user-profile-body {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem;
  overflow-y: auto;
  min-height: 190px;
  max-height: 290px;
}

.uph-tab-panel {
  display: none;
}
.uph-tab-panel.active {
  display: block;
  animation: uphTabFade 0.22s ease-in-out;
}

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

/* Account Info Grid */
.uph-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.uph-account-item {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.uph-acc-label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

.uph-acc-val {
  font-size: 0.82rem;
  color: #f8fafc;
}

.uph-security-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.73rem;
  color: #a7f3d0;
  line-height: 1.4;
}
.uph-security-tip .tip-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Inventory Preview Grid */
.uph-inv-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.65rem !important;
}

.uph-inv-card {
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  border-radius: 12px !important;
  padding: 0.75rem 0.65rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.45rem !important;
  transition: all 0.2s ease !important;
}
.uph-inv-card:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.uph-inv-thumb-wrap {
  width: 58px !important;
  height: 58px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #080c16 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.uph-inv-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.uph-inv-title {
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.25 !important;
  height: 2rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.uph-inv-price {
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 6px !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.uph-btn-withdraw-all {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
  padding: 0 1rem !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  border: 1px solid rgba(255, 200, 100, 0.4) !important;
  color: #ffffff !important;
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.uph-btn-withdraw-all:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.6) !important;
}

/* Stunning Empty Airdrop State */
.uph-empty-box {
  text-align: center;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.45), 0 10px 25px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
  background: #070a12;
  position: relative;
}
.empty-airdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: airdropPulse 3s ease-in-out infinite;
}
@keyframes airdropPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.empty-title {
  font-family: var(--font-gaming, sans-serif);
  font-weight: 900;
  font-size: 1.05rem;
  color: #f8fafc;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}
.empty-text {
  font-size: 0.78rem;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.btn-shop-cta {
  background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 200, 100, 0.35);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-shop-cta:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.65);
}

/* Trades History */
.uph-trades-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.uph-trade-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.78rem;
}

.uph-trade-uid {
  color: #f8fafc;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.uph-trade-uid .trade-uid-highlight {
  color: #fbbf24;
  font-weight: 800;
}
.uph-trade-uid .trade-nick {
  color: #94a3b8;
  font-size: 0.72rem;
}

.uph-trade-time {
  font-size: 0.68rem;
  color: #94a3b8;
}

.uph-trade-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.uph-empty-trades {
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
  padding: 1rem 0;
}

/* 5. Footer Actions (Cân Đối 50/50 Hoàn Hảo) */
.user-profile-footer {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0.85rem 1.25rem !important;
  background: rgba(10, 14, 23, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box !important;
}

.uph-btn-logout,
.uph-btn-close {
  flex: 1 !important;
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  border-radius: 10px !important;
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

.uph-btn-logout {
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}
.uph-btn-logout:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.uph-btn-close {
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.uph-btn-close:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   MOBILE DRAWER USER CARD (THANH QUẢN LÝ TÀI KHOẢN MOBILE GỌN ĐẸP)
   ========================================================================== */
.drawer-user-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  width: 100% !important;
  position: static !important;
  overflow: visible !important;
}
.drawer-user-card::before {
  display: none !important;
}

.drawer-user-header {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  cursor: pointer !important;
  padding: 0.85rem 1.1rem !important;
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}
.drawer-user-header:hover {
  background: rgba(30, 41, 59, 0.75) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
  transform: translateX(4px) !important;
}

.drawer-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.drawer-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
  object-fit: cover;
  display: block;
}

.drawer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ea580c);
  border: 1.5px solid #ffd000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-vip-tag {
  position: absolute;
  bottom: -3px;
  right: -3px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  border: 1px solid #fca5a5;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.drawer-user-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.drawer-user-name {
  font-weight: 900;
  font-size: 0.96rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-gaming, sans-serif);
}
.drawer-caret {
  font-size: 0.72rem;
  color: #fbbf24;
}

.drawer-user-uid {
  font-size: 0.68rem;
  color: #94a3b8;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.drawer-user-balance-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.drawer-user-balance-badge .bal-label {
  font-size: 0.58rem;
  color: #cbd5e1;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.drawer-user-balance-badge .bal-val {
  font-family: var(--font-gaming, sans-serif);
  font-size: 0.95rem;
  color: #fbbf24;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

/* 1-column vertical actions stack */
.drawer-action-col,
.drawer-grid-actions,
.drawer-secondary-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  width: 100% !important;
}

.drawer-action-btn {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  box-sizing: border-box !important;
  padding: 0 1.1rem !important;
  border-radius: 12px !important;
  font-family: var(--font-gaming) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  color: #e2e8f0 !important;
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.drawer-action-btn .btn-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

.drawer-action-btn .btn-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  text-align: center !important;
}

.drawer-action-btn .btn-txt {
  display: inline-block !important;
  white-space: nowrap !important;
}

.drawer-action-btn .nav-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fbbf24 !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  width: 20px !important;
  transition: transform 0.2s ease !important;
}

.drawer-action-btn:hover {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
  transform: translateX(4px) !important;
}
.drawer-action-btn:hover .nav-arrow {
  transform: translateX(3px) !important;
}

/* Nạp ví: trạng thái nổi bật vàng hổ phách đồng bộ với Trang Chủ */
.btn-action-deposit {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
}
.btn-action-deposit .nav-arrow {
  color: #fbbf24 !important;
}
.btn-action-deposit:hover {
  background: rgba(245, 158, 11, 0.26) !important;
  border-color: #f59e0b !important;
  color: #fef08a !important;
}

/* Rút đồ: đồng bộ cùng kiểu thẻ kính viền vàng tinh tế, không lệch màu tím */
.btn-action-trade {
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #e2e8f0 !important;
}
.btn-action-trade .nav-arrow {
  color: #fbbf24 !important;
}

/* Xem hồ sơ & kho đồ: đồng bộ hoàn toàn */
.btn-action-profile {
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #e2e8f0 !important;
}
.btn-action-profile .nav-arrow {
  color: #fbbf24 !important;
}

/* Đăng xuất: đồng bộ thẻ kính viền vàng, chữ đỏ thanh lịch khi hover */
.btn-action-logout {
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #e2e8f0 !important;
}
.btn-action-logout .nav-arrow {
  color: #fbbf24 !important;
}
.btn-action-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #fca5a5 !important;
}
.btn-action-logout:hover .nav-arrow {
  color: #ef4444 !important;
}

.drawer-guest-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.drawer-guest-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.drawer-guest-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.drawer-guest-btns {
  display: flex;
  gap: 0.5rem;
}
.drawer-guest-btns .btn {
  flex: 1;
}

/* ==========================================================================
   LUXURY FREE FIRE GAMING CYBER AUTH MODAL
   ========================================================================== */
.auth-modal-dialog {
  max-width: 420px !important;
  width: 92% !important;
  background: linear-gradient(180deg, #111520 0%, #0c0f17 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-top: 1px solid rgba(249, 115, 22, 0.6) !important;
  border-radius: 16px !important;
  color: #f8fafc !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(234, 88, 12, 0.12) !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.auth-modal-ambient-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-modal-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 3.2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.auth-modal-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Light Sweep Wrapper & Brand Container */
.auth-brand-sweep-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 1rem;
  border-radius: 999px;
  overflow: hidden;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.auth-brand-sweep-wrapper:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 87, 34, 0.2);
}

.auth-brand-sweep-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-gaming, 'Chakra Petch', sans-serif);
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.sweep-word-main {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.sweep-word-accent {
  background: linear-gradient(135deg, #ff9100 0%, #ff5722 50%, #ff2200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.75));
  margin-left: 0.04em;
  letter-spacing: 0.04em;
}

.sweep-word-domain {
  color: #fb923c;
  font-size: 1.22rem;
  text-shadow: 0 0 10px rgba(251, 146, 60, 0.55);
  letter-spacing: 0.02em;
}

/* HIỆU ỨNG LIGHT SWEEP (TIA QUÉT SÁNG ÓNG ÁNH) */
.auth-brand-light-beam {
  position: absolute;
  top: -50%;
  left: -140%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.08) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  animation: authBrandLightSweep 3s cubic-bezier(0.25, 1, 0.35, 1) infinite;
}

@keyframes authBrandLightSweep {
  0% {
    left: -140%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 175%;
    opacity: 1;
  }
  51%, 100% {
    left: 175%;
    opacity: 0;
  }
}

.auth-brand-sweep-wrapper:hover .auth-brand-light-beam {
  animation-duration: 1.6s;
}

/* Nút đóng modal cố định bên góc phải */
.auth-modal-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  padding: 0;
  z-index: 5;
}
.auth-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  transform: translateY(-50%) rotate(90deg);
}

.auth-modal-body {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.35rem 1.65rem;
}

/* Segmented Tab Switcher */
.auth-segmented-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 1.2rem;
  gap: 3px;
}

.auth-seg-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
  border: none;
  background: transparent;
  font-family: var(--font-gaming, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-seg-tab:hover {
  color: #f1f5f9;
}

.auth-seg-tab.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
}

.seg-gift-tag {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.auth-seg-tab.active .seg-gift-tag {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Form Groups & Inputs */
.auth-form-gaming {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-req {
  color: #ea580c;
  font-weight: 700;
  margin-left: 2px;
}

.auth-opt {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 500;
}

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

.auth-input-icon {
  position: absolute;
  left: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-input-wrapper:focus-within .auth-input-icon {
  color: #ea580c;
}

.auth-field-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 0.72rem 2.4rem 0.72rem 2.45rem;
  font-size: 0.88rem;
  color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.auth-field-input::placeholder {
  color: #475569;
  font-size: 0.82rem;
}

.auth-field-input:focus {
  border-color: #ea580c;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.auth-eye-btn {
  position: absolute;
  right: 0.65rem;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.auth-eye-btn:hover {
  color: #ea580c;
}
.auth-eye-btn .eye-off { display: none; }
.auth-eye-btn .eye-on { display: block; }
.auth-eye-btn.active .eye-off { display: block; }
.auth-eye-btn.active .eye-on { display: none; }
.auth-eye-btn.active { color: #ea580c; }

.auth-error-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 7px;
  text-align: center;
}

/* Submit Buttons */
.btn-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.82rem;
  border: none;
  border-radius: 9px;
  font-family: var(--font-gaming, sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.btn-auth-submit-login,
.btn-auth-submit-reg {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 60%, #c2410c 100%);
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.3);
}

.btn-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

.btn-auth-submit:active {
  transform: translateY(0);
}

.btn-submit-arrow {
  transition: transform 0.2s ease;
}
.btn-auth-submit:hover .btn-submit-arrow {
  transform: translateX(3px);
}

.auth-switch-prompt {
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.auth-switch-prompt a {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.auth-switch-prompt a:hover {
  color: #fb923c;
  text-decoration: underline;
}


/* ==========================================================================
   BẢNG TRAO ĐỔI VẬT PHẨM (CHUẨN 100% THEO HÌNH ẢNH GARENA FREE FIRE GỐC)
   ========================================================================== */
.trade-modal-dialog {
  max-width: 630px !important;
  width: 95% !important;
  background: linear-gradient(180deg, #120f1b 0%, #0a0812 100%) !important;
  border: 1.5px solid #362e45 !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.95), 0 0 30px rgba(168, 85, 247, 0.18) !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  max-height: 94vh !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Vệt sáng chéo tím neon góc trên bên trái (Chuẩn như ảnh Free Fire gốc) */
.ff-trade-crystal-flare {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 10% 10%, rgba(217, 70, 239, 0.65) 0%, rgba(147, 51, 234, 0.3) 45%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}
.ff-trade-crystal-flare::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 8px;
  width: 85px;
  height: 3px;
  background: linear-gradient(90deg, #f472b6, #c084fc, transparent);
  transform: rotate(38deg);
  box-shadow: 0 0 12px #d946ef, 0 0 4px #ffffff;
}

.trade-header-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.25rem 0.25rem;
  background: transparent;
  border-bottom: none;
  position: relative;
  z-index: 3;
}

.trade-title {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 50%, #f59e0b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.35)) !important;
  margin: 0 !important;
  text-align: center !important;
  flex: 1 !important;
}

.trade-close-btn {
  position: absolute !important;
  right: 1.15rem !important;
  top: 0.8rem !important;
  background: transparent !important;
  border: none !important;
  color: #cbd5e1 !important;
  font-size: 1.4rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  padding: 0.25rem !important;
  line-height: 1 !important;
}
.trade-close-btn:hover {
  color: #ef4444 !important;
  transform: scale(1.2) !important;
}

/* Warning Pill Banner: Cyber Electric Cyan Neon (Không trùng màu vàng tiêu đề, 1 dòng vừa vặn) */
.ff-trade-warning-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.12) 0%, rgba(14, 165, 233, 0.22) 50%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  color: #e0f2fe;
  margin: 0.25rem auto 0.45rem;
  width: fit-content;
  max-width: 95%;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2), inset 0 0 10px rgba(6, 182, 212, 0.08);
  text-align: center;
  white-space: nowrap;
}
.ff-warn-badge {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #030712;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
  flex-shrink: 0;
}
.ff-warn-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #bae6fd;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* ==========================================================================
   GARENA FREE FIRE LOGIN & VERIFIED GAMER BAR (DARK GAMING THEME)
   ========================================================================== */

/* 1. Form Nhập UID Garena (Chỉ hiện khi chưa đăng nhập / bấm Đổi UID) */
.garena-dark-login-box {
  margin: 0.35rem 1.15rem 0.5rem;
  background: linear-gradient(180deg, #151124 0%, #0d0a17 100%);
  border: 1.5px solid #33294c;
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 3;
}

.garena-dark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.garena-dark-game-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.garena-dark-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
  flex-shrink: 0;
}

.garena-dark-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.garena-dark-game-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.garena-dark-server-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

/* Badge thay thế: Gửi đồ tự động 30s với hiệu ứng phát sáng vàng */
.garena-dark-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.garena-bolt-icon {
  font-size: 0.78rem;
  color: #fbbf24;
  animation: boltPulse 1.5s infinite alternate;
}

@keyframes boltPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 4px #fbbf24); }
}

/* Hàng nhập UID + Nút Garena */
.garena-dark-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin-bottom: 0;
}

.garena-dark-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.garena-dark-input {
  width: 100%;
  height: 38px;
  background: #090712;
  border: 1px solid #3d3356;
  border-radius: 6px;
  padding: 0 1.6rem 0 0.85rem;
  color: #f8fafc;
  font-family: var(--font-gaming);
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.garena-dark-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.garena-dark-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.garena-dark-arrow {
  position: absolute;
  right: 10px;
  font-size: 0.6rem;
  color: #64748b;
  pointer-events: none;
}

.btn-garena-dark-submit {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
  transition: all 0.15s ease;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-garena-dark-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-garena-dark-submit:active {
  transform: translateY(0);
}

/* 2. GARENA VERIFIED PLAYER CARD (Chuẩn 100% Giao diện napthe.vn - Dark Theme Gaming) */
.garena-profile-wrap {
  margin: 0.15rem 1.15rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 3;
}

/* Nút Đăng xuất ở góc trên bên phải chuẩn ảnh mẫu */
.garena-profile-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.15rem;
}

.btn-garena-logout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
}

.btn-garena-logout-link:hover {
  color: #f87171;
  transform: translateX(-1px);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.logout-icon {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

/* Khung Card thông tin người chơi (Nền Dark Gaming, KHÔNG DÙNG NỀN TRẮNG) */
.garena-profile-card {
  background: linear-gradient(135deg, #151124 0%, #0d0a18 100%);
  border: 1px solid #2e2544;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.garena-profile-avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.garena-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.garena-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.garena-profile-name-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.profile-label {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 700;
}

.profile-name-text {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.2px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-level-tag {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #86efac;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.garena-profile-uid-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-label-uid {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
}

.profile-uid-text {
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-gaming);
  letter-spacing: 0.3px;
}

/* 2 Cột Đối Xứng Hoàn Hảo (Grid 1fr 34px 1fr - Triệt tiêu 100% tình trạng ô to ô nhỏ) */
.trade-body-container {
  display: grid !important;
  grid-template-columns: 1fr 34px 1fr !important;
  gap: 0.45rem !important;
  align-items: stretch !important;
  width: 100% !important;
  padding: 0.45rem 1.15rem !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 3 !important;
}

.trade-panel-box {
  width: 100% !important;
  min-width: 0 !important;
  background: #0e0c16 !important;
  border: 1.5px solid #282236 !important;
  border-radius: 8px !important;
  padding: 0.6rem 0.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

/* Khung tiêu đề bảng đồ: 2 dòng tách biệt cực thoáng, số lượng không bị dính vào chữ */
.trade-panel-header-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
  padding-bottom: 0.45rem !important;
  margin-bottom: 0.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.trade-panel-title-line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
}

.trade-panel-icon {
  font-size: 0.85rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.trade-panel-label {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.trade-panel-label.label-inventory {
  color: #f1f5f9 !important;
}

.trade-panel-label.label-target {
  color: #fbbf24 !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4) !important;
}

.trade-panel-meta-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.trade-meta-tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
  font-family: var(--font-gaming) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 1px 8px !important;
  border-radius: 9999px !important;
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.trade-meta-tag b {
  color: #e2e8f0 !important;
  font-weight: 800 !important;
}

.trade-meta-tag.tag-target {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fcd34d !important;
}

.trade-meta-tag.tag-target b {
  color: #fbbf24 !important;
}

.trade-slots-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.45rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.trade-slot {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  min-height: 76px !important;
  background: radial-gradient(circle at center, #1e192c 0%, #0d0b16 100%) !important;
  border: 1.5px solid #352c48 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 4px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

.trade-slot:hover {
  border-color: #fbbf24 !important;
  background: radial-gradient(circle at center, #261f38 0%, #130f1e 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
}

/* Viền phát sáng nhận diện độ hiếm (thay thế chữ che ảnh) */
.trade-slot.slot-rarity-red {
  border: 1.5px solid rgba(239, 68, 68, 0.7) !important;
  border-bottom: 3.5px solid #ef4444 !important;
  box-shadow: inset 0 -8px 12px rgba(239, 68, 68, 0.25), 0 0 10px rgba(239, 68, 68, 0.2) !important;
}
.trade-slot.slot-rarity-purple {
  border: 1.5px solid rgba(168, 85, 247, 0.7) !important;
  border-bottom: 3.5px solid #a855f7 !important;
  box-shadow: inset 0 -8px 12px rgba(168, 85, 247, 0.25), 0 0 10px rgba(168, 85, 247, 0.2) !important;
}
.trade-slot.slot-rarity-gold {
  border: 1.5px solid rgba(234, 179, 8, 0.7) !important;
  border-bottom: 3.5px solid #eab308 !important;
  box-shadow: inset 0 -8px 12px rgba(234, 179, 8, 0.25), 0 0 10px rgba(234, 179, 8, 0.2) !important;
}

.trade-slot-img {
  width: 96% !important;
  height: 96% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.95)) !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

.trade-slot:hover .trade-slot-img {
  transform: scale(1.1) !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 1)) drop-shadow(0 0 8px rgba(234, 179, 8, 0.6)) !important;
}

.trade-slot-empty {
  border: 1px dashed rgba(255, 255, 255, 0.12) !important;
  background: rgba(10, 8, 16, 0.4) !important;
  cursor: default !important;
  opacity: 0.5 !important;
}
.trade-slot-empty:hover {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(10, 8, 16, 0.4) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Nút đảo chiều giữa (⇄) */
.trade-center-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  flex-shrink: 0 !important;
  padding-top: 48px !important;
  box-sizing: border-box !important;
}

.trade-swap-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #241d33, #151120) !important;
  border: 1.5px solid #5b487e !important;
  color: #fbbf24 !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.25s, border-color 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25) !important;
}
.trade-swap-btn:hover {
  transform: rotate(180deg) scale(1.1) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.5) !important;
}

/* Footer: Checkbox + Nút Vàng Cắt Góc Free Fire Chuẩn Hình Gốc */
.trade-footer-bar {
  padding: 0.75rem 1.25rem 1.25rem !important;
  background: transparent !important;
  border-top: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.65rem !important;
  position: relative !important;
  z-index: 3 !important;
}

.trade-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  user-select: none !important;
}
.trade-checkbox-label input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: #eab308 !important;
  cursor: pointer !important;
}

.btn-trade-execute {
  background: linear-gradient(180deg, #f5a623 0%, #d48812 100%) !important;
  color: #000000 !important;
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
  padding: 0.75rem 2.8rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.4) !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
}
.btn-trade-execute:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(245, 166, 35, 0.6) !important;
}
.btn-trade-execute:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.trade-subnote {
  font-size: 0.74rem !important;
  color: #64748b !important;
  letter-spacing: 0.3px !important;
}

/* ==========================================================================
   TRADE PROCESSING & ATM AUDIO TRANSFER OVERLAY (GARENA CLOUD GATEWAY)
   ========================================================================== */
.trade-modal-dialog {
  position: relative !important;
  overflow: hidden !important;
}

.trade-processing-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 15%, rgba(26, 20, 48, 0.98) 0%, rgba(10, 8, 18, 0.99) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 60 !important;
  border-radius: 16px !important;
  display: none; /* Mặc định ẩn hoàn toàn */
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 1rem 0.9rem !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.trade-processing-overlay.active {
  display: flex !important;
  animation: fadeInOverlay 0.25s ease-out forwards !important;
}

/* Nút đóng thoát ra mọi lúc */
.trade-proc-close-btn {
  position: absolute !important;
  right: 0.85rem !important;
  top: 0.75rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  color: #cbd5e1 !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 70 !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.trade-proc-close-btn:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.trade-proc-running-view,
.trade-proc-success-view {
  width: 100% !important;
  max-width: 440px !important;
  display: none; /* Mặc định ẩn */
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin: auto !important;
}

.trade-proc-running-view.active,
.trade-proc-success-view.active {
  display: flex !important;
  animation: fadeInOverlay 0.25s ease-out forwards !important;
}

/* Top System Bar */
.trade-proc-top-bar {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.trade-proc-sys-tag {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.5px !important;
}

.trade-proc-status-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #86efac !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
}

.pulse-green-dot {
  width: 6px !important;
  height: 6px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px #10b981 !important;
  animation: pulseDot 1s infinite alternate !important;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Holographic Radar Scanner */
.trade-radar-wrap {
  position: relative !important;
  width: 105px !important;
  height: 105px !important;
  margin: 0.4rem auto 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.trade-radar-circle {
  position: absolute !important;
  border-radius: 50% !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-sizing: border-box !important;
}

.trade-radar-circle.circle-1 {
  width: 100% !important;
  height: 100% !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25) !important;
}

.trade-radar-circle.circle-2 {
  width: 72% !important;
  height: 72% !important;
  border-style: dashed !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
  animation: rotateCircle 10s linear infinite !important;
}

.trade-radar-circle.circle-3 {
  width: 44% !important;
  height: 44% !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.trade-radar-sweep {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0) 0deg, rgba(56, 189, 248, 0) 270deg, rgba(56, 189, 248, 0.45) 360deg) !important;
  animation: radarSpin 1.4s linear infinite !important;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.trade-radar-core {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 2 !important;
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.6) !important;
  animation: corePulse 1s infinite alternate ease-in-out !important;
}

@keyframes corePulse {
  0% { transform: scale(0.92); filter: drop-shadow(0 0 6px #fbbf24); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 16px #38bdf8); }
}

.trade-radar-core-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Stage Info Box */
.trade-proc-info-box {
  margin-bottom: 0.8rem !important;
}

.trade-proc-stage-title {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 0.25rem !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.trade-proc-stage-desc {
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
  min-height: 22px !important;
}

/* Cyber Progress Bar */
.trade-proc-progress-wrap {
  width: 100% !important;
  margin-bottom: 0.95rem !important;
}

.trade-proc-progress-track {
  width: 100% !important;
  height: 12px !important;
  background: #090713 !important;
  border: 1px solid #33274f !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.trade-proc-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #10b981 100%) !important;
  border-radius: 9999px !important;
  position: relative !important;
  transition: width 0.1s linear !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.8) !important;
}

.trade-proc-laser-tip {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 6px !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #38bdf8 !important;
}

.trade-proc-percent-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 0.35rem !important;
}

.trade-proc-bytes-text {
  font-size: 0.72rem !important;
  color: #64748b !important;
}

.trade-proc-percent-text {
  font-family: var(--font-gaming) !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.5px !important;
}

/* Items Transferred Preview Strip */
.trade-proc-items-strip {
  width: 100% !important;
  background: rgba(14, 11, 23, 0.7) !important;
  border: 1px solid #29203c !important;
  border-radius: 10px !important;
  padding: 0.55rem 0.65rem !important;
  box-sizing: border-box !important;
}

.trade-proc-strip-label {
  display: block !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  margin-bottom: 0.45rem !important;
  text-align: left !important;
  letter-spacing: 0.3px !important;
}

.trade-proc-items-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

.trade-proc-mini-item {
  width: 50px !important;
  height: 50px !important;
  border-radius: 6px !important;
  background: radial-gradient(circle at center, #231b34 0%, #0d0a16 100%) !important;
  border: 1.5px solid #a855f7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3) !important;
  position: relative !important;
  animation: itemPopIn 0.3s ease-out forwards !important;
}

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

.trade-proc-mini-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* MÀN HÌNH THÀNH CÔNG (SUCCESS VIEW) */
.trade-success-badge-icon {
  position: relative !important;
  width: 70px !important;
  height: 70px !important;
  margin: 0.2rem auto 0.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.trade-success-glow-halo {
  position: absolute !important;
  inset: -8px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, rgba(16, 185, 129, 0) 70%) !important;
  animation: haloPulse 1.6s infinite alternate !important;
}

@keyframes haloPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.trade-success-check-circle {
  position: relative !important;
  z-index: 2 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7) !important;
  animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.trade-success-title {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #86efac !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 0.25rem !important;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.5) !important;
}

.trade-success-subtitle {
  font-size: 0.8rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 0.75rem !important;
}

/* Player Card trong màn hình Thành công */
.trade-success-player-card {
  width: 100% !important;
  background: linear-gradient(135deg, #151124 0%, #0d0a18 100%) !important;
  border: 1px solid #2e2544 !important;
  border-radius: 10px !important;
  padding: 0.55rem 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  box-sizing: border-box !important;
}

.trade-succ-avatar-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 1.5px solid #fbbf24 !important;
  flex-shrink: 0 !important;
}

.trade-succ-avatar {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.trade-succ-meta {
  flex: 1 !important;
  text-align: left !important;
}

.trade-succ-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.trade-succ-name {
  font-family: 'Chakra Petch', sans-serif !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
}

.trade-succ-server-tag {
  font-size: 0.64rem !important;
  color: #94a3b8 !important;
}

.trade-succ-uid-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin-top: 0.15rem !important;
}

.trade-succ-uid-label {
  font-size: 0.74rem !important;
  color: #64748b !important;
}

.trade-succ-uid-val {
  font-family: var(--font-gaming) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
}

/* Thẻ hiển thị súng đã chuyển */
.trade-succ-items-box {
  width: 100% !important;
  background: rgba(14, 11, 23, 0.6) !important;
  border: 1px solid #231b34 !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.6rem !important;
  margin-bottom: 0.75rem !important;
  box-sizing: border-box !important;
}

.trade-succ-items-header {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  text-align: left !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: 0.3px !important;
}

.trade-succ-items-grid {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  flex-wrap: wrap !important;
}

.trade-succ-item-card {
  width: 58px !important;
  height: 58px !important;
  background: radial-gradient(circle at center, #261e38 0%, #100d1c 100%) !important;
  border: 1.5px solid #10b981 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25) !important;
  position: relative !important;
}

.trade-succ-item-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.trade-succ-item-check {
  position: absolute !important;
  bottom: -3px !important;
  right: -3px !important;
  background: #10b981 !important;
  color: #ffffff !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  font-size: 0.62rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #000 !important;
  font-weight: 900 !important;
}

/* Notice Banner */
.trade-succ-notice-banner {
  width: 100% !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.75rem !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  text-align: left !important;
  margin-bottom: 0.95rem !important;
  box-sizing: border-box !important;
}

.trade-succ-notice-icon {
  font-size: 1.1rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.trade-succ-notice-text {
  font-size: 0.74rem !important;
  color: #a7f3d0 !important;
  line-height: 1.35 !important;
}

.btn-trade-succ-finish {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
  padding: 0.75rem 2.8rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45) !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
}

.btn-trade-succ-finish:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.65) !important;
}

/* ==========================================================================
   DEPOSIT MODAL - LUXURY MINIMALIST & FINTECH ELEGANCE
   ========================================================================== */

#deposit-wallet-modal .modal-content {
  max-width: 480px !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  font-family: var(--font-body), -apple-system, sans-serif !important;
}

#deposit-wallet-modal .modal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 1.1rem 1.35rem 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dep-lux-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.dep-lux-header-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.15rem;
}

/* User status bar */
.dep-lux-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.9rem;
}

.dep-lux-user-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dep-lux-avatar-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dep-lux-user-meta {
  display: flex;
  flex-direction: column;
}

.dep-lux-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dep-lux-user-badge {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.dep-lux-user-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dep-lux-balance-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.dep-lux-balance-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dep-lux-balance-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-gaming), sans-serif;
}

.dep-lux-refresh-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.dep-lux-refresh-btn:hover {
  color: #0f172a;
}

.dep-lux-refresh-btn.spinning {
  animation: depLuxSpin 0.7s linear infinite;
}

@keyframes depLuxSpin {
  100% { transform: rotate(360deg); }
}

/* Subtle Promo Notice Ribbon */
.dep-lux-promo-ribbon {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.dep-lux-promo-ribbon b {
  color: #15803d;
  font-weight: 700;
}

/* Modern Segmented Tab Switcher (Apple/Stripe Style) */
.dep-lux-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  margin-bottom: 1.1rem;
}

.dep-lux-tab-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.dep-lux-tab-btn:hover {
  color: #0f172a;
}

.dep-lux-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.dep-lux-pill-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 9999px;
  background: #dcfce7;
  color: #15803d;
}

.dep-lux-tab-btn.active .dep-lux-pill-tag {
  background: #f0fdf4;
}

/* ================= TAB VIETQR ================= */
.dep-lux-section-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.55rem;
}

/* Clean Denomination Grid (6 mốc soạn sẵn) */
.dep-lux-denom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.dep-denom-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.35rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dep-denom-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.dep-denom-card.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.dep-denom-amount {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dep-denom-card.active .dep-denom-amount {
  color: #ffffff;
}

.dep-denom-receive {
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 0.15rem;
}

.dep-denom-receive.no-promo {
  color: #64748b;
}

.dep-denom-card.active .dep-denom-receive {
  color: #86efac;
}

.dep-denom-card.active .dep-denom-receive.no-promo,
.dep-denom-card.active .dep-denom-receive[style*="64748b"] {
  color: #cbd5e1 !important;
}

/* Clean QR Card */
.dep-lux-qr-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dep-lux-qr-img-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.dep-lux-qr-img-wrap img {
  width: 175px;
  height: 175px;
  object-fit: contain;
  display: block;
}

.dep-lux-qr-hint {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.65rem;
  font-weight: 500;
}

.dep-lux-qr-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dep-lux-qr-link {
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.dep-lux-qr-link:hover {
  color: #ea580c;
}

/* Invoice-Style Bank Details */
.dep-lux-receipt {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 0.9rem;
}

.dep-lux-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
}

.dep-lux-receipt-row:last-child {
  border-bottom: none;
}

.dep-lux-receipt-label {
  color: #64748b;
  font-weight: 500;
}

.dep-lux-receipt-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-align: right;
}

.dep-lux-receipt-val {
  font-weight: 700;
  color: #0f172a;
}

.dep-lux-receipt-val.highlight {
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-gaming), monospace;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.dep-btn-copy {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dep-btn-copy:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.dep-btn-copy.copied {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
}

/* Minimalist Note */
.dep-lux-note {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.dep-lux-note b {
  color: #334155;
}

/* ================= TAB THẺ CÀO ================= */
/* Carrier Grid */
.dep-lux-carrier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.dep-carrier-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.5rem 0.3rem 0.45rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
}

.dep-carrier-logo-wrap {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 2px 5px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.dep-carrier-logo {
  max-width: 100%;
  max-height: 22px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.dep-carrier-card span {
  display: block;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

.dep-carrier-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.dep-carrier-card:hover .dep-carrier-logo {
  transform: scale(1.06);
}

.dep-carrier-card.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.22);
}

.dep-carrier-card.active .dep-carrier-logo-wrap {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.dep-carrier-card.active span {
  color: #ffffff !important;
  font-weight: 800;
}

/* Card Denominations (5 mốc chuẩn từ 50k đến 1M) */
.dep-lux-card-denom-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dep-card-denom-btn {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.6rem 0.35rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* 2 mốc lớn 500k và 1M chia đều 2 cột ở hàng 2 */
.dep-card-denom-btn:nth-child(4),
.dep-card-denom-btn:nth-child(5) {
  grid-column: span 3;
}

.dep-card-denom-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.dep-card-denom-btn.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.dep-card-amount {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dep-card-denom-btn.active .dep-card-amount {
  color: #ffffff;
}

.dep-card-bonus {
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 0.15rem;
}

.dep-card-bonus.no-promo {
  color: #64748b;
}

.dep-card-denom-btn.active .dep-card-bonus {
  color: #86efac;
}

.dep-card-denom-btn.active .dep-card-bonus.no-promo {
  color: #cbd5e1 !important;
}

.dep-lux-receive-text {
  font-size: 0.78rem;
  color: #166534;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

/* Input Fields */
.dep-lux-field {
  margin-bottom: 0.75rem;
}

.dep-lux-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
}

.dep-lux-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.dep-lux-input:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
}

/* Clean Solid Submit Button */
.dep-lux-submit-btn {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.dep-lux-submit-btn:hover {
  background: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 520px) {
  #deposit-wallet-modal .modal-content {
    max-width: 95% !important;
    margin: 0.5rem auto !important;
  }
  .dep-lux-denom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dep-lux-carrier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dep-lux-card-denom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dep-card-denom-btn {
    grid-column: span 1 !important;
  }
  .dep-card-denom-btn:nth-child(5) {
    grid-column: span 2 !important;
  }
}




/* ==========================================================================
   STREAMLINED COMPACT TRUST & FAQ SECTIONS (DARK GAMING LUXURY)
   ========================================================================== */
.section-trust {
  padding: 1.25rem 0 !important;
}

.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.85rem !important;
}

.trust-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 1rem 0.8rem !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.trust-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15) !important;
  background: rgba(22, 32, 58, 0.85) !important;
}

.trust-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0.5rem !important;
  font-size: 1.3rem !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2) !important;
}

.trust-title {
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px !important;
}

.trust-desc {
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* FAQ Accordion Section */
.section-faq {
  padding: 1.5rem 0 2.25rem 0 !important;
  background: rgba(10, 14, 24, 0.6) !important;
}

.faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
}

.faq-item {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 3px solid rgba(245, 158, 11, 0.7) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.4) !important;
  border-left-color: #f59e0b !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(245, 158, 11, 0.1) !important;
  background: rgba(20, 29, 52, 0.85) !important;
}

.faq-summary {
  padding: 0.8rem 1rem !important;
  font-family: var(--font-gaming, sans-serif) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  cursor: pointer !important;
  user-select: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  list-style: none !important;
  transition: color 0.2s ease !important;
}

.faq-summary::-webkit-details-marker {
  display: none !important;
}

.faq-summary:hover {
  color: #fbbf24 !important;
}

.faq-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.faq-chevron {
  font-size: 0.75rem !important;
  color: #f59e0b !important;
  transition: transform 0.25s ease !important;
  flex-shrink: 0 !important;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg) !important;
}

.faq-answer {
  padding: 0.35rem 1rem 0.8rem 1rem !important;
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.faq-answer b {
  color: #fbbf24 !important;
}

/* Responsive adjustments for Mobile */
@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.55rem !important;
  }
  .trust-card {
    padding: 0.75rem 0.55rem !important;
    border-radius: 10px !important;
  }
  .trust-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.35rem !important;
  }
  .trust-title {
    font-size: 0.78rem !important;
    margin-bottom: 0.2rem !important;
  }
  .trust-desc {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
  }

  .faq-summary {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
  .faq-answer {
    padding: 0.25rem 0.85rem 0.75rem 0.85rem !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }
}


/* ==========================================================================
   MINIMALIST CLEAN FOOTER
   ========================================================================== */
.main-footer {
  background: #080c14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.25rem 0 !important;
  position: relative !important;
  text-align: center !important;
}

.footer-simple-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.footer-copyright-text {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  font-family: var(--font-main, sans-serif) !important;
  line-height: 1.5 !important;
}

@media (max-width: 640px) {
  .main-footer {
    padding: 1rem 0.5rem !important;
  }
  .footer-copyright-text {
    font-size: 0.78rem !important;
    letter-spacing: 0.3px !important;
  }
}


/* ==========================================================================
   ULTRA-LUXURY GAMING BUY ITEM MODAL (XÁC NHẬN MUA VẬT PHẨM & COMBO VIP)
   ========================================================================== */
.buy-item-dialog {
  max-width: 490px !important;
  width: 95% !important;
  background: #090e1a !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 20px !important;
  color: #f8fafc !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.15) !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  max-height: 92vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.buy-item-ambient-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.buy-item-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-item-title {
  margin: 0;
  font-family: var(--font-gaming, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.buy-item-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.buy-item-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

.buy-item-body {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.35rem 1.35rem !important;
  overflow-y: auto !important;
  color: #f8fafc !important;
}

/* Hero Box */
.bid-hero-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.bid-hero-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #060911;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bid-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bid-hero-info {
  flex: 1;
  min-width: 0;
}

.bid-hero-badge {
  display: inline-block;
  font-size: 0.68rem;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.bid-hero-title {
  font-family: var(--font-gaming, sans-serif);
  font-weight: 800;
  font-size: 0.98rem;
  color: #f8fafc;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  letter-spacing: 0.3px;
}

.bid-hero-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #f59e0b;
  font-family: var(--font-gaming, sans-serif);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Combo Showcase Box */
.bid-combo-showcase {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bid-combo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bid-combo-heading {
  font-family: var(--font-gaming, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.3px;
}

.bid-combo-tag {
  font-size: 0.68rem;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.bid-combo-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bid-combo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  transition: all 0.2s ease;
}

.bid-combo-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  transform: translateX(3px);
}

.bid-item-thumb-box {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, #060911 85%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.bid-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bid-item-details {
  flex: 1;
  min-width: 0;
}

.bid-item-name {
  font-family: var(--font-gaming, sans-serif);
  font-weight: 800;
  font-size: 0.88rem;
  color: #f8fafc;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.bid-item-name-num {
  color: #f59e0b;
  font-weight: 900;
  margin-right: 0.25rem;
}

.bid-item-meta-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.bid-rarity-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  text-transform: uppercase;
}

.bid-included-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.bid-combo-note {
  margin-top: 0.65rem;
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.45;
}

.bid-combo-note b {
  color: #fbbf24;
}

/* Balance Box */
.bid-balance-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
}

.bid-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  margin-bottom: 0.5rem;
}

.bid-balance-label {
  color: #94a3b8;
}

.bid-balance-val {
  font-weight: 800;
  font-family: monospace;
}

.bid-val-current {
  color: #34d399;
  font-size: 0.98rem;
}

.bid-val-price {
  color: #f87171;
  font-size: 0.95rem;
}

.bid-balance-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

.bid-balance-row.bid-balance-final {
  margin-bottom: 0;
  padding-top: 0.25rem;
}

.bid-val-remaining {
  color: #fbbf24;
  font-size: 1.08rem;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* Confirm Button */
.btn-bid-confirm {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #c2410c 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.9rem;
  color: #ffffff;
  font-family: var(--font-gaming, sans-serif);
  font-weight: 900;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-bid-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.08);
}

.btn-bid-confirm:active {
  transform: translateY(0);
}

.bid-insufficient-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 0.75rem;
  color: #fca5a5;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  text-align: center;
  line-height: 1.4;
}

.btn-bid-deposit {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.85rem;
  color: #ffffff;
  font-family: var(--font-gaming, sans-serif);
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-bid-deposit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}


/* ==========================================================================
   LIVE CHAT CLIENT WIDGET (COMPACT GAMING CYBER-DARK GLASSMORPHISM)
   ========================================================================== */

/* Nút bấm mở chat nổi (gọn gàng, tinh tế, không bị đè lên thanh thông báo nạp) */
.floating-chat-toggle {
  position: fixed;
  bottom: 82px;
  right: 25px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  font-family: var(--font-gaming, sans-serif);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border: 1.5px solid rgba(254, 215, 170, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.floating-chat-toggle:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.55), 0 0 16px rgba(249, 115, 22, 0.35);
  filter: brightness(1.06);
}

.floating-chat-toggle:active {
  transform: translateY(0) scale(0.97);
}

.chat-toggle-icon {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 0.1rem 0.4rem;
  border-radius: 12px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.6);
  animation: pulseBadge 1.8s infinite;
}

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

/* Khung chatbox (Gọn gàng 340px, cao 460px, chuẩn giao diện gaming) */
.live-chat-window {
  position: fixed;
  bottom: 138px;
  right: 25px;
  width: 340px;
  max-width: calc(100vw - 28px);
  height: 460px;
  max-height: calc(100vh - 155px);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.97) 0%, rgba(11, 15, 25, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-top: 1.5px solid rgba(251, 146, 60, 0.55);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(234, 88, 12, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9991;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.live-chat-window.active {
  display: flex;
  animation: chatSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header gọn và sang trọng */
.chat-window-header {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-admin-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
}

.chat-admin-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.35);
}

.chat-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  border: 1.5px solid #0f172a;
  box-shadow: 0 0 6px #10b981;
}

.chat-header-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}

.chat-header-sub {
  font-size: 0.68rem;
  color: #34d399;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chat-btn-header {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.chat-btn-header:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Chat Body */
.chat-window-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: radial-gradient(circle at top right, rgba(234, 88, 12, 0.05), transparent 65%);
}

.chat-window-body::-webkit-scrollbar {
  width: 4px;
}
.chat-window-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

/* Messages */
.chat-msg-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.chat-msg-row.from-user {
  align-items: flex-end;
}

.chat-msg-row.from-admin {
  align-items: flex-start;
}

.chat-bubble {
  padding: 0.52rem 0.8rem;
  font-size: 0.82rem;
  line-height: 1.42;
  word-break: break-word;
  max-width: 82%;
  position: relative;
}

.chat-msg-row.from-user .chat-bubble {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border-radius: 14px 14px 3px 14px;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);
}

.chat-msg-row.from-admin .chat-bubble {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.chat-admin-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fb923c;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-msg-meta {
  font-size: 0.62rem;
  margin-top: 0.22rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-msg-row.from-user .chat-msg-meta {
  color: rgba(255, 255, 255, 0.72);
  justify-content: flex-end;
}

.chat-msg-row.from-admin .chat-msg-meta {
  color: #94a3b8;
  justify-content: flex-start;
}

/* Quick Suggestion Chips */
.chat-quick-chips {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem 0.4rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  white-space: nowrap;
}
.chat-quick-chips::-webkit-scrollbar {
  display: none;
}
.chat-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  user-select: none;
}
.chat-chip:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.45);
  color: #fb923c;
  transform: translateY(-1px);
}

/* Guest Lock Screen */
.chat-guest-lock {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem 1rem;
  gap: 0.75rem;
}

.chat-lock-icon {
  width: 48px;
  height: 48px;
  background: rgba(234, 88, 12, 0.12);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 16px rgba(234, 88, 12, 0.2);
}

.chat-lock-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.chat-lock-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.chat-lock-btns {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.35rem;
}

.btn-chat-auth-login {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}

.btn-chat-auth-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-chat-auth-reg {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-chat-auth-reg:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Chat Footer / Input */
.chat-window-footer {
  padding: 0.55rem 0.75rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.chat-input-box {
  flex: 1;
  height: 36px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0 0.85rem;
  color: #f8fafc;
  font-size: 0.82rem;
  outline: none;
  transition: all 0.2s;
}

.chat-input-box:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.18);
}

.chat-send-btn {
  background: linear-gradient(135deg, #ea580c, #f97316);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.35);
}

.chat-send-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

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

/* Empty chat notice */
.chat-empty-notice {
  text-align: center;
  color: #94a3b8;
  font-size: 0.78rem;
  margin: auto 0;
  padding: 1rem 0.75rem;
  line-height: 1.45;
}

/* Responsive Mobile Layout (Tối ưu tuyệt đối, không đè lên thanh nạp) */
@media (max-width: 640px) {
  .floating-chat-toggle {
    bottom: 68px;
    right: 14px;
    padding: 0.42rem 0.85rem;
    font-size: 0.78rem;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
  }

  .live-chat-window {
    bottom: 118px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: 345px;
    height: 430px;
    max-height: calc(100vh - 140px);
    border-radius: 16px;
  }
}

/* ==========================================================================
   CHÌM PHẦN TIN NHẮN HỖ TRỢ KHI MỞ MODAL ĐĂNG NHẬP / ĐĂNG KÝ HOẶC POPUP
   ========================================================================== */
body:has(.modal-overlay.active) .floating-chat-toggle,
body:has(#auth-account-modal.active) .floating-chat-toggle,
.modal-overlay.active ~ .floating-chat-toggle,
#auth-account-modal.active ~ .floating-chat-toggle,
body.modal-open .floating-chat-toggle {
  z-index: 100 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.85) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body:has(.modal-overlay.active) .live-chat-window,
body:has(#auth-account-modal.active) .live-chat-window,
.modal-overlay.active ~ .live-chat-window,
#auth-account-modal.active ~ .live-chat-window,
body.modal-open .live-chat-window {
  z-index: 100 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* POPUP XÁC THỰC BẢO MẬT NẠP THẺ CÀO (OVERLAY TRÊN TẤT CẢ MODAL) */
#dep-card-security-modal {
  z-index: 30005 !important;
}

#dep-card-security-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 30005 !important;
}

