/* ============================================================
   selam — stil
   Yön: eski takvim yaprağı + Osmanlı zayiçe (kare doğum haritası).
   Mürekkep zemin, mum ışığı altın, rubrik kırmızısı.
   Makine dili yok: konuşan biri var.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;1,6..96,400;1,6..96,600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --murekkep: #13100d;
  --is: #1c1814;
  --is-acik: #262019;
  --kagit: #ece2cd;
  --kagit-sonuk: #9c9280;
  --kagit-fisilti: #857c6a;
  --altin: #c9a54a;
  --lal: #a8443a;

  --display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --govde: 'Manrope', system-ui, -apple-system, sans-serif;

  --olcu: 34rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  background: var(--murekkep);
  color: var(--kagit);
  font-family: var(--govde);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: hidden;
}

/* Kağıt dokusu */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Mum ışığı: çok yavaş nefes alan sıcak parıltı */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 10%, rgba(201, 165, 74, 0.13), transparent 70%);
  animation: nefes 11s ease-in-out infinite;
}

@keyframes nefes {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

/* ---------- İskelet ---------- */

.kabuk {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--olcu);
  margin: 0 auto;
  padding: 3.5rem 1.4rem 5rem;
}

.tepe {
  text-align: center;
  margin-bottom: 3rem;
}

.tepe-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--altin);
  opacity: 0.55;
}

/* ---------- Sahneler ---------- */

.sahne { display: none; }

.sahne.aktif {
  display: block;
  animation: belir 0.85s ease both;
}

@keyframes belir {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Tipografi ---------- */

.baslik {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 9vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}

.baslik em {
  font-style: italic;
  color: var(--altin);
}

.alt-baslik {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.28;
  margin-bottom: 0.9rem;
}

.giris-yazi {
  color: var(--kagit-sonuk);
  font-size: 1.03rem;
  margin-bottom: 1.1rem;
}

.giris-yazi + .btn-yigin,
.giris-yazi + form { margin-top: 1.6rem; }

/* Etiketler: mono değil — aralıklı, ince, sıcak */
.eyebrow {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--altin);
  opacity: 0.75;
  margin-bottom: 1.1rem;
}

.vurgu { color: var(--altin); }
.kirmizi { color: var(--lal); }

/* ---------- Ayraç ---------- */

.ayrac {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.2rem 0;
}

.ayrac::before,
.ayrac::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,74,0.4), transparent);
}

.ayrac span {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--altin);
  flex: none;
}

/* ---------- Form ---------- */

.alan {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,165,74,0.42);
  color: var(--kagit);
  font-family: var(--display);
  font-size: 1.75rem;
  padding: 0.55rem 0.1rem;
  outline: none;
  transition: border-color 0.3s;
}

.alan::placeholder {
  color: var(--kagit-fisilti);
  font-style: italic;
}

.alan:focus { border-color: var(--altin); }

.alan-etiket {
  display: block;
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kagit-sonuk);
  margin-bottom: 0.5rem;
}

.tarih-satir {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr;
  gap: 0.7rem;
}

.secim {
  width: 100%;
  background: var(--is);
  border: 1px solid #2f281f;
  color: var(--kagit);
  font-family: var(--govde);
  font-size: 0.98rem;
  padding: 0.75rem 0.6rem;
  border-radius: 2px;
  outline: none;
}

.secim:focus { border-color: var(--altin); }

/* ---------- Düğmeler ---------- */

.btn {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--kagit);
  border: 1px solid rgba(201,165,74,0.34);
  border-radius: 2px;
  font-family: var(--govde);
  font-size: 0.96rem;
  font-weight: 400;
  text-align: left;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.btn:hover,
.btn:focus-visible {
  background: var(--is-acik);
  border-color: var(--altin);
}

.btn:focus-visible {
  outline: 2px solid var(--altin);
  outline-offset: 2px;
}

.btn-ana {
  background: var(--altin);
  border-color: var(--altin);
  color: var(--murekkep);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.btn-ana:hover,
.btn-ana:focus-visible {
  background: #d7b45c;
  border-color: #d7b45c;
}

.btn-sonuk {
  border-color: #322b22;
  color: var(--kagit-sonuk);
}

.btn-solgun {
  opacity: 0.3;
  pointer-events: none;
}

.btn-yigin {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.btn-ikili {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.nabiz { animation: nabiz 1.9s ease-in-out infinite; }

@keyframes nabiz {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 165, 74, 0.42); }
  50%      { box-shadow: 0 0 0 9px rgba(201, 165, 74, 0); }
}

/* ---------- Düşünme ---------- */

.dusunme-baslik {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--kagit-sonuk);
  margin-bottom: 2.4rem;
}

.cizgi-ince {
  height: 1px;
  background: #2a241d;
  margin-bottom: 2.6rem;
  overflow: hidden;
}

