/* ============================================
   CashPay · Signal Dashboard
   White Background + Neon Pill Buttons
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* ============================================
   PARTICLE CANVAS (Subtle on white)
   ============================================ */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
#splashScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#splashScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo-container {
  position: relative;
  margin-bottom: 24px;
}

.splash-logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.15), transparent 70%);
  animation: pulseGlow 1.5s ease-in-out infinite alternate;
}

.splash-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: logoFloat 2s ease-in-out infinite;
  box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 1; }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.splash-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.splash-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) scale(0.6) rotateX(90deg);
  animation: flashLetter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes flashLetter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.6) rotateX(90deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.15) rotateX(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

.splash-subtitle {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.6s 1.2s forwards;
}

.splash-loader {
  width: 200px;
  height: 3px;
  background: #eee;
  border-radius: 3px;
  margin-top: 24px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.4s 1.4s forwards;
}

.splash-loader::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
  background-size: 200% 100%;
  border-radius: 3px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CLICK FLASH OVERLAY (White BG friendly)
   ============================================ */
.click-flash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
    rgba(102, 126, 234, 0.15),
    rgba(118, 75, 162, 0.08),
    transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.click-flash.active {
  animation: clickFlashAnim 1s ease-out forwards;
}

@keyframes clickFlashAnim {
  0% { opacity: 1; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */
.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================
   TRANSITION SCREEN
   ============================================ */
#transitionScreen {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

#transitionScreen.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.transition-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: transitionPulse 0.5s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  gap: 12px;
}

.transition-text img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  animation: transitionPulse 0.5s ease-in-out infinite alternate;
}

@keyframes transitionPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* ============================================
   MAIN APP CARD - White Glass
   ============================================ */
.app-card {
  max-width: 420px;
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 421px) {
  .app-card {
    min-height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
  }
  body {
    padding: 16px;
    background: #f5f5f5;
  }
}

.card-inner {
  position: relative;
  z-index: 2;
  padding: 20px 16px 32px;
}

/* ============================================
   STEP TRANSITIONS
   ============================================ */
.step-view {
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step-hidden {
  display: none !important;
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BRAND HEADER
   ============================================ */
.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  margin-bottom: 18px;
  border-bottom: 2px solid #f5f5f5;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.brand-logo img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #222;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================
   NEON PILLS BUTTONS (from aa(1).html)
   ============================================ */
.company-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.neon-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 20px;
  width: 100%;
  background-color: #0b0d12;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  border: 1.5px solid transparent;
}

.neon-btn:active {
  transform: scale(0.97);
}

.icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
}

.btn-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.company-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.3;
  color: #fff;
  transition: 0.2s;
}

.neon-btn:active .company-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* 1XBET (Cyan) */
.btn-1xbet {
  border-color: #00d2ff;
  box-shadow: inset 0 0 8px rgba(0, 210, 255, 0.15);
}
.btn-1xbet .icon-wrapper {
  color: #00d2ff;
  border-color: #00d2ff;
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.4);
}
.btn-1xbet .btn-text {
  color: #00d2ff;
  text-shadow: 0 0 5px rgba(0, 210, 255, 0.3);
}

/* MELBET (Yellow) */
.btn-melbet {
  border-color: #cddc39;
  box-shadow: inset 0 0 8px rgba(205, 220, 57, 0.15);
}
.btn-melbet .icon-wrapper {
  color: #cddc39;
  border-color: #cddc39;
  box-shadow: 0 0 6px rgba(205, 220, 57, 0.4);
}
.btn-melbet .btn-text {
  color: #cddc39;
  text-shadow: 0 0 5px rgba(205, 220, 57, 0.3);
}

/* LINE BET (Green) */
.btn-linebet-neon {
  border-color: #00ff66;
  box-shadow: inset 0 0 8px rgba(0, 255, 102, 0.15);
}
.btn-linebet-neon .icon-wrapper {
  color: #00ff66;
  border-color: #00ff66;
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.4);
}
.btn-linebet-neon .btn-text {
  color: #00ff66;
  text-shadow: 0 0 5px rgba(0, 255, 102, 0.3);
}

