/* ═══════════════════════════════════════════════════════════════════════
   Prosperous Monitor — Chinese Slot Machine Theme
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --imperial-red: #C8102E;
  --deep-crimson: #8B0000;
  --midnight: #1A0000;
  --gold: #FFD700;
  --dark-gold: #B8860B;
  --pale-gold: #FFF8DC;
  --jade: #00A86B;
  --lucky-black: #0D0D0D;
  --lantern-glow: rgba(255, 215, 0, 0.15);
  --card-bg: rgba(139, 0, 0, 0.3);
  --border-gold: linear-gradient(135deg, #FFD700, #B8860B, #FFD700);
}

/* ─── Reset & Base ─────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--midnight);
  color: var(--pale-gold);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: #FFA500; }

code {
  background: rgba(255, 215, 0, 0.1);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--gold);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Navigation ───────────────────────────────────────────────── */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }

.nav-links a {
  font-size: 0.9rem;
  color: var(--pale-gold);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--gold); }

.nav-cta {
  padding: 0.4rem 1rem !important;
  background: linear-gradient(135deg, var(--gold), #FFA500) !important;
  color: var(--midnight) !important;
  border-radius: 6px;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero Section ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 3rem;
  background: radial-gradient(ellipse at center, var(--deep-crimson) 0%, var(--midnight) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(200, 16, 46, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-lanterns {
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.5rem;
  margin-bottom: 1.5rem;
  animation: lanternSway 3s ease-in-out infinite;
}

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

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  margin-bottom: 0.5rem;
  max-width: 800px;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-ctas { margin-bottom: 2rem; }

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--gold), #FFA500);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
  color: var(--midnight);
}

.cta-sub {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Slot Machine ─────────────────────────────────────────────── */

.slot-machine {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.slot-frame {
  background: linear-gradient(180deg, #2a0000 0%, #1a0000 100%);
  border: 3px solid;
  border-image: var(--border-gold) 1;
  border-radius: 12px;
  padding: 1rem;
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.slot-header {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.2em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 0.75rem;
}

.slot-reels {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.reel {
  width: 70px;
  height: 70px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0000 0%, #150000 50%, #0a0000 100%);
  border: 2px solid var(--dark-gold);
  border-radius: 6px;
  position: relative;
}

.reel::before,
.reel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 15px;
  z-index: 2;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(10, 0, 0, 0.9), transparent);
}

.reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(10, 0, 0, 0.9), transparent);
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-strip span {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.slot-line {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 50%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transform: translateY(12px);
  pointer-events: none;
  opacity: 0.5;
}

.jackpot-text {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.75rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s, transform 0.5s;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.jackpot-text.show {
  opacity: 1;
  transform: scale(1);
  animation: jackpotPulse 0.5s ease-in-out 3;
}

@keyframes jackpotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Lever */
.slot-lever {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-left: -2px;
  position: relative;
  z-index: 1;
}

.lever-base {
  width: 16px;
  height: 40px;
  background: linear-gradient(90deg, #8B6914, #B8860B, #8B6914);
  border-radius: 0 4px 4px 0;
}

.lever-arm {
  width: 8px;
  height: 50px;
  background: linear-gradient(90deg, #C0C0C0, #E8E8E8, #C0C0C0);
  border-radius: 4px;
  transform-origin: bottom center;
  transition: transform 0.3s ease;
}

.lever-knob {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 40% 40%, #FF4444, var(--imperial-red), #8B0000);
  border-radius: 50%;
  border: 2px solid var(--dark-gold);
  margin-top: -2px;
  transition: transform 0.3s ease;
}

.slot-lever.pulled .lever-arm { transform: rotate(30deg); }
.slot-lever.pulled .lever-knob { transform: translateY(10px); }

/* Gold particles */
.gold-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFly 1s ease-out forwards;
}

@keyframes particleFly {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

/* ─── Sections (shared) ───────────────────────────────────────── */

.section {
  padding: 5rem 0;
  position: relative;
}

.section-divider {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  margin-bottom: 1rem;
}

.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  opacity: 0.85;
}

/* ─── Alert Cards ──────────────────────────────────────────────── */

.alerts-section {
  background: linear-gradient(180deg, var(--midnight) 0%, rgba(139, 0, 0, 0.15) 50%, var(--midnight) 100%);
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.alert-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.alert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-gold);
}

.alert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

.card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.alert-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.alert-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  border-radius: 20px;
}

/* ─── Telegram Preview ─────────────────────────────────────────── */

.preview-section {
  background: linear-gradient(180deg, var(--midnight) 0%, rgba(0, 0, 0, 0.3) 50%, var(--midnight) 100%);
}

.telegram-preview {
  max-width: 500px;
  margin: 0 auto 2rem;
  background: #1a2236;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #17202a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-avatar {
  font-size: 1.5rem;
}

.tg-name {
  font-weight: 700;
  color: #7eb8da;
  font-size: 0.95rem;
}

.tg-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  background: rgba(126, 184, 218, 0.2);
  color: #7eb8da;
  border-radius: 3px;
  font-weight: 700;
}

.tg-message {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e4e6eb;
}

.tg-lanterns {
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
}

.tg-alert-type {
  font-weight: 700;
  font-size: 1rem;
  padding: 0.25rem 0;
}

.tg-line { padding: 0.1rem 0; }

.tg-line strong { color: #e4e6eb; }

.tg-link a { color: #7eb8da; font-size: 0.85rem; }

.tg-footer {
  font-style: italic;
  opacity: 0.6;
  font-size: 0.8rem;
}

.tg-timestamp {
  text-align: right;
  padding: 0.25rem 1rem 0.5rem;
  font-size: 0.7rem;
  color: #8696a0;
}

.preview-caption {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

/* ─── How It Works ─────────────────────────────────────────────── */

.steps-section {
  background: linear-gradient(180deg, var(--midnight) 0%, rgba(139, 0, 0, 0.1) 50%, var(--midnight) 100%);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  background: var(--card-bg);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 260px;
  flex: 1;
  min-width: 200px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.step h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.9rem; opacity: 0.85; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ─── Pricing ──────────────────────────────────────────────────── */

.pricing-section {
  background:
    radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%),
    var(--midnight);
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.3) 0%, rgba(26, 0, 0, 0.8) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}

.pricing-badge {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pricing-amount {
  margin-bottom: 2rem;
}

.pricing-amount .old-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.5);
  text-decoration: line-through;
  line-height: 1;
  margin-right: 0.5rem;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  color: var(--gold);
  vertical-align: top;
  line-height: 1.2;
}

.pricing-amount .price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.pricing-amount .cents {
  font-size: 1.5rem;
  color: var(--gold);
  vertical-align: top;
  line-height: 1.2;
}

.pricing-amount .period {
  display: block;
  font-size: 1rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  font-size: 0.95rem;
}

.cta-pricing {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.promo-banner {
  background: rgba(255, 215, 0, 0.08);
  border: 1px dashed rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.promo-icon { font-size: 1.3rem; }

.promo-banner p {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Countdown */
.countdown-wrap { margin-top: 0.5rem; }

.countdown-label {
  font-size: 0.8rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.cd-unit { text-align: center; }

.cd-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 2.5rem;
}

.cd-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ─── FAQ ──────────────────────────────────────────────────────── */

.faq-section {
  background: linear-gradient(180deg, var(--midnight) 0%, rgba(0, 0, 0, 0.2) 50%, var(--midnight) 100%);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pale-gold);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-item summary:hover { color: var(--gold); }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ─── Footer ───────────────────────────────────────────────────── */

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  background: var(--lucky-black);
}

.footer-cta {
  text-align: center;
  margin-bottom: 3rem;
}

.fortune-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.08);
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.4;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.3;
}

/* ─── Scroll Reveal Animation ──────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 0, 0, 0.98);
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  }
  .nav-toggle { display: block; }

  .hero { padding-top: 5rem; }

  .hero-stats { gap: 1.5rem; }

  .slot-machine { transform: scale(0.85); }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }

  .step { max-width: none; }
  .step-arrow { transform: rotate(90deg); text-align: center; }

  .alert-grid { grid-template-columns: 1fr; }

  .pricing-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .slot-machine { transform: scale(0.7); }

  .reel {
    width: 60px;
    height: 60px;
  }

  .reel-strip span {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .cta-btn {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }

  .pricing-amount .price,
  .pricing-amount .old-price { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .alert-grid { grid-template-columns: repeat(4, 1fr); }
}
