/* Premium horoscope detail page styling matching Figma */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bg-color: #fffaf4; /* Soft cream background from Figma */
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --primary-orange: #ff6b35;
  --primary-orange-gradient: linear-gradient(135deg, #ff8a00 0%, #ff5e00 100%);
  --tab-bg: #f3f4f6;
}

body {
  background-color: var(--bg-color) !important;
}

.premium-horoscope-page {
  font-family: var(--font-body);
  color: var(--text-main);
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #fffaf4 0%, #fffaf4 25%, #ffffff 40%, #ffffff 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Zodiac Selector Carousel */
.zodiac-selector-container {
  text-align: center;
  margin-bottom: 3rem;
}

.zodiac-selector-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.zodiac-carousel {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.zodiac-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.zodiac-icon-wrapper:hover {
  text-decoration: none;
  color: var(--primary-orange);
}

.zodiac-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.zodiac-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.zodiac-icon-wrapper.active {
  color: var(--primary-orange);
  font-weight: 600;
}

.zodiac-icon-wrapper.active .zodiac-icon {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

/* Selected Sign Header */
.selected-sign-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.main-zodiac-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
  margin-bottom: 1rem;
  overflow: hidden;
}

.main-zodiac-icon img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.selected-sign-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #0b132a;
}

.zodiac-dates {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Tabs */
.horoscope-tabs-pill {
  display: flex;
  background-color: var(--tab-bg);
  border-radius: 2rem;
  padding: 0.3rem;
  gap: 0.2rem;
}

.horoscope-tabs-pill a {
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.horoscope-tabs-pill a:hover {
  color: var(--text-main);
}

.horoscope-tabs-pill a.active {
  background-color: var(--primary-orange);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* Button tabs (for JS snapshot switching) */
.h-tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.h-tab-btn:hover {
  color: var(--text-main);
}

.h-tab-btn.active {
  background-color: var(--primary-orange);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.h-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Lucky Elements Card */
.lucky-elements-card {
  background: var(--primary-orange-gradient);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.lucky-elements-card h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lucky-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lucky-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lucky-value-large {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lucky-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  background: #fff;
}

.lucky-color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #dc143c; /* Crimson */
  border: 3px solid #fff;
  margin-bottom: 0.5rem;
}

.lucky-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.lucky-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Category Cards */
.horoscope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width: 768px) {
  .horoscope-grid {
    grid-template-columns: 1fr;
  }
  .full-width-card {
    grid-column: 1 / -1;
  }
}

.h-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.h-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.h-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.h-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

.h-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.h-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.h-card-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Card Specific Colors */
.card-overview::before { background: #ff6b35; }
.card-overview .h-card-icon { background: #ff6b35; }

.card-love::before { background: #ec4899; } /* Pink */
.card-love .h-card-icon { background: #ec4899; }

.card-career::before { background: #f59e0b; } /* Orange/Yellow */
.card-career .h-card-icon { background: #f59e0b; }

.card-health::before { background: #10b981; } /* Green */
.card-health .h-card-icon { background: #10b981; }

.card-money::before { background: #eab308; } /* Yellow */
.card-money .h-card-icon { background: #eab308; }

.card-family::before { background: #8b5cf6; } /* Purple */
.card-family .h-card-icon { background: #8b5cf6; }

.card-tip::before { background: #3b82f6; } /* Blue */
.card-tip .h-card-icon { background: #3b82f6; }

@media(max-width: 640px) {
  .lucky-grid {
    grid-template-columns: 1fr;
  }
  .horoscope-tabs-pill {
    flex-wrap: wrap;
    justify-content: center;
  }
}
