:root {
  --bg-dark: #07080d;
  --bg-card: rgba(16, 18, 30, 0.85);
  --bg-card-hover: rgba(24, 28, 48, 0.95);
  --border-color: rgba(249, 115, 22, 0.2);
  --border-highlight: rgba(249, 115, 22, 0.5);
  --accent-fire: #f97316;
  --accent-red: #ef4444;
  --accent-gold: #fef08a;
  --accent-yellow: #eab308;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-main: 'Outfit', sans-serif;
  --font-gaming: 'Rajdhani', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --glow-fire: 0 0 25px rgba(249, 115, 22, 0.35);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.fire-glow-bg {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(239, 68, 68, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Live Ticker */
.live-ticker {
  background: #0d0f1a;
  border-bottom: 1px solid rgba(249, 115, 22, 0.25);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  position: relative;
  z-index: 101;
}

.ticker-inner {
  display: inline-block;
  animation: tickerSlide 28s linear infinite;
}

@keyframes tickerSlide {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.ticker-tag {
  color: var(--accent-fire);
  font-weight: 800;
  margin-right: 1.5rem;
  letter-spacing: 1px;
}

.ticker-item {
  color: #cbd5e1;
  margin-right: 2.5rem;
}

.ticker-item strong {
  color: #fef08a;
  font-family: var(--font-gaming);
  font-size: 0.95rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 1.5rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-red));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--glow-fire);
}

.logo-brand {
  font-family: var(--font-gaming);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(to right, #fff, #fed7aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
}

.logo-sub {
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--accent-fire);
  font-weight: 700;
  text-transform: uppercase;
}

.header-safe-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #34d399;
  font-weight: 600;
}

/* Main */
.main-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Hero */
.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid var(--border-highlight);
  color: #fed7aa;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(249, 115, 22, 0.2); }
  50% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.45); }
  100% { box-shadow: 0 0 10px rgba(249, 115, 22, 0.2); }
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero-title span {
  background: linear-gradient(135deg, #f97316, #ef4444, #fef08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Step Cards */
.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gaming);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
  flex-shrink: 0;
}

.step-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
}

.step-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ID Input */
.id-input-box {
  display: flex;
  gap: 0.8rem;
  max-width: 580px;
}

.input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(8, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
}

.input-icon {
  color: var(--accent-fire);
  margin-right: 0.8rem;
}

#playerIdInput {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.8rem 0;
}

#playerIdInput::placeholder {
  color: var(--text-dim);
  font-family: var(--font-main);
  font-size: 0.95rem;
  letter-spacing: normal;
}

.btn-verify {
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-red));
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  transition: transform 0.2s ease;
}

.btn-verify:hover {
  transform: translateY(-2px);
}

/* Verified Box */
.verified-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  animation: fadeIn 0.3s ease;
}

.hidden { display: none !important; }

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

.player-avatar {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.player-nickname {
  font-family: var(--font-gaming);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1px;
}

.player-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.player-details strong { color: white; }

.badge-verified {
  color: #34d399;
  font-weight: 600;
}

/* Package Tabs */
.package-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  color: white;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(239, 68, 68, 0.2));
  border-color: var(--accent-fire);
  color: #fed7aa;
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}

.package-card {
  background: rgba(8, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
}

.package-card.selected {
  border-color: var(--accent-fire);
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.35);
}

.package-badge-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-red));
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.package-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4));
}

.package-diamonds {
  font-family: var(--font-gaming);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.package-bonus {
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 700;
  margin-top: 0.2rem;
}

.package-price {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-gaming);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fef08a;
}

/* Payment Methods */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.pay-option {
  background: rgba(8, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.pay-option input { display: none; }

.pay-option.active {
  border-color: var(--accent-fire);
  background: rgba(249, 115, 22, 0.1);
}

.pay-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pay-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
}

.yape-logo { background: #71277a; }
.plin-logo { background: #00d3ba; }
.bank-logo { background: #2563eb; }

.pay-info strong {
  display: block;
  font-size: 0.92rem;
  color: white;
}

.pay-info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Order Checkout Card */
.order-checkout-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(16, 18, 30, 0.95));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}

.checkout-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.checkout-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checkout-line {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.checkout-line strong {
  color: white;
  margin-left: 0.5rem;
}

.checkout-price-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.price-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.price-num {
  font-family: var(--font-gaming);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fef08a;
  line-height: 1;
}

.btn-confirm-order {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease;
}

.btn-confirm-order:hover {
  transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-fire);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.trust-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  background: rgba(7, 8, 13, 0.95);
}

@media (max-width: 640px) {
  .id-input-box {
    flex-direction: column;
  }
  .btn-verify {
    justify-content: center;
  }
  .checkout-split {
    flex-direction: column;
    align-items: stretch;
  }
  .checkout-price-box {
    align-items: stretch;
    text-align: left;
  }
}