/* 888 STARZ (Red) */
.btn-888starz-neon {
  border-color: #ff2a4b;
  box-shadow: inset 0 0 8px rgba(255, 42, 75, 0.15);
}
.btn-888starz-neon .icon-wrapper {
  color: #ff2a4b;
  border-color: #ff2a4b;
  box-shadow: 0 0 6px rgba(255, 42, 75, 0.4);
}
.btn-888starz-neon .btn-text {
  color: #ff2a4b;
  text-shadow: 0 0 5px rgba(255, 42, 75, 0.3);
}

/* TELEGRAM (Blue) */
.btn-telegram-neon {
  border-color: #2196f3;
  box-shadow: inset 0 0 8px rgba(33, 150, 243, 0.15);
}
.btn-telegram-neon .icon-wrapper {
  color: #2196f3;
  border-color: #2196f3;
  box-shadow: 0 0 6px rgba(33, 150, 243, 0.4);
}
.btn-telegram-neon .btn-text {
  color: #2196f3;
  text-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px 8px;
  background: #f9f9f9;
  border-radius: 14px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #777;
  padding: 4px 10px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eee;
}

.feature-tag.fw-bold {
  font-weight: 800;
  color: #333;
  background: #fff8e1;
  border-color: #ffe082;
}

/* ============================================
   CRASH BUTTON — Icon + Content Layout
   ============================================ */
.btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.crash-icon-wrapper {
  padding: 0 !important;
  overflow: hidden;
}

.crash-btn-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.btn-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ============================================
   CRASH GAME LOGO — Package Page
   ============================================ */
.crash-game-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.3);
  border: 3px solid rgba(255, 107, 0, 0.3);
  animation: resultPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crash-game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   PLAY CRASH BUTTON
   ============================================ */
.btn-play-crash {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #ff6b00;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 51, 0, 0.05));
  color: #ff6b00;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.btn-play-crash:active {
  transform: scale(0.97);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 51, 0, 0.1));
}

.play-crash-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 0, 0.4);
}

/* ============================================
   SEND MONEY NOTE — Payment Form
   ============================================ */
.send-money-note {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1.5px solid #ffcc80;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e65100;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  justify-content: center;
}

.send-money-note i {
  color: #ff9800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.send-money-note strong {
  color: #bf360c;
  font-weight: 800;
}

/* ============================================
   PACKAGE PAGE
   ============================================ */
.package-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}

.back-btn:active {
  background: #f5f5f5;
  transform: scale(0.93);
}

.back-btn i {
  color: #555;
  font-size: 0.8rem;
}

.package-header h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

/* Package Card */
.package-card {
  background: linear-gradient(135deg, #f0f3ff, #faf5ff);
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  padding: 24px 16px;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent 70%);
  pointer-events: none;
}

.package-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
}

.package-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin: 12px 0 8px;
}

.package-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #667eea;
}

.package-price small {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #aaa;
}

.package-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px 0;
}

.pkg-feat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: #666;
}

.pkg-feat i {
  color: #667eea;
  font-size: 0.55rem;
}

.package-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
  font-size: 0.65rem;
  color: #999;
}

.package-stats i { margin-right: 3px; }

.injected-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b00, #ff3300);
  color: #fff;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(255, 51, 0, 0.25);
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-methods {
  margin-bottom: 18px;
}

.payment-methods h6 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.payment-item {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 14px;
  padding: 12px 6px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}

.payment-item:active { transform: scale(0.95); }

.payment-item.active {
  border-color: #667eea;
  box-shadow: 0 0 16px rgba(102, 126, 234, 0.15);
  background: #f8f9ff;
}