.cizgi-ince i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--altin);
  opacity: 0.65;
  transition: width 1.1s ease;
}

.dusunce {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1.5;
  color: #d8cdb6;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: dusunceBelir 1.1s ease forwards;
}

.dusunce-son {
  color: var(--altin);
  font-style: normal;
  font-size: 1.75rem;
}

@keyframes dusunceBelir {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Okuma satırları ---------- */

.okuma { margin-top: 0.4rem; }

.okuma li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.15rem;
  font-size: 1.03rem;
  opacity: 0;
  animation: belir 0.7s ease forwards;
}

.okuma li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--altin);
}

.etiket-satir {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lal);
  margin: 1.9rem 0 0.9rem;
}

/* ---------- Kart ---------- */

.kart {
  background: var(--is);
  border: 1px solid #2b241c;
  border-radius: 2px;
  padding: 1.6rem 1.35rem;
  margin-top: 1.4rem;
}

.kart-baslik {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--altin);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

/* ---------- Burç künyesi ---------- */

.kunye {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.3rem;
}

.kunye-glif {
  font-size: 3.2rem;
  line-height: 1;
  color: var(--altin);
}

.kunye-ad {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
}

.kunye-detay {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kagit-sonuk);
}

.kunye-izgara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2b241c;
  border: 1px solid #2b241c;
  margin-top: 1.3rem;
}

.kunye-izgara div {
  background: var(--is);
  padding: 0.85rem 0.6rem;
  text-align: center;
}

.kunye-izgara dt {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kagit-sonuk);
  margin-bottom: 0.35rem;
}

.kunye-izgara dd {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--kagit);
}

/* ---------- Zayiçe ---------- */

.zayice-sarmal {
  margin: 1.8rem auto 0;
  max-width: 22rem;
}

.zayice { width: 100%; height: auto; display: block; }

.zayice .cizgi {
  fill: none;
  stroke: rgba(201,165,74,0.45);
  stroke-width: 1.2;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  animation: ciz 2.4s ease forwards;
}

.zayice .cerceve {
  fill: none;
  stroke: var(--altin);
  stroke-width: 1.6;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  animation: ciz 1.8s ease forwards;
}

@keyframes ciz {
  to { stroke-dashoffset: 0; }
}

.zayice .glif {
  fill: var(--kagit);
  font-family: var(--display);
  font-size: 21px;
  text-anchor: middle;
  opacity: 0;
  animation: belirGlif 0.6s ease forwards;
}

.zayice .no {
  fill: rgba(201,165,74,0.6);
  font-family: var(--display);
  font-size: 11px;
  text-anchor: middle;
  opacity: 0;
  animation: belirGlif 0.6s ease forwards;
}

.zayice .oz {
  fill: var(--lal);
  font-family: var(--display);
  font-size: 15px;
  text-anchor: middle;
  opacity: 0;
  animation: belirGlif 0.7s ease forwards;
}

@keyframes belirGlif {
  to { opacity: 1; }
}

.zayice-alt {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--kagit-fisilti);
  text-align: center;
  margin-top: 0.9rem;
}

/* ---------- Ev yorumları ---------- */

.ev-liste { margin-top: 1.6rem; }

.ev {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid #251f19;
  align-items: baseline;
}

.ev-no {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--altin);
  text-transform: uppercase;
}

.ev-yazi { font-size: 0.98rem; }

/* ---------- Soru ---------- */

.soru-sayac {
  font-family: var(--govde);
  font-weight: 500;
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kagit-fisilti);
  margin-bottom: 1rem;
}

/* ---------- Final ---------- */

.final-kart {
  border: 1px solid rgba(201,165,74,0.4);
  border-radius: 2px;
  padding: 1.9rem 1.4rem;
  text-align: center;
  margin-top: 1.6rem;
  background: linear-gradient(180deg, rgba(201, 165, 74, 0.08), transparent);
}

.itiraf {
  margin-top: 2.8rem;
  padding: 1.3rem 1.3rem;
  border-left: 2px solid rgba(168,68,58,0.7);
  background: rgba(168, 68, 58, 0.05);
  font-size: 0.94rem;
  color: var(--kagit-sonuk);
  line-height: 1.75;
}

.itiraf strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--kagit);
  margin-bottom: 0.6rem;
}

.dip {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--kagit-fisilti);
}

/* ---------- Erişilebilirlik ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .zayice .cizgi,
  .zayice .cerceve { stroke-dashoffset: 0; }
  .zayice .glif,
  .zayice .no,
  .zayice .oz,
  .okuma li,
  .dusunce { opacity: 1; }
}

@media (min-width: 40rem) {
  .kabuk { padding-top: 5rem; }
  .baslik { font-size: 3.2rem; }
}
