/* ============================================================
   xe8 — Promotions Page Styles
   Used on: /en/promotions/, /ms/promotions/, /zh/promotions/
   ============================================================ */

/* ---- Hero ---- */
.promo-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f1e4d 100%);
  color: #fff;
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
}
.promo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(249,115,22,0.18), transparent 50%);
  pointer-events: none;
}
.promo-hero-inner { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.promo-hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #f97316; background: rgba(249,115,22,0.12);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.promo-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; line-height: 1.2;
  margin: 0 0 18px; color: #fff;
}
.promo-hero h1 span { color: #f97316; display: block; }
.promo-hero-desc {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.85);
  max-width: 760px; margin: 0 auto 32px;
}
.promo-disclaimer {
  font-size: 13px; color: rgba(255,255,255,0.65); font-style: italic;
  max-width: 740px; margin: 12px auto 0;
}

/* ---- Stats strip ---- */
.promo-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 18px 12px;
  max-width: 780px; margin: 36px auto 0;
}
.promo-stat { text-align: center; }
.promo-stat-num { display: block; font-size: 22px; font-weight: 800; color: #f97316; line-height: 1.2; }
.promo-stat-label { display: block; font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.8px; }
.promo-stat + .promo-stat { border-left: 1px solid rgba(255,255,255,0.1); }

/* ---- Section base ---- */
.promo-section { padding: 64px 0; }
.promo-section.bg-light { background: #f8fafc; }
.promo-section.bg-dark { background: #0f1e4d; color: #fff; }
.promo-section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #f97316; margin-bottom: 12px;
}
.promo-section h2 {
  font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; line-height: 1.25;
  margin: 0 0 14px; color: #1e3a8a;
}
.promo-section.bg-dark h2 { color: #fff; }
.promo-section h2 span { color: #f97316; }
.promo-section-intro {
  font-size: 16px; line-height: 1.7; color: #4b5563;
  max-width: 780px; margin: 0 0 36px;
}
.promo-section.bg-dark .promo-section-intro { color: rgba(255,255,255,0.85); }

/* ---- Card hero banners ---- */
.bonus-card-banner,
.kyc-card-banner {
  display: block;
  width: calc(100% + 44px);
  margin: -24px -22px 18px;
  height: auto;
  aspect-ratio: 990 / 320;
  object-fit: cover;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.kyc-card-banner { margin: -26px -26px 20px; }

/* Section-level banner (full-width inside container) */
.promo-section-banner {
  display: block;
  width: 100%;
  max-width: 990px;
  margin: 0 auto 32px;
  height: auto;
  aspect-ratio: 990 / 320;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* ---- Welcome bonus cards (4-column) ---- */
.welcome-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-bottom: 36px;
}
.bonus-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 24px 22px; display: flex; flex-direction: column;
  position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bonus-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15,30,77,0.12); }
.bonus-card--featured { border: 2px solid #f97316; background: linear-gradient(180deg, #fff7ed 0%, #fff 60%); }
.bonus-badge {
  position: absolute; top: -10px; right: 18px;
  background: #f97316; color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 1px;
}
.bonus-badge--green { background: #10b981; }
.bonus-pct {
  font-size: 38px; font-weight: 900; color: #1e3a8a; line-height: 1;
  margin-bottom: 6px;
}
.bonus-card--featured .bonus-pct { color: #f97316; }
.bonus-type {
  font-size: 12px; font-weight: 700; color: #6b7280;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px;
}
.bonus-cat {
  font-size: 13px; color: #1e3a8a; font-weight: 600;
  background: #f8fafc; padding: 8px 10px; border-radius: 6px; margin-bottom: 16px;
}
.bonus-details {
  display: grid; gap: 8px; margin-bottom: 14px;
  border-top: 1px solid #eef0f3; padding-top: 14px;
}
.bonus-row { display: flex; justify-content: space-between; font-size: 13px; }
.bonus-row .label { color: #6b7280; }
.bonus-row .val { color: #1e3a8a; font-weight: 700; }
.bonus-row .val.highlight { color: #f97316; }
.bonus-note { font-size: 12px; color: #6b7280; line-height: 1.6; margin-bottom: 14px; flex-grow: 1; }
.bonus-claim-btn {
  display: block; text-align: center; padding: 11px 18px;
  background: #1e3a8a; color: #fff; border-radius: 8px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  transition: background 0.15s ease;
}
.bonus-card--featured .bonus-claim-btn { background: #f97316; }
.bonus-claim-btn:hover { background: #0f1e4d; color: #fff; }
.bonus-card--featured .bonus-claim-btn:hover { background: #c2410c; }

/* ---- Leaderboard podium ---- */
.podium {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  max-width: 720px; margin: 0 auto 32px; align-items: end;
}
.podium-place { text-align: center; }
.podium-rank { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 4px; letter-spacing: 1px; }
.podium-prize { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.2; }
.podium-reward { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.podium-block {
  margin-top: 14px; border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}
.podium-block--gold { height: 110px; background: linear-gradient(180deg, #fbbf24, #92400e); }
.podium-block--silver { height: 80px; background: linear-gradient(180deg, #d1d5db, #6b7280); }
.podium-block--bronze { height: 60px; background: linear-gradient(180deg, #d97706, #78350f); }

.leaderboard-table {
  width: 100%; max-width: 760px; margin: 0 auto;
  border-collapse: collapse; background: rgba(255,255,255,0.04);
  border-radius: 10px; overflow: hidden;
}
.leaderboard-table th, .leaderboard-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9); font-size: 14px;
}
.leaderboard-table th { background: rgba(0,0,0,0.2); font-weight: 700; }

/* ---- Lucky Wheel grid ---- */
.wheel-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px;
  align-items: start;
}
.wheel-mechanics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 22px 0;
}
.mechanic-item {
  display: flex; gap: 12px; align-items: center;
  background: #fff; padding: 14px; border-radius: 10px;
  border: 1px solid #eef0f3;
}
.mechanic-item strong { color: #1e3a8a; font-size: 15px; display: block; }
.mechanic-item span { font-size: 12px; color: #6b7280; }

.wheel-prizes {
  background: #fff; padding: 24px; border-radius: 14px;
  border: 1px solid #eef0f3;
}
.wheel-prizes h3 { margin: 0 0 18px; color: #1e3a8a; font-size: 18px; }
.prize-row {
  display: grid; grid-template-columns: 90px 1fr 50px;
  align-items: center; gap: 10px; margin-bottom: 10px;
}
.prize-amount { font-weight: 700; color: #1e3a8a; font-size: 13px; }
.prize-bar-wrap { background: #f1f5f9; height: 8px; border-radius: 4px; overflow: hidden; }
.prize-bar { background: #f97316; height: 100%; border-radius: 4px; }
.prize-bar--jackpot { background: linear-gradient(90deg, #fbbf24, #f97316); }
.prize-pct { font-size: 12px; color: #6b7280; text-align: right; }

/* ---- KYC + VIP grid ---- */
.kyc-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch;
}
.kyc-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 14px; padding: 26px;
}
.kyc-card--vip { background: linear-gradient(180deg, #fffbeb 0%, #fff 50%); border-color: #fbbf24; }
.kyc-badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px;
  background: #10b981; color: #fff; border-radius: 100px;
  letter-spacing: 1px; margin-bottom: 14px;
}
.kyc-badge--gold { background: #f59e0b; }
.kyc-card h3 { margin: 0 0 8px; color: #1e3a8a; font-size: 22px; }
.kyc-card p { color: #4b5563; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.kyc-details { display: grid; gap: 10px; margin-bottom: 16px; }
.kyc-row { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
.kyc-row span:first-child { color: #6b7280; }
.kyc-row span:last-child { color: #1e3a8a; font-weight: 600; text-align: right; }

.vip-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.vip-table th, .vip-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #eef0f3; font-size: 13px; }
.vip-table th { background: #f8fafc; color: #6b7280; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.8px; }
.tier-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; }
.tier-bronze { background: #b45309; }
.tier-silver { background: #6b7280; }
.tier-gold { background: #d97706; }
.tier-platinum { background: #475569; }
.tier-diamond { background: linear-gradient(135deg, #1e3a8a, #f97316); }

/* ---- Birthday tiers ---- */
.birthday-tiers {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 28px 0;
}
.birthday-tier {
  background: #fff; border: 1px solid #eef0f3; border-radius: 10px;
  padding: 18px 12px; text-align: center;
}
.birthday-tier--top { border-color: #f97316; background: linear-gradient(180deg, #fff7ed 0%, #fff 100%); }
.birthday-tier--inactive { opacity: 0.5; }
.birthday-tier-level { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 4px; display: inline-block; color: #fff; margin-bottom: 10px; letter-spacing: 0.5px; }
.birthday-tier-bonus { font-size: 22px; font-weight: 900; color: #1e3a8a; line-height: 1; }
.birthday-tier--top .birthday-tier-bonus { color: #f97316; }
.birthday-tier-note { font-size: 11px; color: #6b7280; margin-top: 6px; line-height: 1.4; }

/* ---- Coming soon ---- */
.reload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.reload-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 26px;
}
.reload-card h3 { margin: 0 0 16px; color: #1e3a8a; font-size: 18px; }
.reload-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid #f1f5f9; font-size: 13px;
}
.reload-row span:first-child { color: #6b7280; font-weight: 600; }
.reload-row span:last-child { color: #1e3a8a; font-weight: 600; text-align: right; }
.coming-soon-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: #f59e0b;
  background: #fef3c7; padding: 4px 10px; border-radius: 100px;
  margin-top: 14px; letter-spacing: 1px;
}

/* ---- FAQ ---- */
.promo-faq-list { max-width: 820px; margin: 0 auto; }
.promo-faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.promo-faq-item summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: #1e3a8a; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.promo-faq-item summary::-webkit-details-marker { display: none; }
.promo-faq-item summary::after { content: '+'; font-size: 22px; color: #f97316; font-weight: bold; line-height: 1; }
.promo-faq-item[open] summary::after { content: '−'; }
.promo-faq-item .faq-a { padding: 0 22px 20px; color: #4b5563; line-height: 1.75; font-size: 14px; }

/* ---- Final CTA ---- */
.promo-cta {
  background: linear-gradient(135deg, #1e3a8a, #f97316);
  color: #fff; padding: 60px 20px; text-align: center;
}
.promo-cta h2 { color: #fff; margin: 0 0 14px; }
.promo-cta p { font-size: 16px; color: rgba(255,255,255,0.9); margin: 0 0 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.promo-cta-btn {
  display: inline-block; padding: 14px 36px;
  background: #fff; color: #1e3a8a; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 15px;
  transition: transform 0.15s ease;
}
.promo-cta-btn:hover { transform: translateY(-2px); }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .promo-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .promo-stat + .promo-stat:nth-child(3) { border-left: 0; }
  .wheel-grid, .kyc-grid { grid-template-columns: 1fr; gap: 22px; }
  .wheel-mechanics { grid-template-columns: 1fr; }
  .birthday-tiers { grid-template-columns: 1fr 1fr; }
  .podium { grid-template-columns: 1fr; gap: 18px; }
  .podium-block { display: none; }
}
