/* ==========================================================================
   Astrology & Numerology Interactive Tools CSS
   (Horoscope, Date of Birth Calculator, Name Check)
   ========================================================================== */

/* Horoscope Sign Selector Grid */
.zodiac-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 640px) {
  .zodiac-selector-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
}

.zodiac-card-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.zodiac-card-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-400);
  transform: translateY(-4px);
}

.zodiac-card-btn.active {
  background: radial-gradient(circle at center, #262c54 0%, #121630 100%);
  border-color: var(--gold-400);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.25);
}

.zodiac-card-btn img {
  width: 44px;
  height: 44px;
  transition: transform 0.3s ease;
}

.zodiac-card-btn:hover img,
.zodiac-card-btn.active img {
  transform: scale(1.1);
}

.zodiac-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.zodiac-card-btn.active .zodiac-name {
  color: var(--gold-300);
}

.zodiac-date-range {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Horoscope Result Dashboard */
.horoscope-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.horoscope-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 2rem;
}

.horoscope-identity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.horoscope-identity img {
  width: 60px;
  height: 60px;
}

.horoscope-identity h3 {
  font-size: 1.6rem;
  color: var(--gold-200);
}

.horoscope-element-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(234, 179, 8, 0.12);
  color: var(--gold-300);
  border: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.horoscope-time-tabs {
  display: flex;
  gap: 0.5rem;
}

.horoscope-time-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.horoscope-time-tab.active {
  background: var(--gold-gradient);
  color: #0b0d18;
  font-weight: 600;
  border-color: var(--gold-400);
}

.horoscope-vibe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.vibe-card {
  background: rgba(10, 13, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.vibe-card-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.vibe-meter-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.6rem;
}

.vibe-meter-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}

.vibe-val-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-300);
  font-weight: 600;
}

.horoscope-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .horoscope-text-grid {
    grid-template-columns: 1fr;
  }
}

.horo-block {
  background: rgba(14, 18, 36, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.horo-block h4 {
  color: var(--gold-200);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Date of Birth & Life Path Calculator
   ========================================================================== */
.tool-calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 820px;
  margin: 0 auto 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.calc-form-group {
  margin-bottom: 1.8rem;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.calc-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  transition: var(--transition);
}

.calc-input:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

.calc-results-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 2.5rem;
  animation: fadeIn 0.6s ease-in-out;
}

.result-hero-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #252b50 0%, #0d1024 100%);
  border: 3px solid var(--gold-400);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.result-hero-circle .number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-200);
  line-height: 1;
}

.result-hero-circle .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.life-path-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--gold-200);
  margin-bottom: 0.5rem;
}

.life-path-archetype {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.blueprint-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.blueprint-pill {
  background: rgba(14, 18, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.blueprint-pill-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.blueprint-pill-val {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-300);
  font-weight: 600;
}

.math-reduction-box {
  background: rgba(10, 13, 26, 0.8);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  margin: 1.8rem 0;
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--gold-200);
}

/* ==========================================================================
   Name Numerology Table & Visualizer
   ========================================================================== */
.name-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.name-breakdown-table th,
.name-breakdown-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border: 1px solid var(--border-glass);
}

.name-breakdown-table th {
  background: rgba(234, 179, 8, 0.1);
  color: var(--gold-300);
  font-family: var(--font-serif);
}

.letter-cell {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.num-cell {
  color: var(--gold-200);
  font-weight: 600;
}

.vowel-indicator {
  color: #5de2e7;
  font-size: 0.75rem;
}

.consonant-indicator {
  color: #eab308;
  font-size: 0.75rem;
}

.numerology-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .numerology-triad-grid {
    grid-template-columns: 1fr;
  }
}

.triad-card {
  background: rgba(14, 18, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
}

.triad-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-300);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.triad-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
