@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --color-space-deep: #050507;
  --color-space-mid: #0a0a0c;
  --color-space-light: #121214;
  --color-gold: #D4AF37;
  --color-gold-light: #F9E2AF;
  --color-gold-dark: #B8860B;
  --color-gold-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #F9E2AF 100%);

  --color-text-dark: #1A1A1A;
  --color-text-muted: #4A4A4A;
  --color-white: #FFFFFF;
  --color-bg-light: #F8F9FA;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.4);
}

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

body {
  font-family: var(--font-sans);
  background: #050508;
  background-attachment: fixed;
  color: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Nebula glow layer */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(88, 28, 135, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(59, 7, 100, 0.12), transparent 45%),
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(30, 58, 138, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 50% at 90% 85%, rgba(107, 91, 149, 0.12), transparent 40%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(88, 28, 135, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Stars layer */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 5% 8%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 25% 60%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 35% 15%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 55% 35%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 65% 55%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 75% 90%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2.5px 2.5px at 85% 20%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 95% 70%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 12% 45%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 42% 42%, rgba(212, 175, 55, 0.8), transparent),
    radial-gradient(1px 1px at 88% 55%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 22% 88%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 62% 18%, rgba(212, 175, 55, 0.6), transparent);
  background-size: 350px 350px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.2; }
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
}

.content-card {
  background: var(--color-white);
  color: var(--color-text-dark);
  border-radius: 8px;
  padding: 0.5rem 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .content-card {
    padding: 1rem var(--spacing-lg) var(--spacing-lg);
  }
}

/* Components */
.btn-gold {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFD700;
  color: #000;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #B8860B;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  line-height: 1;
  animation: pulse-gold 3s infinite;
}

@keyframes pulse-gold {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  }
}

.btn-scarcity {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 5px;
  opacity: 1;
  letter-spacing: 0;
  color: #1a1a1a;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.gold-text {
  color: #996515;
  font-weight: 700;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Pattern Interrupts */
.pattern-interrupt {
  border-left: 5px solid var(--color-gold);
  padding: 15px var(--spacing-md);
  margin: var(--spacing-md) 0;
  background: var(--color-bg-light);
  border-radius: 0 8px 8px 0;
}

.pattern-interrupt > *:last-child {
  margin-bottom: 0;
}

/* Shared Animations */
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.pulse--live {
  background: #00c853;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: relative;
  z-index: 100;
}

.logo-nav {
  padding: 12px 0;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.symbol {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.domain {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
}

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-wrapper {
  overflow-x: hidden;
}

.hero {
  background: var(--color-space-deep);
  padding: 1.5rem 0 5rem 0;
  text-align: center;
}

.article-container {
  margin-top: -100px;
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.1;
  color: var(--color-text-dark);
}

.hero-subline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: right;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.category {
  color: var(--color-gold-dark);
}

.read-time {
  color: var(--color-text-muted);
}

.hero-image {
  margin: var(--spacing-md) 0;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.hero-image .caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.story-content h2 {
  margin: 2rem 0 1rem 0;
  font-size: 1.8rem;
}

.story-content p {
  margin-bottom: 0.85rem;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-mobile-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 12, 0.95);
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.btn-gold-small {
  background: #FFD700;
  color: #000;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  border: 2px solid #B8860B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse-gold 3s infinite;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .article-headline {
    font-size: 1.8rem;
  }
}

/* ============================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================ */
.social-proof {
  margin: 2rem 0;
  background: #FDFBF7;
  padding: 1.25rem 0.75rem;
  border-radius: 6px;
}

.proof-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.proof-number {
  display: inline;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  line-height: 1;
}

.proof-label {
  display: inline;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-left: 0.35rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial {
  border-left: 5px solid var(--color-gold);
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  padding-left: 1.25rem;
  border-radius: 0 6px 6px 0;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: 0.5rem;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

.testimonial-author {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
  text-align: right;
}

/* ============================================
   ZODIAC SELECTOR
   ============================================ */
.zodiac-selector {
  margin: 1.5rem 0;
  background: #FAF8F5;
  border: 1px solid #E8E4DD;
  padding: 1.5rem 1rem;
  border-radius: 8px;
}

.selector-card {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

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

h2.text-center {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.sub-text {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

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

.zodiac-item {
  background: white;
  border: none;
  border-radius: 8px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.zodiac-item:hover {
  background: #FDF3D7;
}

.sign-icon {
  font-size: 1.8rem;
  color: #B8860B;
  margin-bottom: 4px;
  line-height: 1;
}

.sign-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.sign-date {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .zodiac-item {
    padding: 10px 4px;
  }
  .sign-icon {
    font-size: 1.5rem;
  }
  .sign-name {
    font-size: 0.85rem;
  }
  .sign-date {
    font-size: 0.65rem;
  }
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-container {
  margin: 1.5rem 0;
}

.cta-box {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  border-top: 3px solid #6B5B95;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cta-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #6B5B95;
  object-fit: cover;
}

.cta-text h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.cta-text p {
  margin-bottom: 1.25rem;
}

.cta-trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6B5B95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-timer-box {
  color: #6B5B95;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 1.5rem 1.25rem;
  }
  .cta-image img {
    width: 100px;
    height: 100px;
  }
  .cta-text h3 {
    font-size: 1.2rem;
  }
}

/* ============================================
   EXIT POPUP
   ============================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-container {
  max-width: 480px;
  width: calc(100% - 40px);
}

.popup-content {
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
  color: var(--color-text-dark);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 0 3px rgba(90, 61, 138, 0.3),
    0 0 0 6px rgba(90, 61, 138, 0.15),
    0 0 60px rgba(90, 61, 138, 0.2),
    0 25px 80px rgba(0, 0, 0, 0.4);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.4);
}

.scarcity-tag {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.popup-content h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.popup-content p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.popup-content .btn-gold {
  width: 100%;
  margin-bottom: 1rem;
}

.trust-note {
  font-size: 0.8rem;
  color: #555;
}

/* ============================================
   SOCIAL TOAST
   ============================================ */
.social-proof-toast {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: white;
  color: #1a1a1a;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  border-left: 4px solid #FFD700;
  max-width: 250px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

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

.toast-content p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .social-proof-toast {
    bottom: 70px;
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-space-deep);
  color: #aaa;
  padding: 2rem 1rem 5rem 1rem;
  text-align: center;
  margin-top: var(--spacing-lg);
}

.footer .disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  color: #999;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .separator {
  color: #666;
  font-size: 0.7rem;
}

.footer .copyright {
  font-size: 0.75rem;
  color: #aaa;
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 1.8rem;
  }
}

/* Body scroll lock for popup */
body.popup-open {
  overflow: hidden;
}
