/* Numeroloji sayfası: astroloji.css'in üzerine sayılara özel parçalar. */

.big-number {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(243, 194, 107, 0.35);
}

/* --- Baş numerolog (konuşurken video oynar) --- */

.numerolog { position: relative; display: grid; justify-items: center; gap: 12px; margin: 0; }

.numerolog-glow {
  position: absolute;
  inset: 6% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 194, 107, 0.35), rgba(120, 80, 220, 0.22) 55%, transparent 72%);
  filter: blur(30px);
}

.numerolog-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid rgba(243, 194, 107, 0.55);
  border-radius: 50%;
  background: #fbf7ee;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(243, 194, 107, 0.08);
  transition: box-shadow 0.4s ease;
}

.numerolog-frame img,
.numerolog-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.numerolog-frame video { opacity: 0; transition: opacity 0.35s ease; }
.numerolog.is-speaking .numerolog-frame video { opacity: 1; }
.numerolog.is-speaking .numerolog-frame { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(243, 194, 107, 0.2), 0 0 60px rgba(243, 194, 107, 0.45); }

.numerolog figcaption { position: relative; display: grid; gap: 2px; text-align: center; }
.numerolog figcaption b { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.numerolog figcaption span { color: var(--muted); font-size: 0.86rem; }

/* --- Bugün --- */

.today-layout { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: stretch; }
.universal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.universal p:last-child { color: var(--muted); font-size: 0.94rem; }
.personal-day { border-color: rgba(255, 122, 0, 0.45); background: linear-gradient(140deg, rgba(255, 122, 0, 0.1), var(--card)); }

.cycle-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cycle-chips span {
  padding: 4px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

/* --- Profil --- */

.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.core-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 14px 8px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  color: inherit;
  background: var(--card);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.core-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.core-card .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1.05; color: var(--gold); }
.core-card .pos { font-size: 0.82rem; font-weight: 800; }
.core-card .tag { color: var(--muted); font-size: 0.76rem; }
.core-card.is-main { grid-column: span 2; grid-row: span 2; justify-content: center; border-color: rgba(255, 122, 0, 0.5); background: linear-gradient(150deg, rgba(255, 122, 0, 0.14), var(--card)); }
.core-card.is-main .num { font-size: 5rem; }
.core-card.is-main .pos { font-size: 1rem; }
.core-card .karmic { margin-top: 2px; color: #ffb3b3; font-size: 0.72rem; font-weight: 800; }

.grid-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.section-note.small { font-size: 0.8rem; margin-bottom: 10px; }

.loshu { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; }
.loshu span {
  display: grid;
  place-items: center;
  height: 64px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(243, 194, 107, 0.08);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.loshu span.is-empty { border-style: dashed; background: none; color: rgba(255, 255, 255, 0.2); }

/* --- Sayı kartları --- */

.number-grid .sign-name { font-size: 2rem; line-height: 1; margin-top: 4px; }
.dlg-position { margin-top: 8px; color: var(--muted); }

.concept-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 960px) {
  .today-layout { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: repeat(3, 1fr); }
  .core-card.is-main { grid-column: span 3; grid-row: auto; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .numerolog-frame { width: min(70vw, 280px); }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .core-card.is-main { grid-column: span 2; }
  .grid-row { grid-template-columns: 1fr; }
  .loshu { justify-content: center; }
  .concept-grid { grid-template-columns: 1fr; }
}

/* Ad alanı (astroloji formunda metin kutusu yok). */
.chart-form input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

/* Cormorant'ın eski stil rakamlarında 1, I harfine benziyor; hizalı rakam kullan. */
.big-number,
.core-card .num,
.number-grid .sign-name,
.loshu span,
#dlgName { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Numerolog seçiminde yüzler %50 büyük (84 → 126 px) */
.expert-slot .expert-face,
.expert-slot img,
.expert-slot .expert-q { width: 126px; height: 126px; }
.expert-slot .expert-q { font-size: 3.4rem; }