.payment-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.payment-icon.bkash {
  background: linear-gradient(135deg, #e2136e, #c41058);
  box-shadow: 0 4px 12px rgba(226, 19, 110, 0.25);
}
.payment-icon.nagad {
  background: linear-gradient(135deg, #f6921e, #e07800);
  box-shadow: 0 4px 12px rgba(246, 146, 30, 0.25);
}
.payment-icon.rocket {
  background: linear-gradient(135deg, #8b1a8f, #6a1070);
  box-shadow: 0 4px 12px rgba(139, 26, 143, 0.25);
}

.payment-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #333;
}

.payment-number {
  font-size: 0.62rem;
  color: #999;
  margin-top: 2px;
  font-weight: 600;
}

/* ============================================
   RULES → FAQ ACCORDION
   ============================================ */
.rules-faq {
  margin-bottom: 18px;
}

.rules-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  background: #fff8f0;
  border: 1.5px solid #ffe0b2;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e65100;
  gap: 8px;
}

.rules-faq-toggle:active {
  transform: scale(0.98);
}

.rules-faq-toggle .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.rules-faq-toggle .faq-label {
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rules-faq-toggle .faq-chevron {
  font-size: 0.6rem;
  color: #ff9800;
  transition: transform 0.3s;
}

.rules-faq.open .rules-faq-toggle {
  border-radius: 14px 14px 0 0;
  border-bottom-color: transparent;
}

.rules-faq.open .rules-faq-toggle .faq-chevron {
  transform: rotate(180deg);
}

.rules-faq-body {
  max-height: 0;
  overflow: hidden;
  background: #fff8f0;
  border: 1.5px solid #ffe0b2;
  border-top: none;
  border-radius: 0 0 14px 14px;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rules-faq.open .rules-faq-body {
  max-height: 400px;
}

.rules-faq-body ul {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
}

.rules-faq-body li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.68rem;
  color: #666;
  padding: 6px 0;
  border-bottom: 1px dashed #f0e0cc;
  line-height: 1.4;
}

.rules-faq-body li:last-child {
  border-bottom: none;
}

.rules-faq-body li i {
  color: #ff9800;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.45rem;
}

/* ============================================
   FORM
   ============================================ */
.form-section h6 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group-custom {
  margin-bottom: 14px;
}

.input-group-custom label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #777;
  margin-bottom: 6px;
}

.input-group-custom label i {
  margin-right: 4px;
  color: #667eea;
}

.custom-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e8ecf2;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fafbfc;
  color: #333;
  transition: 0.2s;
  outline: none;
}

.custom-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: #fff;
}

