/* style.css - IMO Recharge Dark Luxury Purple & Ruby Red Gem Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Obsidian & Vibrant Gold Yellow Theme */
  --bg-dark: #08080a;
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a1506 0%, #0d0a04 50%, #050506 100%);
  --surface-color: rgba(22, 19, 14, 0.92);
  --surface-hover: rgba(35, 30, 20, 0.95);
  --surface-border: rgba(234, 179, 8, 0.35);
  --surface-border-glow: rgba(250, 204, 21, 0.6);
  
  --text-primary: #ffffff;
  --text-secondary: #fef08a;
  --text-muted: #a1a1aa;
  
  --primary-color: #eab308; /* Vibrant Gold Yellow */
  --primary-light: #fde047;
  --primary-dark: #ca8a04;
  
  --gold-accent: #facc15;
  --gold-gradient: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 10px 30px rgba(234, 179, 8, 0.25);
  --shadow-ruby: 0 8px 30px rgba(250, 204, 21, 0.45);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 100px;
}

/* Background Glowing Orbs */
.bg-shape {
  position: fixed;
  filter: blur(100px);
  opacity: 0.45;
  animation: float 12s infinite alternate ease-in-out;
  z-index: -1;
  border-radius: 50%;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7e22ce 0%, #3b0764 100%);
  top: -150px;
  left: -150px;
}
.shape-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #be123c 0%, #4c0519 100%);
  bottom: -200px;
  right: -150px;
  animation-delay: -6s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.15); }
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Base App Layout */
.app-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-bottom: 2rem;
}

/* Header */
.imo-header {
  background: rgba(12, 10, 6, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  border-radius: 0 0 24px 24px;
  margin-bottom: 1.25rem;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.header-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.25) 0%, rgba(18, 14, 8, 0.85) 100%);
  border: 1px solid rgba(234, 179, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
}

.header-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8));
}

.imo-header h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(234, 179, 8, 0.3);
}

.header-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: dotPulse 1.8s infinite ease-in-out;
}

@keyframes dotPulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

.header-refresh {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: rgba(234, 179, 8, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.header-refresh:hover {
  background: var(--primary-color);
  color: #000000;
  transform: rotate(180deg);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.6);
}

/* Cyber Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, rgba(35, 28, 12, 0.95) 0%, rgba(16, 12, 5, 0.95) 100%);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 179, 8, 0.2);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.promo-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.promo-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.promo-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.8));
  animation: floatBanner 3s infinite alternate ease-in-out;
}

@keyframes floatBanner {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Step 1 Profile Card Styling */
.profile-card {
  border-color: rgba(234, 179, 8, 0.35);
  background: radial-gradient(circle at 0% 0%, rgba(234, 179, 8, 0.12) 0%, rgba(18, 14, 8, 0.95) 100%);
}

.card-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.card-label-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-label-title i {
  color: #fde047;
}

.profile-input-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-prefix-icon {
  position: absolute;
  left: 1.2rem;
  color: #fde047;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}

.profile-input-box .imo-input {
  width: 100% !important;
  display: block !important;
  padding: 0.9rem 1rem 0.9rem 3.2rem !important;
  background: rgba(10, 8, 5, 0.95) !important;
  border: 1px solid rgba(234, 179, 8, 0.45) !important;
  border-radius: 14px !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  letter-spacing: 0.03em !important;
  color: #ffffff !important;
  outline: none !important;
}

.profile-input-box .imo-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 500;
}

.profile-input-box .imo-input:focus {
  border-color: #fde047 !important;
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.25) !important;
}

.live-pill {
  font-size: 0.72rem;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.input-help-btn {
  position: static;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fde047;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.input-help-btn:hover {
  background: #fde047;
  color: #000000;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.6);
}

.helper-text {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

/* Credit Selection Grid */
.credit-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
  padding-bottom: 0.75rem;
  gap: 8px;
}

.step-title-text {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.package-selection-card {
  overflow: visible !important;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 0.65rem;
  width: 100%;
}

@media (max-width: 380px) {
  .credit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem 0.45rem;
  }
}

@media (min-width: 640px) {
  .credit-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem 1rem;
  }
}

@media (min-width: 1024px) {
  .credit-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.credit-item {
  background: rgba(16, 13, 8, 0.9);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1.1rem 0.4rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  word-break: break-word;
  overflow: visible;
  margin-top: 6px;
}

.credit-item:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.7);
  background: rgba(30, 24, 12, 0.95);
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.35);
}

/* Selected Package Highlight - Gold Yellow Glow */
.credit-item.selected {
  border: 2px solid #facc15;
  background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.28) 0%, rgba(20, 15, 6, 0.95) 100%);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.45);
}

/* Custom 3D Blue/Gold Diamond Image Styling */
.diamond-img-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.9));
  display: inline-block;
  vertical-align: middle;
  animation: diamondPulse 2.5s infinite alternate ease-in-out;
}

@keyframes diamondPulse {
  0% { filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.6)); transform: scale(1); }
  100% { filter: drop-shadow(0 0 12px rgba(250, 204, 21, 1)); transform: scale(1.08); }
}

.credit-item .diamond-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.credit-item .price-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.credit-item.selected .price-val {
  color: #ffffff;
}

.bonus-tag {
  font-size: 0.725rem;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 6px;
  font-weight: 700;
  display: inline-block;
}

.selected-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.6);
  white-space: nowrap;
  z-index: 10;
}

