/* =============================================================
   STYLE.CSS - Passionate Red / Royal Purple / Dazzling Gold Theme
   High-converting, Wealth-stimulating African Fintech & Rewards UI
   Zero Emojis · Pure SVG Icons · Breathing CTA Buttons · Gradient Titles (No Glow)
============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* Base Palette: Velvet Obsidian & Deep Purple Night */
  --bg-primary: #0a0414;
  --bg-card: rgba(26, 12, 42, 0.78);
  --bg-card-hover: rgba(38, 18, 62, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(244, 63, 94, 0.35);
  
  /* Text */
  --text-main: #ffffff;
  --text-muted: #d1c5e2;
  --text-dim: #9282a8;

  /* Passion & Wealth Colors (Red, Purple, Orange/Gold) */
  --color-red: #f43f5e;
  --color-crimson: #e11d48;
  --color-dark-red: #be123c;
  --color-purple: #9333ea;
  --color-violet: #7c3aed;
  --color-gold: #fbbf24;
  --color-amber: #f59e0b;
  --color-orange: #ea580c;
  --color-wave: #00d2e6;
  --color-success: #10b981;

  /* Gradients */
  --grad-passionate: linear-gradient(135deg, #f43f5e 0%, #be123c 50%, #9333ea 100%);
  --grad-gold: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #ea580c 100%);
  --grad-wave: linear-gradient(135deg, #00d2e6 0%, #0284c7 100%);
  --grad-card-hero: linear-gradient(145deg, rgba(225, 29, 72, 0.22) 0%, rgba(124, 58, 237, 0.28) 50%, rgba(15, 6, 28, 0.95) 100%);
  --grad-card-purple: linear-gradient(180deg, rgba(38, 16, 62, 0.9) 0%, rgba(20, 8, 34, 0.95) 100%);
  --grad-card-gold: linear-gradient(180deg, rgba(46, 26, 12, 0.9) 0%, rgba(22, 12, 6, 0.95) 100%);

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.65);
  --shadow-red: 0 10px 28px rgba(225, 29, 72, 0.38);
  --shadow-gold: 0 10px 28px rgba(245, 158, 11, 0.42);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 90% 25%, rgba(147, 51, 234, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 65%, rgba(245, 158, 11, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(225, 29, 72, 0.14) 0%, transparent 50%);
  background-attachment: fixed;
}

/* -------------------------------------------------------------
   TYPOGRAPHY & GRADIENTS (Crisp text, NO glowing blur/shadow)
------------------------------------------------------------- */
.gradient-title {
  background: linear-gradient(135deg, #ffffff 15%, #fb7185 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.gradient-title-gold {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.gradient-title-wave {
  background: linear-gradient(135deg, #ffffff 20%, #00d2e6 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.gradient-title-purple {
  background: linear-gradient(135deg, #ffffff 15%, #c084fc 60%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* -------------------------------------------------------------
   BREATHING CONVERSION BUTTON ANIMATIONS
------------------------------------------------------------- */
@keyframes breatheRed {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.45);
  }
  50% {
    transform: scale(1.028);
    box-shadow: 0 0 0 9px rgba(244, 63, 94, 0.18), 0 10px 30px rgba(225, 29, 72, 0.7);
  }
}

@keyframes breatheGold {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  }
  50% {
    transform: scale(1.028);
    box-shadow: 0 0 0 9px rgba(251, 191, 36, 0.2), 0 10px 30px rgba(245, 158, 11, 0.75);
  }
}

@keyframes breathePurple {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45);
  }
  50% {
    transform: scale(1.028);
    box-shadow: 0 0 0 9px rgba(168, 85, 247, 0.2), 0 10px 30px rgba(124, 58, 237, 0.7);
  }
}

.btn-breathe {
  animation: breatheRed 2.2s infinite ease-in-out;
}

.btn-breathe-gold {
  animation: breatheGold 2.2s infinite ease-in-out;
}

.btn-breathe-purple {
  animation: breathePurple 2.2s infinite ease-in-out;
}

/* -------------------------------------------------------------
   TOP SCROLLING TICKER & SLIDING POPUP TOAST (Clean full-width)
------------------------------------------------------------- */
.top-ticker-wrapper {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(14, 6, 24, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  width: 100%;
}

.ticker-icon-box {
  display: flex;
  align-items: center;
  padding: 0 6px 0 14px;
  color: var(--color-gold);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  gap: 36px;
  padding-left: 6px;
  flex: 1;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.ticker-user {
  color: #ffffff;
  font-weight: 700;
}

.ticker-action {
  color: var(--color-gold);
  font-weight: 600;
}

.ticker-time {
  font-size: 11px;
  color: var(--text-dim);
}

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

/* Floating Realtime Reward Popup Toast */
.reward-toast-container {
  position: fixed;
  top: 56px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.reward-toast {
  background: linear-gradient(135deg, rgba(32, 14, 52, 0.97) 0%, rgba(20, 8, 34, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 290px;
  max-width: 380px;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.reward-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.reward-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.18);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.reward-toast-body {
  flex: 1;
  font-size: 12px;
}

.reward-toast-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.reward-toast-desc {
  color: var(--color-gold);
  font-weight: 500;
}

/* -------------------------------------------------------------
   CONTAINER & HEADER
------------------------------------------------------------- */
/* -------------------------------------------------------------
   CONTAINER & HEADER
------------------------------------------------------------- */
.app-header-bar {
  width: 100%;
  background: transparent;
}

.header-inner {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-container {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 48px;
  flex: 1;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--grad-passionate);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.45);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 11px;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-header:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

/* -------------------------------------------------------------
   HIGH-ENERGY MONEY-MAKING HERO BANNER (100% Full-bleed, No side gaps, No border)
------------------------------------------------------------- */
.hero-banner-card {
  position: relative;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  margin: 0 0 24px 0;
  padding: 34px 16px 28px;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background-image: 
    linear-gradient(180deg, rgba(12, 4, 22, 0.72) 0%, rgba(20, 6, 32, 0.68) 100%),
    url('../images/wealth-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

.hero-content-inner {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Atmospheric decorative vector coin piles & rays */
.hero-bg-graphics {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.35;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.35) 0%, transparent 35%),
    radial-gradient(circle at 90% 15%, rgba(225, 29, 72, 0.35) 0%, transparent 35%);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-cash-highlight {
  display: inline-block;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 470px;
  margin: 0 auto 16px;
  line-height: 1.45;
}

/* Trust features strip */
.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

.trust-item .trust-icon {
  color: var(--color-gold);
  display: flex;
}

.trust-item span:last-child {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
}

/* -------------------------------------------------------------
   FEATURE 3: ONLINE DURATION ACTIVITY CARD (PURPLE & WAVE CYAN)
------------------------------------------------------------- */
.duration-card {
  background: var(--grad-card-purple);
  border: 1.5px solid rgba(147, 51, 234, 0.4);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.duration-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9333ea, #f43f5e, #fbbf24, #00d2e6);
}

.duration-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.duration-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.duration-icon-tag {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(225, 29, 72, 0.25));
  border: 1px solid rgba(147, 51, 234, 0.45);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.duration-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.duration-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.duration-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Today's Timer Meter */
.timer-meter-panel {
  background: rgba(15, 6, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.timer-meter-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.timer-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.timer-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-gold);
}

.progress-track {
  background: rgba(255, 255, 255, 0.09);
  height: 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  background: linear-gradient(90deg, #9333ea, #e11d48, #fbbf24);
  height: 100%;
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.5s ease-out;
}

.timer-caption {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 8-Day Milestones Rail */
.milestones-rail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.milestones-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.milestones-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.milestones-summary {
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 700;
}

.milestones-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.tier-milestone-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}

.tier-milestone-box.unlocked {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.tier-milestone-box.claimed {
  opacity: 0.65;
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.tier-amount {
  font-family: var(--font-display);
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tier-amount-val {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.tier-currency {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.tier-milestone-box.unlocked .tier-amount-val {
  color: var(--color-gold);
}

.tier-target {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-tier-claim {
  margin-top: 10px;
  width: 100%;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.btn-tier-claim.active {
  background: var(--grad-gold);
  color: #000;
  cursor: pointer;
  animation: breatheGold 2.2s infinite ease-in-out;
}

.btn-tier-claim.done {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  cursor: default;
  animation: none;
}

/* -------------------------------------------------------------
   CHECK-IN CARD (PASSIONATE CRIMSON & FLAMING GOLD)
------------------------------------------------------------- */
.checkin-card {
  background: linear-gradient(180deg, rgba(34, 12, 38, 0.9) 0%, rgba(20, 8, 28, 0.95) 100%);
  border: 1.5px solid rgba(225, 29, 72, 0.45);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
}

.streak-banner {
  text-align: center;
  margin-bottom: 18px;
}

.streak-sub {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.streak-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.streak-days-big {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.streak-unit {
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 700;
}

/* 7-Day badges row */
.days-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.day-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
}

.day-badge-col.checked {
  background: rgba(225, 29, 72, 0.16);
  border-color: rgba(225, 29, 72, 0.5);
  color: var(--color-red);
}

.day-badge-col.today {
  background: rgba(251, 191, 36, 0.16);
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
}

.day-name {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.day-status-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Check-in CTA Button */
.btn-main-action {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  background: var(--grad-passionate);
  color: #ffffff;
  letter-spacing: -0.01em;
}

.btn-main-action:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  cursor: not-allowed;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}

/* -------------------------------------------------------------
   PHYSICAL PRIZES SECTION (PDF Requirements)
------------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

.prizes-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.prize-card {
  background: linear-gradient(135deg, rgba(32, 14, 48, 0.85) 0%, rgba(18, 8, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.prize-card:hover {
  border-color: rgba(244, 63, 94, 0.4);
  transform: translateY(-2px);
}

.prize-image-box {
  width: 105px;
  height: 105px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prize-info-box {
  flex: 1;
  min-width: 0;
}

.prize-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.prize-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.prize-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prize-progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.prize-progress-track {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.prize-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e11d48, #fbbf24);
  border-radius: var(--radius-full);
}

.prize-progress-text {
  font-size: 11px;
  color: var(--color-gold);
  font-weight: 700;
  white-space: nowrap;
}

.btn-prize-claim {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-prize-claim.ready {
  background: var(--grad-gold);
  color: #000;
  cursor: pointer;
  animation: breatheGold 2.2s infinite ease-in-out;
}

.btn-prize-claim.claimed {
  background: #27272a !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  animation: none !important;
  opacity: 0.85;
}

.btn-prize-claim.claimed .svg-icon {
  color: #94a3b8 !important;
}

/* -------------------------------------------------------------
   FEATURE 2: BOTTOM VIDEO PORTAL ENTRANCE (FLAMING CRIMSON VIP)
------------------------------------------------------------- */
.video-portal-card {
  position: relative;
  background-image: 
    linear-gradient(180deg, rgba(22, 6, 18, 0.82) 0%, rgba(12, 3, 10, 0.94) 100%),
    url('../images/7907e14a4_generated_bd0b0c84.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid rgba(225, 29, 72, 0.55);
  border-radius: var(--radius-lg);
  padding: 26px 20px 24px;
  margin-top: 10px;
  margin-bottom: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-portal-card:hover {
  border-color: rgba(244, 63, 94, 0.7);
  transform: translateY(-2px);
}

.video-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.video-portal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(225, 29, 72, 0.2);
  color: #f43f5e;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.video-portal-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.video-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--grad-passionate);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.video-portal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-video-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  background: var(--grad-passionate);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  transition: all 0.25s ease;
  animation: breatheRed 2.4s infinite ease-in-out;
}

.btn-video-enter:hover {
  filter: brightness(1.1);
}

/* -------------------------------------------------------------
   RULES & FAQ ACCORDION
------------------------------------------------------------- */
.rules-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 26px;
}

.rules-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rules-list li {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.rules-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-top: 6px;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   MODALS (Wave, Shipping, User Center, Auth)
------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 2, 14, 0.82);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #150921;
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 470px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.modal-body {
  padding: 22px 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.09);
}

/* Wave Processing Confirmation Box */
.wave-processing-card {
  text-align: center;
  padding: 20px 10px;
}

.wave-spinner-box {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-top-color: var(--color-gold);
  animation: spin 1s infinite linear;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.wave-status-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.wave-status-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.45;
}

.wave-info-table {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  font-size: 13px;
  margin-bottom: 20px;
}

.info-table-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* User Center Records List */
.records-tab-header {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.records-tab-header::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.online-overview-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
}

.record-item-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  margin-bottom: 11px;
}

.record-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.record-item-title {
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}

.badge-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.badge-processing {
  background: rgba(245, 158, 11, 0.18);
  color: var(--color-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-completed {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Logistics tracking step timeline */
.logistics-timeline {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(244, 63, 94, 0.4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-step {
  position: relative;
  font-size: 12px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

.timeline-time {
  color: var(--text-dim);
  font-size: 11px;
}

.timeline-desc {
  color: var(--text-main);
}

/* App Footer */
.app-footer {
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
}

.app-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.app-footer a:hover {
  color: var(--color-gold);
}

/* -------------------------------------------------------------
   FIXED MOBILE BOTTOM NAVIGATION BAR (Sticky 4-Tab Bar)
------------------------------------------------------------- */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 3px;
  position: relative;
  user-select: none;
}

.bottom-nav-item .svg-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--color-gold);
}

.bottom-nav-item.active .svg-icon {
  color: var(--color-gold);
  transform: translateY(-2px);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.6);
}

/* User Center Standalone Page Specific Styles */
.user-profile-header-card {
  background: linear-gradient(145deg, rgba(30, 20, 50, 0.85) 0%, rgba(18, 10, 32, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.user-profile-header-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.user-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.user-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(225, 29, 72, 0.3) 100%);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

.user-identity-box {
  margin-left: 14px;
  flex: 1;
}

.user-name-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.user-email-text {
  font-size: 12px;
  color: var(--text-muted);
}

.user-stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.user-stat-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-gold);
}