.custom-input::placeholder { color: #ccc; }

/* ============================================
   MAIN BUTTON
   ============================================ */
.btn-main {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-main:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 6px 24px rgba(40, 167, 69, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  box-shadow: 0 6px 24px rgba(220, 53, 69, 0.3);
}

.btn-secondary-outline {
  background: #fff;
  border: 1.5px solid #ddd;
  color: #555;
  box-shadow: none;
}

.btn-secondary-outline:active {
  background: #f5f5f5;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-box {
  background: #f8f9fc;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.dash-phone {
  font-size: 0.8rem;
  font-weight: 700;
  color: #333;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff3cd;
  color: #856404;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.6rem;
  font-weight: 700;
  border: 1px solid #ffe082;
}

.dash-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #888;
  padding: 8px 0;
  border-top: 1px solid #eee;
}

.dash-info strong { color: #444; }

.dash-verify {
  margin-top: 14px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  font-size: 0.75rem;
  color: #667eea;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e8ecf2;
}

/* ============================================
   RESULT SCREENS (Success / Failure)
   ============================================ */
.result-card {
  text-align: center;
  padding: 30px 16px;
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  animation: resultPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes resultPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.result-icon.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #28a745;
  box-shadow: 0 8px 28px rgba(40, 167, 69, 0.2);
}

.result-icon.failure {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #dc3545;
  box-shadow: 0 8px 28px rgba(220, 53, 69, 0.2);
}

.result-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.result-title.success { color: #28a745; }
.result-title.failure { color: #dc3545; }

.result-subtitle {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 20px;
}

.result-details {
  background: #f8f9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.72rem;
  border-bottom: 1px dashed #eee;
}

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

.result-row .label { color: #999; }
.result-row .value { color: #333; font-weight: 600; }

.result-timer {
  font-size: 0.75rem;
  color: #667eea;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================
   BACK TEXT
   ============================================ */
.back-text {
  text-align: center;
  margin-top: 14px;
  font-size: 0.75rem;
  color: #bbb;
  cursor: pointer;
  transition: 0.2s;
}

.back-text:active { color: #667eea; }

/* ============================================
   RESPONSIVE — All Devices
   ============================================ */

/* Large phones (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .splash-logo {
    width: 110px;
    height: 110px;
  }
  .brand-logo {
    width: 54px;
    height: 54px;
  }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
  .app-card {
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
  body {
    padding: 0;
    background: #ffffff;
  }
  .card-inner {
    padding: 16px 14px 28px;
  }

  /* Splash Logo — Mobile */
  .splash-logo {
    width: 90px;
    height: 90px;
  }

  /* Brand Logo — Mobile */
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .splash-title { font-size: 2rem; letter-spacing: 2px; }
  .brand-name { font-size: 1.1rem; }
  .btn-text { font-size: 0.75rem; }
  .package-price { font-size: 1.7rem; }
}

/* Very small phones (up to 360px) */
@media (max-width: 360px) {
  .card-inner {
    padding: 14px 12px 24px;
  }

  /* Splash Logo — Extra Small */
  .splash-logo {
    width: 76px;
    height: 76px;
  }

  /* Brand Logo — Extra Small */
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .splash-title { font-size: 1.6rem; letter-spacing: 1px; }
  .neon-btn { padding: 11px 14px; }
  .icon-wrapper { width: 32px; height: 32px; font-size: 0.5rem; margin-right: 12px; }
  .btn-text { font-size: 0.7rem; letter-spacing: 1px; }
  .btn-subtitle { font-size: 0.5rem; }
  .crash-game-logo { width: 80px; height: 80px; }
  .btn-play-crash { font-size: 0.8rem; padding: 12px 14px; }
  .play-crash-icon { width: 28px; height: 28px; }
  .payment-icon { width: 38px; height: 38px; font-size: 0.9rem; }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .splash-logo {
    width: 120px;
    height: 120px;
  }
  .brand-logo {
    width: 58px;
    height: 58px;
  }
  .splash-title {
    font-size: 3rem;
  }
}

/* Desktop / Large screens (1025px+) */
@media (min-width: 1025px) {
  .splash-logo {
    width: 130px;
    height: 130px;
  }
  .brand-logo {
    width: 62px;
    height: 62px;
  }
  .splash-title {
    font-size: 3.2rem;
    letter-spacing: 6px;
  }
}

/* ============================================
   MOBILE: HIDE TOP BACK BUTTONS (keep bottom back-text only)
   ============================================ */
@media (max-width: 480px) {
  .package-header .back-btn {
    display: none;
  }
  .package-header {
    justify-content: center;
    text-align: center;
  }
  .package-header h5 {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   USER DASHBOARD (Success Screen)
   ============================================ */
.user-dashboard {
  text-align: center;
  padding: 20px 0 10px;
}

.user-dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 28px rgba(40, 167, 69, 0.25);
  animation: resultPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid #b7e1c7;
}

.user-dash-info {
  background: #f8f9fc;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: left;
}

.user-dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

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

.user-dash-row .row-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.user-dash-row .row-icon.green {
  background: linear-gradient(135deg, #28a745, #20c997);
}
.user-dash-row .row-icon.blue {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.user-dash-row .row-icon.orange {
  background: linear-gradient(135deg, #f6921e, #e07800);
}
.user-dash-row .row-icon.purple {
  background: linear-gradient(135deg, #8b1a8f, #6a1070);
}

.user-dash-row .row-content {
  flex: 1;
  text-align: left;
}

.user-dash-row .row-label {
  font-size: 0.6rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

.user-dash-row .row-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
}

/* Telegram Button */
.telegram-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0088cc, #229ED9);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(0, 136, 204, 0.3);
  margin-bottom: 12px;
  text-decoration: none;
}

.telegram-cta:active {
  transform: scale(0.97);
}

.telegram-cta i {
  font-size: 1.2rem;
}

.user-dash-time {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.text-primary { color: #667eea !important; }
.text-success { color: #28a745 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
