/* MoonReading-style sections for PT SEO pages */

.calc-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.calc-tab {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
}

.calc-tab.active {
  background: var(--gradient-btn);
  color: #0a0e27;
  border-color: var(--color-gold);
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
}

.calc-form {
  max-width: 560px;
  margin: 0 auto;
}

.calc-field {
  margin-bottom: var(--space-lg);
}

.calc-field label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
  font-size: var(--fs-sm);
}

.calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 14, 39, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-white);
}

.calc-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.calc-result {
  display: none;
  margin-top: var(--space-xl);
}

.calc-result.show {
  display: block;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero-daily {
  background:
    linear-gradient(to bottom, rgba(10, 14, 39, 0.45), rgba(10, 14, 39, 0.92)),
    url('/assets/images/hero-daily-horoscope.webp');
  background-size: cover;
  background-position: center;
  padding: calc(76px + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.date-display {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.25);
  border-radius: var(--radius-full);
  color: #ffb347;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.daily-sign-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.daily-sign-card:hover {
  border-color: rgba(255, 165, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.15);
}

.sign-symbol {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 165, 0, 0.08);
  border: 1px solid rgba(255, 165, 0, 0.15);
  color: #ffb347;
  flex-shrink: 0;
}

.sign-symbol svg {
  width: 48px;
  height: 48px;
}

.sign-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.sign-header h2 {
  font-size: var(--fs-2xl);
  color: var(--color-white);
  margin: 0;
}

.sign-dates {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15em 0.6em;
  border-radius: var(--radius-full);
}

.daily-reading {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.daily-meters {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.meter-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.meter-stars {
  display: flex;
  gap: 2px;
}

.meter-star {
  width: 14px;
  height: 14px;
  color: #ffb347;
}

.meter-star.empty {
  opacity: 0.2;
}

.lucky-number {
  display: inline-block;
  background: rgba(255, 165, 0, 0.12);
  color: #ffb347;
  padding: 0.1em 0.5em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.tarot-spotlight-card {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.card-spread-section,
.spread-section {
  text-align: center;
}

.card-spread {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  height: 320px;
  perspective: 1200px;
  margin: 0 auto;
  max-width: 700px;
}

.spread-card {
  position: absolute;
  width: 150px;
  height: 240px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  transform-style: preserve-3d;
  opacity: 0;
  background: none;
  border: none;
  padding: 0;
}

.spread-card.dealt {
  opacity: 1;
}

.spread-card.not-chosen {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.spread-card .card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.spread-card .card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spread-card .card-back {
  transform: rotateY(0deg);
}

.spread-card .card-front {
  transform: rotateY(180deg);
}

.spread-card.flipped {
  transform: rotateY(180deg) !important;
  z-index: 20 !important;
}

.spread-card.flipped .card-front {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.reveal-section {
  display: none;
  padding: 0 0 4rem;
  text-align: center;
}

.reveal-section.visible {
  display: block;
}

.reveal-card-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
  background: rgba(26, 26, 78, 0.55);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.reveal-card-img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  margin: 0 auto var(--space-xl);
}

.horo-nav-link {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.horo-nav-link:hover {
  color: var(--color-gold);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.horo-nav-active {
  background: rgba(255, 255, 255, 0.05);
}

.moon-sphere-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-xl);
}

.moon-sphere {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.15), 0 0 80px rgba(255, 215, 0, 0.05), inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.moon-sphere-light {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #faf0d0 0%, #e8d8a0 25%, #c4aa5c 50%, #6b5a2e 75%, #2a2210 100%);
}

.moon-sphere-shadow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.8s ease, opacity 0.8s ease;
  background: radial-gradient(circle at 50% 50%, rgba(10, 14, 39, 0.98) 0%, rgba(10, 14, 39, 0.98) 72%, rgba(10, 14, 39, 0.92) 100%);
}

.moon-sphere-craters {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.3;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,0,0,0.3) 0%, transparent 8%),
    radial-gradient(circle at 55% 25%, rgba(0,0,0,0.2) 0%, transparent 6%),
    radial-gradient(circle at 65% 55%, rgba(0,0,0,0.25) 0%, transparent 10%),
    radial-gradient(circle at 40% 65%, rgba(0,0,0,0.2) 0%, transparent 7%),
    radial-gradient(circle at 75% 35%, rgba(0,0,0,0.15) 0%, transparent 5%);
}

.moon-sphere-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.moon-sphere-phase-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 39, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 16px;
  font-size: var(--fs-xs);
  color: var(--color-gold);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.illum-ring {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.illum-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.illum-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.illum-ring-pct {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-heading);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.illum-ring-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.today-phase {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.today-phase-name {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  color: var(--color-white);
}

.today-phase-date {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
  letter-spacing: 0.05em;
}

.date-picker-row {
  display: flex;
  gap: var(--space-sm);
  align-items: end;
}

.date-picker-row .calc-field {
  flex: 1;
  margin-bottom: 0;
}

.date-picker-row .btn {
  align-self: end;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.info-item {
  padding: var(--space-lg);
  background: rgba(10, 14, 39, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.info-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(10, 14, 39, 0.7);
}

.info-item-label {
  font-size: var(--fs-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.info-item-value {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.guidance-card {
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  transition: var(--transition-fast);
}

.guidance-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.guidance-title {
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guidance-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--color-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.guidance-text {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.score-bar-group {
  margin-bottom: var(--space-lg);
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  margin-bottom: 6px;
}

.score-bar-label span:first-child {
  color: var(--color-text-muted);
}

.score-bar-label span:last-child {
  color: var(--color-gold);
  font-weight: 600;
}

.score-bar {
  height: 10px;
  background: rgba(255, 215, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.score-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
  position: relative;
}

.score-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.score-bar-fill.excellent { background: linear-gradient(90deg, #27ae60, #2ecc71); box-shadow: 0 0 10px rgba(46,204,113,0.3); }
.score-bar-fill.good { background: linear-gradient(90deg, #f0a000, #ffd700); box-shadow: 0 0 10px rgba(255,215,0,0.3); }
.score-bar-fill.moderate { background: linear-gradient(90deg, #e67e22, #f39c12); box-shadow: 0 0 10px rgba(243,156,18,0.3); }
.score-bar-fill.challenging { background: linear-gradient(90deg, #e74c3c, #c0392b); box-shadow: 0 0 10px rgba(231,76,60,0.3); }

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.zodiac-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text-muted);
  position: relative;
  overflow: hidden;
}

.zodiac-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,215,0,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.zodiac-btn:hover,
.zodiac-btn.selected {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.zodiac-btn:hover::before,
.zodiac-btn.selected::before {
  opacity: 1;
}

.zodiac-btn-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-xs);
  display: block;
  border: 2px solid rgba(255,215,0,0.2);
  transition: border-color 0.3s;
}

.zodiac-btn:hover .zodiac-btn-img,
.zodiac-btn.selected .zodiac-btn-img {
  border-color: var(--color-gold);
}

.zodiac-btn-name {
  font-size: var(--fs-xs);
  font-weight: 500;
  position: relative;
}

.compat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.03) 0%, transparent 70%);
  border-radius: var(--radius-lg);
}

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

.compat-sign-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
  display: block;
  margin: 0 auto;
}

.compat-sign-name {
  color: var(--color-gold);
  font-size: var(--fs-sm);
  margin-top: var(--space-sm);
  font-weight: 500;
}

.compat-heart {
  font-size: 2rem;
  color: var(--color-accent-pink);
  animation: pulse 2s infinite;
}

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

.compat-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.compat-connector-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent, var(--color-gold));
}

.compat-score-big {
  text-align: center;
  margin: var(--space-xl) 0;
}

.compat-score-num {
  font-size: 4.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.3));
}

.compat-score-label {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: var(--space-sm);
}

.lp-number {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 3.5rem;
  font-weight: 700;
  color: #0a0e27;
  font-family: var(--font-heading);
  box-shadow: 0 0 40px rgba(255,215,0,0.3), 0 0 80px rgba(255,215,0,0.1);
  position: relative;
}

.lp-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.2);
}

.tarot-hero {
  background:
    linear-gradient(170deg, rgba(90, 50, 160, 0.45) 0%, rgba(10, 14, 39, 0.95) 60%),
    radial-gradient(ellipse at 30% 20%, rgba(128, 0, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
  background-color: var(--color-bg-deep);
  padding: calc(80px + 4rem) 0 3rem;
  text-align: center;
}

.tarot-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 1rem;
}

.tarot-hero h1 span {
  background: linear-gradient(135deg, var(--color-gold), #f0a000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tarot-hero p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.draw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.draw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
}

.spread-section,
.deck-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.spread-section h2,
.deck-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.spread-hint,
.deck-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.spread-container {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

.spread-container.visible {
  display: grid;
}

.spread-slot {
  text-align: center;
  max-width: 280px;
  width: 100%;
}

.spread-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spread-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-top: 1rem;
  min-height: 1.4em;
}

.spread-card-orientation {
  font-size: 0.85rem;
  color: #a855f7;
  font-weight: 600;
  margin-top: 0.3rem;
}

.spread-card-meaning {
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  min-height: 3em;
}

.tarot-card {
  width: 180px;
  height: 311px;
  perspective: 800px;
  cursor: pointer;
  margin: 0 auto;
}

.tarot-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.tarot-card.flipped .tarot-card-inner {
  transform: rotateY(180deg);
}

.tarot-card-front,
.tarot-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.tarot-card-front {
  transform: rotateY(180deg);
}

.tarot-card-front img,
.tarot-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tarot-card:not(.flipped):hover .tarot-card-inner {
  transform: rotateY(8deg);
}

.tarot-card:not(.flipped) .tarot-card-back {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(124,58,237,0.15);
}

.redraw-area {
  text-align: center;
  margin-top: 2rem;
  display: none;
}

.redraw-area.visible {
  display: block;
}

.suit-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.suit-btn {
  background: rgba(255,255,255,0.04);
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suit-btn:hover,
.suit-btn.active {
  background: rgba(124,58,237,0.16);
  border-color: rgba(168,85,247,0.45);
  color: #fff;
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.card-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 20, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 10020;
}

.card-modal-overlay.open {
  display: flex;
}

.card-modal {
  position: relative;
  width: min(720px, 100%);
  background: linear-gradient(145deg, rgba(21, 18, 46, 0.96), rgba(10, 14, 39, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

.card-modal img {
  width: min(240px, 100%);
  border-radius: 16px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.card-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.card-modal h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.card-modal-meanings {
  color: var(--color-text);
  line-height: 1.8;
}

.upright-label {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-card-media {
  display: block;
  margin: 0 auto var(--space-md);
  object-fit: cover;
  border: 2px solid rgba(255,215,0,0.2);
}

.feature-card-media--circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

.feature-card-media--poster {
  width: 112px;
  height: 170px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
}

.theme-page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(76px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-lg);
  background-size: cover;
  background-position: center;
}

.theme-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,39,0.45), rgba(10,14,39,0.92));
}

.theme-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.theme-page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.theme-page-hero p {
  color: var(--color-text);
  font-size: var(--fs-lg);
  line-height: 1.75;
}

.theme-page-hero--love { background-image: url('/assets/images/hero-love-horoscope.webp'); }
.theme-page-hero--career { background-image: url('/assets/images/hero-career-horoscope.webp'); }
.theme-page-hero--money { background-image: url('/assets/images/hero-money-horoscope.webp'); }
.theme-page-hero--health { background-image: url('/assets/images/hero-health-horoscope.webp'); }
.theme-page-hero--lunar { background-image: url('/assets/images/hero-lunar.webp'); }
.theme-page-hero--numbers { background-image: url('/assets/images/hero-daily-horoscope.webp'); }

.theme-sign-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-sign-icon svg {
  width: 100%;
  height: 100%;
}

.theme-sign-icon--love { color: #ff6b9d; }
.theme-sign-icon--career { color: #5ea3f7; }
.theme-sign-icon--money { color: #00c878; }
.theme-sign-icon--health { color: #64dcb4; }
.theme-sign-icon--lunar { color: #c8d0ff; }

.love-sign-card,
.career-card,
.money-card,
.health-card,
.lunar-sign-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.love-sign-card:hover,
.career-card:hover,
.money-card:hover,
.health-card:hover,
.lunar-sign-card:hover {
  transform: translateY(-4px);
}

.love-sign-card:hover {
  border-color: rgba(255,107,157,0.4);
  box-shadow: 0 0 25px rgba(247,47,142,0.15);
}

.love-card-header,
.career-card-top,
.money-card-header,
.health-card-top,
.lunar-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
}

.love-card-header {
  background: rgba(247,47,142,0.04);
  border-bottom: 1px solid rgba(247,47,142,0.1);
}

.love-card-header h2,
.career-card-top h2,
.money-card-header h2,
.health-card-top h2,
.lunar-card-header h2 {
  font-size: var(--fs-xl);
  margin: 0;
  color: var(--color-white);
}

.love-card-body,
.career-card-body,
.health-card-body,
.lunar-card-body {
  padding: var(--space-xl);
}

.love-reading,
.career-reading,
.money-reading,
.health-reading {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.compatibility-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(247,47,142,0.04);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-top: var(--space-lg);
}

.compat-label {
  min-width: 112px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compat-signs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.compat-sign {
  display: inline-block;
  padding: 0.15em 0.6em;
  background: rgba(255,107,157,0.1);
  border: 1px solid rgba(255,107,157,0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: #ff6b9d;
  font-weight: 600;
}

.love-mood {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  color: #ff6b9d;
  font-weight: 600;
}

.heart-meter {
  display: flex;
  gap: 2px;
}

.heart {
  width: 14px;
  height: 14px;
  color: #ff6b9d;
  flex-shrink: 0;
}

.heart.empty {
  opacity: 0.2;
}

.career-card:hover {
  border-color: rgba(47,142,247,0.4);
  box-shadow: 0 0 25px rgba(47,142,247,0.15);
}

.career-card-top {
  justify-content: space-between;
  background: rgba(47,142,247,0.04);
  border-bottom: 1px solid rgba(47,142,247,0.1);
}

.career-sign-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.career-outlook {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.career-outlook--excellent {
  background: rgba(0,200,120,0.12);
  color: #00c878;
  border: 1px solid rgba(0,200,120,0.25);
}

.career-outlook--good {
  background: rgba(94,163,247,0.12);
  color: #5ea3f7;
  border: 1px solid rgba(94,163,247,0.25);
}

.career-outlook--steady {
  background: rgba(255,215,0,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(255,215,0,0.25);
}

.career-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.career-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.2em 0.6em;
  background: rgba(47,142,247,0.06);
  border: 1px solid rgba(47,142,247,0.15);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  color: #5ea3f7;
}

.money-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.money-card:hover {
  border-color: rgba(0,200,120,0.4);
  box-shadow: 0 0 25px rgba(0,200,120,0.12);
}

.money-card-header {
  padding: 0;
  margin-bottom: var(--space-lg);
}

.money-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.prosperity-meter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

.prosperity-bar {
  display: flex;
  gap: 3px;
}

.prosperity-pip {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,200,120,0.15);
}

.prosperity-pip.filled {
  background: #00c878;
}

.money-advice {
  display: inline-block;
  padding: 0.2em 0.6em;
  background: rgba(0,200,120,0.08);
  border: 1px solid rgba(0,200,120,0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: #00c878;
  font-weight: 600;
}

.health-card:hover {
  border-color: rgba(100,220,180,0.4);
  box-shadow: 0 0 25px rgba(100,220,180,0.12);
}

.health-card-top {
  background: rgba(100,220,180,0.04);
  border-bottom: 1px solid rgba(100,220,180,0.1);
}

.health-areas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.health-area {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(100,220,180,0.06);
  border: 1px solid rgba(100,220,180,0.15);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.area-label {
  color: var(--color-text-muted);
}

.area-value {
  color: #64dcb4;
}

.vitality-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.vitality-label {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vitality-track {
  height: 10px;
  background: rgba(100,220,180,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.vitality-fill {
  height: 100%;
  background: linear-gradient(90deg, #42d392, #64dcb4);
  border-radius: var(--radius-full);
}

.vitality-pct {
  color: #64dcb4;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.wellness-tip {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(100,220,180,0.06);
  border: 1px solid rgba(100,220,180,0.12);
  color: var(--color-text);
  line-height: 1.7;
}

.lunar-sign-card:hover {
  border-color: rgba(184,198,255,0.35);
  box-shadow: 0 0 25px rgba(184,198,255,0.12);
}

.lunar-card-header {
  background: rgba(184,198,255,0.05);
  border-bottom: 1px solid rgba(184,198,255,0.12);
}

.lunar-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.lunar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  background: rgba(184,198,255,0.08);
  border: 1px solid rgba(184,198,255,0.16);
  color: #c8d0ff;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.month-card {
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.month-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.event-list {
  list-style: none;
  padding: 0;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.event-item:last-child {
  border-bottom: none;
}

.event-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.event-dot--retrograde { background: #f75a5a; box-shadow: 0 0 8px rgba(247,90,90,0.5); }
.event-dot--full-moon { background: #ffd700; box-shadow: 0 0 8px rgba(255,215,0,0.5); }
.event-dot--new-moon { background: #c0c0c0; box-shadow: 0 0 8px rgba(192,192,192,0.4); }
.event-dot--eclipse { background: #7b2ff7; box-shadow: 0 0 8px rgba(123,47,247,0.5); }
.event-dot--other { background: #2f8ef7; box-shadow: 0 0 8px rgba(47,142,247,0.4); }

.event-date {
  font-weight: 600;
  color: var(--color-white);
  min-width: 92px;
  font-size: var(--fs-sm);
}

.event-name {
  font-weight: 500;
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.event-tag {
  display: inline-block;
  padding: 0.15em 0.6em;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: var(--space-sm);
  vertical-align: middle;
}

.event-tag--retrograde { background: rgba(247,90,90,0.15); color: #f75a5a; }
.event-tag--full-moon { background: rgba(255,215,0,0.12); color: #ffd700; }
.event-tag--new-moon { background: rgba(192,192,192,0.12); color: #c0c0c0; }
.event-tag--eclipse { background: rgba(123,47,247,0.15); color: #a77bff; }
.event-tag--other { background: rgba(47,142,247,0.12); color: #5ba8ff; }

.major-event-box {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}

.major-event-box h4 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

.major-event-box p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  padding: var(--space-xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.matrix-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.matrix-wrap {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.matrix-table th,
.matrix-table td {
  border: 1px solid var(--color-border);
  text-align: center;
  padding: 0.55rem;
  font-size: var(--fs-xs);
}

.matrix-table th {
  color: var(--color-gold);
  background: rgba(255,215,0,0.05);
}

.matrix-cell {
  cursor: pointer;
  transition: background .2s ease;
}

.matrix-cell:hover {
  background: rgba(255,215,0,0.12);
}

@media (max-width: 768px) {
  .compat-grid { grid-template-columns: 1fr; }
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .daily-sign-card { grid-template-columns: 1fr; text-align: center; }
  .tarot-spotlight-card { grid-template-columns: 1fr; text-align: center; }
  .theme-page-hero { padding: calc(72px + var(--space-2xl)) var(--space-lg) var(--space-2xl); }
  .theme-page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .theme-page-hero p { font-size: var(--fs-base); }
  .feature-card-media--poster { width: 96px; height: 148px; }
  .month-card { padding: var(--space-xl); }
  .event-item { flex-wrap: wrap; }
  .event-date { min-width: 72px; }
  .love-card-header,
  .career-card-top,
  .money-card-header,
  .health-card-top,
  .lunar-card-header { flex-direction: column; text-align: center; }
  .career-card-top { align-items: center; }
  .career-sign-info { flex-direction: column; }
  .compatibility-row { flex-direction: column; align-items: flex-start; }
  .money-bottom { flex-direction: column; align-items: flex-start; }
  .vitality-bar { grid-template-columns: 1fr; }
  .card-spread { height: 280px; }
  .spread-card { width: 120px; height: 192px; }
  .reveal-card-container { padding: 1.5rem; }
  .sign-symbol { margin: 0 auto; }
  .sign-header { justify-content: center; }
  .daily-meters { justify-content: center; }
  .spread-container { grid-template-columns: 1fr; }
  .card-modal { padding: 1.5rem; }
  .date-picker-row { flex-direction: column; align-items: stretch; }
  .date-picker-row .btn { align-self: stretch; }
  .compat-visual { flex-direction: column; }
}