.check-icon {
  display: none;
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.75rem;
  color: var(--ruby-red);
}
.credit-item.selected .check-icon {
  display: block;
}

/* Action Bar & Stepper */
.action-bar {
  background: rgba(14, 8, 28, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 1.25rem 1.4rem;
  margin: 1.25rem 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.summary-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  padding-bottom: 0.5rem;
}
.summary-header i {
  color: #fde047;
  margin-right: 6px;
}

.qty-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qty-stepper-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stepper-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: rgba(10, 8, 5, 0.9);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 3px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: rgba(234, 179, 8, 0.2);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: var(--primary-color);
  color: #000000;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}

.qty-input {
  width: 44px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  outline: none;
}

.total-display {
  text-align: right;
}

.total-diamonds {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.total-diamonds #total-points {
  color: #fde047;
  font-weight: 800;
  font-size: 1.1rem;
}

.total-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.total-price #total-amount {
  color: #fde047;
}

.btn-proceed {
  width: 100%;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 50%, #e11d48 100%);
  background-size: 200% 200%;
  color: #000000;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-proceed:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(234, 179, 8, 0.6);
  background-position: right center;
  color: #000000;
}

.btn-proceed:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  background: rgba(60, 50, 30, 0.6);
  color: #888888;
}

/* Support Card Grid UI */
.support-card {
  background: rgba(14, 8, 28, 0.85);
  border-color: rgba(168, 85, 247, 0.3);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.support-link-card {
  background: rgba(8, 4, 18, 0.7);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
}

.support-link-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
  background: rgba(22, 12, 44, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.support-link-card .arrow-icon {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.support-link-card:hover .arrow-icon {
  color: #38bdf8;
  transform: translateX(4px);
}

/* Support Section */
.section-header {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.support-item {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s ease;
}

.support-item:hover {
  border-color: var(--surface-border-glow);
  transform: translateX(4px);
  background: var(--surface-hover);
}

.support-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}

.support-icon.imo {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}
.support-icon.wa {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.support-text .title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.support-text .value {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 10, 6, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(234, 179, 8, 0.35);
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
  z-index: 1000;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.8);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 4px;
  transition: all 0.2s ease;
}

.nav-item i {
  font-size: 1.25rem;
}

.nav-item.active, .nav-item:hover {
  color: #fde047;
  filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6));
}

/* Watermark Footer */
.watermark-footer {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.5rem 1.25rem 70px 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.watermark-footer a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.watermark-footer a:hover {
  color: var(--ruby-red-light);
  text-shadow: 0 0 8px rgba(255, 42, 95, 0.6);
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(7, 3, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-modal);
  color: #ffffff;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.close-modal {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fde047;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.05);
}

/* Compact Video Modal Styling */
.video-modal-card {
  max-width: 340px;
  width: 90%;
  padding: 0;
  overflow: hidden;
  background: #0e0a06;
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(234, 179, 8, 0.2);
  animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal-card .modal-header {
  padding: 0.85rem 1rem;
  margin-bottom: 0;
  background: rgba(22, 16, 8, 0.95);
  border-bottom: 1px solid rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-modal-card .modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 65vh;
  display: block;
  object-fit: contain;
  border-radius: 0 0 19px 19px;
}


/* Maintenance Screen Dark Purple Theme */
.maintenance-screen {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 30%, #1a0b38 0%, #0c051a 60%, #05020c 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow-y: auto;
}

.maintenance-card {
  background: rgba(26, 13, 48, 0.8);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(168, 85, 247, 0.2);
}

.maintenance-icon-glow {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(217, 119, 6, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2.2rem;
  color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(245, 158, 11, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
}

.maintenance-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.maintenance-banner {
  max-width: 100%;
  max-height: 220px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-border);
}

/* Custom Maintenance Notice Message Container */
.maintenance-reason-container {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.reason-header {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reason-body {
  font-size: 1rem;
  color: #f1f5f9;
  line-height: 1.6;
  font-weight: 500;
}

.countdown-card {
  background: rgba(13, 6, 28, 0.7);
  border: 1px solid var(--surface-border);
  padding: 1.25rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.countdown-timer {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ruby-red);
  font-family: monospace;
  letter-spacing: 0.1em;
  text-shadow: 0 0 15px rgba(255, 42, 95, 0.5);
}

.maintenance-support-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.maint-support-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.maint-support-btn.wa {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.maint-support-btn.imo {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.maint-support-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Custom Payment Status Modal Styling */
.status-modal-card {
  max-width: 420px;
  width: 90%;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(18, 10, 36, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.25);
  border-radius: 24px;
  animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.status-icon-wrapper {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
}

.status-icon-wrapper.success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 2px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
  animation: pulseSuccess 2s infinite ease-in-out;
}

.status-icon-wrapper.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
}

@keyframes pulseSuccess {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 0 35px rgba(34, 197, 94, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
}

.status-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.status-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.status-details-box {
  background: rgba(13, 6, 28, 0.75);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.status-detail-row .detail-label {
  color: var(--text-muted);
  font-weight: 600;
}

.status-detail-row .detail-value {
  color: #ffffff;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.status-badge-pill {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge-pill.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-badge-pill.failed {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-modal-info {
  font-size: 0.825rem;
  color: var(--primary-light);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.45;
}

.status-modal-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #9333ea 0%, #e11d48 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(225, 29, 72, 0.6);
}