/* THEOI — görsel dil: obsidyen, fildişi, altın */
:root {
  --obsidian: #0b0a09;
  --obsidian-2: #12100d;
  --obsidian-3: #191510;
  --ivory: #ece3d0;
  --ivory-dim: #cec3b0;
  --ivory-faint: #a2988a;
  --gold: #c9a227;
  --gold-light: #f3e3ab;
  --gold-deep: #7d611f;
  --oxblood: #6d1f1f;
  --line: rgba(201, 162, 39, 0.28);
  --line-soft: rgba(236, 227, 208, 0.1);

  --display: "Cinzel", "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(17px, 1.1vw, 20px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* doku */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  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.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -5%, rgba(201, 162, 39, 0.16), transparent 70%),
    radial-gradient(40% 30% at 85% 20%, rgba(109, 31, 31, 0.12), transparent 70%),
    radial-gradient(50% 40% at 10% 80%, rgba(201, 162, 39, 0.06), transparent 70%);
}

main, .topbar, .footer { position: relative; z-index: 2; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(201, 162, 39, 0.3); color: #fff; }

/* ---------- tipografi ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0;
}

.page-head { text-align: center; padding: 3.5rem 1.5rem 2rem; max-width: 780px; margin-inline: auto; }
.page-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.page-sub { color: var(--ivory-dim); margin: 1rem auto 0; max-width: 52ch; font-size: 1.02rem; }

.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(420px, 80%);
  margin: 1.8rem auto;
  color: var(--gold);
}
.rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule b { font-family: var(--display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.2em; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11, 10, 9, 0.92), rgba(11, 10, 9, 0.55));
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__mark {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  box-shadow: inset 0 0 12px rgba(201, 162, 39, 0.18);
}
.brand__word {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  padding-left: 0.1rem;
}

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.icon-btn {
  background: none;
  border: 1px solid var(--line-soft);
  color: var(--ivory-dim);
  border-radius: 50%;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.icon-btn:hover { color: var(--gold); border-color: var(--line); }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  background: none;
  color: var(--ivory);
}
.btn--gold {
  background: linear-gradient(135deg, #e8cf8a 0%, #c9a227 42%, #96741f 100%);
  color: #18130a;
  font-weight: 700;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(201, 162, 39, 0.85), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--ghost {
  border-color: var(--line);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.04);
}
.btn--ghost:hover { background: rgba(201, 162, 39, 0.12); transform: translateY(-2px); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1.5rem 2rem; max-width: 900px; margin-inline: auto; }
.hero__title { display: block; }
.hero__theoi {
  display: block;
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  background: linear-gradient(180deg, #fbf1cf 0%, #e2c675 38%, #a8822a 72%, #6e5418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 40px rgba(201, 162, 39, 0.18);
}
.hero__sub {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  margin-top: 0.4rem;
}
.hero__lead { max-width: 46ch; margin: 0 auto; color: var(--ivory-dim); font-size: 1.08rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* kart yelpazesi */
.fan { position: relative; height: clamp(220px, 34vw, 340px); margin: 3.5rem auto 0; max-width: 620px; }
.fan__card {
  position: absolute; top: 0; left: 50%;
  width: clamp(120px, 17vw, 190px);
  aspect-ratio: 2 / 3;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--obsidian-2);
  transition: transform 0.6s var(--ease);
}
.fan__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,10,9,.85));
}
.fan__img { position: absolute; inset: 0; background-size: cover; background-position: center 20%; filter: saturate(0.95); }
.fan__card--l { transform: translateX(-50%) rotate(-14deg) translateX(-62%) translateY(14px); }
.fan__card--c { transform: translateX(-50%) rotate(0deg) translateY(-6px); z-index: 2; }
.fan__card--r { transform: translateX(-50%) rotate(14deg) translateX(62%) translateY(14px); }
.fan:hover .fan__card--l { transform: translateX(-50%) rotate(-19deg) translateX(-74%) translateY(20px); }
.fan:hover .fan__card--r { transform: translateX(-50%) rotate(19deg) translateX(74%) translateY(20px); }
.fan:hover .fan__card--c { transform: translateX(-50%) translateY(-14px); }

/* ---------- şeritler ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}
.strip__item { padding: 2rem 1.6rem; border-top: 1px solid var(--line-soft); }
.strip__num {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.9rem;
  opacity: 0.85;
}
.strip__item h3 { font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.strip__item p { margin: 0; color: var(--ivory-dim); font-size: 0.96rem; }

/* ---------- suit kartları ---------- */
.suits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 3rem auto 6rem;
  padding: 0 1.5rem;
}
.suit {
  position: relative;
  padding: 2rem 1.6rem;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(236,227,208,0.05), rgba(236,227,208,0.01));
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.suit:hover { border-color: var(--line); transform: translateY(-4px); }
.suit__glyph { font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.suit__name { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.suit__theme { font-style: italic; color: var(--gold-light); font-size: 0.98rem; margin: 0.35rem 0 0.8rem; }
.suit__blurb { color: var(--ivory-dim); font-size: 0.92rem; margin: 0; }
.suit__el {
  position: absolute; right: 1.2rem; top: 1.4rem;
  font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.24em;
  color: var(--ivory-faint); text-transform: uppercase;
}

/* ---------- kart bileşeni ---------- */
.card {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  perspective: 1400px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.card__inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
  transition: transform 0.85s var(--ease);
}
.card.flipped .card__inner { transform: rotateY(0deg); }
.card__face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  background: var(--obsidian-2);
}
.card__face--back { transform: rotateY(180deg); }
.card__art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background-size: cover;
  background-position: center 18%;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.card:hover .card__art { transform: scale(1.04); }
.card__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,9,0.15) 0%, transparent 22%, transparent 50%, rgba(11,10,9,0.92) 88%),
    radial-gradient(120% 80% at 50% 0%, transparent 50%, rgba(11,10,9,0.4));
}
.card__frame {
  position: absolute; inset: 5px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.card__corner {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--gold); border-style: solid; border-width: 0;
  opacity: 0.75;
}
.card__corner.tl { top: 9px; left: 9px; border-top-width: 1px; border-left-width: 1px; }
.card__corner.tr { top: 9px; right: 9px; border-top-width: 1px; border-right-width: 1px; }
.card__corner.bl { bottom: 9px; left: 9px; border-bottom-width: 1px; border-left-width: 1px; }
.card__corner.br { bottom: 9px; right: 9px; border-bottom-width: 1px; border-right-width: 1px; }

.card__num {
  position: absolute; top: 14px; left: 0; right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(243, 227, 171, 0.75);
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.card__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 0.9rem 1rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(11,10,9,0.92) 34%);
}
.card__name {
  font-family: var(--display);
  font-size: clamp(0.62rem, 1vw, 0.82rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  display: block;
}
.card__god {
  display: block;
  font-style: italic;
  font-size: clamp(0.7rem, 1.05vw, 0.88rem);
  color: var(--gold-light);
  margin-top: 0.15rem;
  opacity: 0.92;
}
/* arka yüz */
.card__face--back {
  background:
    radial-gradient(circle at 50% 45%, rgba(201,162,39,0.18), transparent 60%),
    linear-gradient(160deg, #17130d, #0b0a09 70%);
  display: grid; place-items: center;
}
.card__sigil {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--gold);
  border: 1px solid var(--line);
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 30px rgba(201,162,39,.15), 0 0 30px rgba(201,162,39,.08);
  opacity: 0.9;
}
.card__face--back::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(201,162,39,.22);
  border-radius: 3px;
}
.card--empty .card__art { display: none; }
.card--empty .card__face--front {
  background:
    radial-gradient(circle at 50% 38%, rgba(201,162,39,0.14), transparent 65%),
    linear-gradient(170deg, #1a150f, #0d0b09);
}
.card--empty .card__face--front::before {
  content: "Ω";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: rgba(201, 162, 39, 0.16);
  letter-spacing: 0;
}

/* ---------- günün kartı ---------- */
.daily-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1050px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}
.card-stage { perspective: 1600px; }
.card-stage .card { max-width: 340px; margin-inline: auto; }

/* ---------- okuma paneli ---------- */
.reading {
  border: 1px solid var(--line-soft);
  border-left: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(236,227,208,0.045), rgba(236,227,208,0.008));
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 3px;
  animation: rise 0.8s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.reading__god {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #f6e9c2, #c9a227);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reading__epithet { font-style: italic; color: var(--ivory-dim); margin: 0.3rem 0 0; }
.reading__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 1.4rem; }
.chip {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--gold-light);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(201,162,39,.05);
}
.chip--tone { border-color: rgba(143,169,196,.35); color: #b9cde0; background: rgba(143,169,196,.06); }
.reading__line {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory);
  margin: 0 0 1.6rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold);
}
.reading__section { margin-top: 1.4rem; }
.reading__label {
  font-family: var(--display);
  font-size: 0.61rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.reading__text { margin: 0; color: var(--ivory-dim); }
.reading__text--myth { font-style: italic; font-size: 0.95rem; color: var(--ivory-faint); }
.reading__kw { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.4rem; }
.kw {
  font-size: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  color: var(--ivory-dim);
}
.reading--reverse .reading__line { border-left-color: var(--oxblood); }

.page-foot { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 3.5rem 0 6rem; }

/* ---------- açılım ---------- */
.spread-form {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 1.6rem;
  justify-items: center;
}
.field { display: grid; gap: 0.5rem; width: 100%; }
.field span {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.field input, .field textarea {
  width: 100%;
  background: rgba(236, 227, 208, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  resize: vertical;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--line);
  background: rgba(236, 227, 208, 0.05);
}
.field--wide { max-width: 640px; }

.spread-picker { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.spread-opt {
  border: 1px solid var(--line-soft);
  background: rgba(236,227,208,0.02);
  padding: 1.1rem 1.5rem;
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: all 0.3s var(--ease);
  min-width: 210px;
}
.spread-opt:hover { border-color: var(--line); }
.spread-opt.active { border-color: var(--gold); background: rgba(201,162,39,0.08); box-shadow: inset 0 0 30px rgba(201,162,39,.06); }
.spread-opt strong { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; color: var(--gold-light); }
.spread-opt em { display: block; font-size: 0.9rem; color: var(--ivory-dim); margin-top: 0.3rem; font-style: normal; }

.spread-stage { max-width: 1150px; margin: 3.5rem auto 0; padding: 0 1.5rem; }
.spread-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 200px));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  align-items: start;
}
.spread-cards .slot { display: grid; gap: 0.9rem; }
.slot__label {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.slot__hint { text-align: center; font-size: 0.85rem; color: var(--ivory-faint); font-style: italic; min-height: 1.4em; }
.spread-actions { display: flex; gap: 1rem; justify-content: center; margin: 2.5rem 0 0; flex-wrap: wrap; }
.reading--spread { margin-top: 3rem; max-width: 780px; margin-inline: auto; }
.reading--spread .reading__block + .reading__block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.reading__pos { font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-faint); }
.reading__synthesis p { font-size: 1.08rem; color: var(--ivory); }

/* ---------- deste ---------- */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; padding: 0 1.5rem 2rem; }
.filter {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: none;
  border: 1px solid var(--line-soft);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--gold-light); border-color: var(--line); }
.filter.active { color: #18130a; background: var(--gold); border-color: var(--gold); }

.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  max-width: 1240px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}
.deck-grid .card__name { font-size: 0.58rem; letter-spacing: 0.1em; }
.deck-grid .card__god { font-size: 0.68rem; }
.deck-grid .card__plate { padding: 0.8rem 0.5rem 0.7rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1.5rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.86); backdrop-filter: blur(6px); }
.modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(160deg, #17130e, #0c0a08);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-deep);
  animation: rise 0.5s var(--ease) both;
}
.modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.modal__body { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 2rem; align-items: start; }

/* ---------- yasal / prose ---------- */
.prose { max-width: 720px; margin: 0 auto 6rem; padding: 0 1.5rem; color: var(--ivory-dim); }
.prose h3 { color: var(--ivory); font-size: 1.1rem; letter-spacing: 0.08em; margin: 2.4rem 0 0.7rem; }
.prose p, .prose li { font-size: 0.98rem; }
.prose ul { padding-left: 1.2rem; }
.prose strong { color: var(--gold-light); font-weight: 500; }

/* ---------- yaş kapısı ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(201,162,39,0.12), transparent 70%),
    #080706;
}
.gate[hidden] { display: none; }
.gate__panel {
  width: min(520px, 100%);
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(23,19,14,0.95), rgba(11,10,9,0.98));
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: 4px;
  box-shadow: var(--shadow-deep);
  animation: rise 0.7s var(--ease) both;
}
.gate__sigil {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold);
  width: 3.4rem; height: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.4rem;
}
.gate__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.9rem; }
.gate__text { color: var(--ivory-dim); font-size: 0.98rem; }
.gate .field { text-align: left; margin-top: 1.6rem; }
.gate__legal { font-size: 0.8rem; color: var(--ivory-faint); min-height: 2.4em; margin: 0.9rem 0 1.2rem; }
.gate__note { color: #e09393; font-size: 0.88rem; min-height: 1.4em; margin-top: 0.9rem; }
.gate__fine { font-size: 0.76rem; color: var(--ivory-faint); margin-top: 1.4rem; line-height: 1.5; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 3rem 1.5rem 3.5rem; border-top: 1px solid var(--line-soft); margin-top: 2rem; }
.footer p { margin: 0.2rem 0; color: var(--ivory-dim); font-size: 0.92rem; }
.footer__fine { font-size: 0.78rem !important; color: var(--ivory-faint) !important; margin-top: 0.8rem !important; }
.footer a { border-bottom: 1px solid var(--line); color: var(--gold-light); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px);
  background: rgba(23,19,14,0.96);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease);
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- görünümler ---------- */
.view { display: none; animation: fade 0.5s var(--ease); }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .daily-wrap { grid-template-columns: 1fr; }
  .card-stage .card { max-width: 280px; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__body .card { max-width: 220px; margin-inline: auto; }
  .strip { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .strip__item { border-top: 1px solid var(--line-soft); }
  .nav { gap: 1.1rem; }
  .nav a { font-size: 0.62rem; letter-spacing: 0.14em; }
}
@media (max-width: 620px) {
  .topbar { gap: 1rem; padding: 0.85rem 1.1rem; }
  .brand__word { letter-spacing: 0.3em; font-size: 0.85rem; }
  .nav { display: none; }
  .deck-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 0.7rem; }
  .hero__actions .btn { width: 100%; }
  .spread-picker { flex-direction: column; width: 100%; }
  .spread-opt { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- hikâyeler ---------- */
.stories {
  max-width: 1060px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.story__head { align-self: start; position: sticky; top: 6.5rem; }
.story__el {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent, var(--gold));
}
.story__name { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.5rem 0 0.2rem; }
.story__theme { font-style: italic; color: var(--gold-light); margin: 0 0 1rem; font-size: 1.05rem; }
.story__text { color: var(--ivory-dim); font-size: 0.98rem; margin: 0; }
.story__cards { list-style: none; margin: 0; padding: 0 0 0 1.3rem; border-left: 1px solid var(--line); }
.story__card {
  display: grid;
  grid-template-columns: 74px 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.story__card:last-child { border-bottom: 0; }
.story__rank {
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.story__god { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.05em; }
.story__line { font-style: italic; color: var(--ivory-dim); font-size: 0.92rem; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__head { position: static; }
  .story__card { grid-template-columns: 64px minmax(0, 1fr); }
  .story__line { grid-column: 2; }
}

/* ============================================================
   v0.2 — OKUNABİLİRLİK VE YÖNLENDİRME
   ============================================================ */

/* küçük punto ve harf aralığı düzeltmeleri */
.eyebrow { font-size: 0.74rem; letter-spacing: 0.22em; color: var(--gold-light); }
.nav a { font-size: 0.76rem; letter-spacing: 0.16em; }
.btn { font-size: 0.8rem; letter-spacing: 0.16em; }
.chip { font-size: 0.68rem; letter-spacing: 0.12em; padding: 0.4rem 0.8rem; }
.filter { font-size: 0.7rem; letter-spacing: 0.14em; }
.suit__el { font-size: 0.68rem; color: var(--ivory-faint); }
.suit__blurb, .strip__item p { font-size: 1rem; color: var(--ivory-dim); }
.reading__label { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--gold-light); }
.reading__epithet { font-size: 1.02rem; }
.reading__text { color: #ded4c2; }
.reading__text--myth { color: var(--ivory-dim); font-size: 1rem; }
.page-sub { color: var(--ivory-dim); }

/* kart üzerindeki yazılar */
.card__num { font-size: 0.7rem; color: #f3e3ab; text-shadow: 0 1px 10px #000; }
.card__name { font-size: clamp(0.72rem, 1.05vw, 0.88rem); letter-spacing: 0.1em; text-shadow: 0 2px 12px rgba(0,0,0,.9); }
.card__god { font-size: clamp(0.76rem, 1.1vw, 0.95rem); color: #f3e3ab; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.deck-grid .card__name { font-size: 0.64rem; }
.deck-grid .card__god { font-size: 0.74rem; }
.card__plate { padding: 1.5rem 0.9rem 1.05rem; background: linear-gradient(180deg, transparent, rgba(8,7,6,0.86) 30%, rgba(8,7,6,0.97) 100%); }
.card__veil { background: linear-gradient(180deg, rgba(11,10,9,0.06) 0%, transparent 30%, transparent 52%, rgba(11,10,9,0.82) 90%); }

/* görselleri aydınlat */
.card__art { filter: brightness(1.16) contrast(1.05) saturate(1.05); }
.card:hover .card__art { filter: brightness(1.24) contrast(1.06) saturate(1.08); }
.fan__img { filter: brightness(1.12) contrast(1.03); }

/* okuma paneli biraz daha aydınlık */
.reading {
  background: linear-gradient(150deg, rgba(236,227,208,0.08), rgba(236,227,208,0.02));
  border-color: rgba(201,162,39,0.18);
}
.reading--spread { background: linear-gradient(150deg, rgba(236,227,208,0.06), rgba(236,227,208,0.015)); }

/* ek bölümler */
.chip--rev { border-color: #a35a5a; color: #e8b4b4; background: rgba(163,90,90,.1); }
.reading__advice { border-left: 1px solid var(--gold); padding-left: 1rem; }
.reading__text--shadow { color: #c9b7a2; }
.reading__qs { margin: 0.2rem 0 0; padding-left: 1.1rem; color: #ded4c2; }
.reading__qs li { margin-bottom: 0.55rem; }
.reading__qs li::marker { color: var(--gold); }
.reading__related { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
.rel {
  display: grid; gap: 0.15rem; text-align: left;
  background: rgba(236,227,208,0.04);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 0.6rem 0.85rem;
  color: inherit; font: inherit; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.rel:hover { border-color: var(--line); background: rgba(201,162,39,.09); }
.rel__name { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); }
.rel__god { font-style: italic; font-size: 0.82rem; color: var(--gold-light); }

/* ipucu satırı */
.hint {
  text-align: center;
  color: var(--ivory-faint);
  font-size: 0.95rem;
  font-style: italic;
  margin: 1.2rem auto 0;
  max-width: 46ch;
}
#dailyHint { grid-column: 1 / -1; }

/* üç adım */
.how {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 780px;
  margin: 3rem auto 0;
  padding: 0;
  text-align: left;
}
.how li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: rgba(236,227,208,0.025);
}
.how li span {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 1.9rem; height: 1.9rem;
  display: grid; place-items: center;
}
.how li strong { display: block; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.25rem; }
.how li em { font-style: normal; color: var(--ivory-dim); font-size: 0.92rem; line-height: 1.4; }

/* açılım adımları */
.steps {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding: 0;
  margin: 0 auto 2.2rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  display: flex; align-items: center; gap: 0.5rem;
}
.steps li::before {
  content: counter(step);
  width: 1.4rem; height: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 0.62rem;
}

/* rehber modalı */
.modal__panel--guide { width: min(600px, 100%); }
.guide h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.4rem; }
.guide__steps { margin: 0 0 1.4rem; padding-left: 1.2rem; display: grid; gap: 0.9rem; color: #ded4c2; }
.guide__steps li::marker { color: var(--gold); font-family: var(--display); }
.guide__steps b { color: var(--gold-light); font-weight: 600; }
.guide__note { color: var(--ivory-faint); font-size: 0.9rem; margin-bottom: 1.6rem; }

@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
}
.how li div { display: block; }
.how li strong { white-space: nowrap; }

.daily-left { display: grid; gap: 1rem; align-content: start; }
#dailyHint { grid-column: auto; margin-top: 0.2rem; }
.suit { background: linear-gradient(160deg, rgba(236,227,208,0.075), rgba(236,227,208,0.02)); }
.strip { border-bottom: 1px solid var(--line-soft); }
.strip__item { border-top: 1px solid var(--line-soft); }
.hero__lead, .page-sub { color: #ded4c2; }

/* ============================================================
   TEMA: FİLDİŞİ / PARŞÖMEN
   Kartlar koyu kalır (müze vitrini etkisi), sayfa aydınlanır.
   ============================================================ */
[data-theme="ivory"] {
  --obsidian: #efe6d3;
  --obsidian-2: #f8f1e2;
  --obsidian-3: #e7dcc6;
  --ivory: #241d15;
  --ivory-dim: #55493a;
  --ivory-faint: #7b6d57;
  --gold: #8a6a1c;
  --gold-light: #6d5313;
  --gold-deep: #4e3c0f;
  --line: rgba(138, 106, 28, 0.4);
  --line-soft: rgba(36, 29, 21, 0.16);
  --shadow-deep: 0 26px 60px -26px rgba(70, 52, 20, 0.5);
}

[data-theme="ivory"] .grain { opacity: 0.035; mix-blend-mode: multiply; }

[data-theme="ivory"] .glow {
  background:
    radial-gradient(60% 45% at 50% -5%, rgba(201, 162, 39, 0.22), transparent 70%),
    radial-gradient(40% 30% at 85% 20%, rgba(150, 90, 40, 0.1), transparent 70%),
    radial-gradient(50% 40% at 10% 80%, rgba(201, 162, 39, 0.1), transparent 70%);
}

[data-theme="ivory"] .topbar {
  background: linear-gradient(180deg, rgba(239, 230, 211, 0.96), rgba(239, 230, 211, 0.72));
  border-bottom: 1px solid var(--line-soft);
}

[data-theme="ivory"] .hero__theoi {
  background: linear-gradient(180deg, #b08a2e 0%, #8a6a1c 40%, #5c4611 75%, #3e2f0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="ivory"] .hero__lead { color: var(--ivory-dim); }

[data-theme="ivory"] .suit {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32));
}
[data-theme="ivory"] .how li,
[data-theme="ivory"] .spread-opt {
  background: rgba(255, 255, 255, 0.55);
}
[data-theme="ivory"] .reading {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5));
  border-color: rgba(138, 106, 28, 0.24);
}
[data-theme="ivory"] .reading__text,
[data-theme="ivory"] .reading__qs { color: #362c21; }
[data-theme="ivory"] .reading__text--shadow { color: #5e4f3c; }
[data-theme="ivory"] .reading__god {
  background: linear-gradient(180deg, #9a7624, #5c4611);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="ivory"] .rel { background: rgba(255, 255, 255, 0.62); }

[data-theme="ivory"] .field input,
[data-theme="ivory"] .field textarea {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ivory);
}
[data-theme="ivory"] .field input:focus,
[data-theme="ivory"] .field textarea:focus { background: #fffdf7; }

[data-theme="ivory"] .gate {
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(201, 162, 39, 0.2), transparent 70%),
    #ece2cd;
}
[data-theme="ivory"] .gate__panel,
[data-theme="ivory"] .modal__panel {
  background: linear-gradient(165deg, #fbf5e7, #f0e6d1);
  border-color: rgba(138, 106, 28, 0.35);
}

[data-theme="ivory"] .modal__backdrop { background: rgba(60, 48, 28, 0.55); }

/* kart yüzeyleri koyu kalır: plaka yazıları açık renk */
[data-theme="ivory"] .card__name { color: #f4ecdb; }
[data-theme="ivory"] .card__god { color: #f0dca4; }
[data-theme="ivory"] .card__num { color: #f3e3ab; }
[data-theme="ivory"] .card__face { border-color: rgba(138, 106, 28, 0.55); }

[data-theme="ivory"] .fan__card { border-color: rgba(138, 106, 28, 0.5); }
[data-theme="ivory"] .deck-grid .card { box-shadow: 0 14px 34px -18px rgba(70, 52, 20, 0.55); }
[data-theme="ivory"] .toast { background: #241d15; border-color: rgba(201, 162, 39, 0.35); color: #f4ecdb; }

[data-theme="ivory"] .page-sub,
[data-theme="ivory"] .hero__lead { color: var(--ivory-dim); }
[data-theme="ivory"] .guide__steps { color: #362c21; }
[data-theme="ivory"] .reading__line { color: var(--ivory); }

[data-theme="ivory"] .chip--tone {
  color: #3d5a72;
  border-color: rgba(61, 90, 114, 0.4);
  background: rgba(61, 90, 114, 0.07);
}
[data-theme="ivory"] .chip--rev {
  color: #8a3b3b;
  border-color: rgba(138, 59, 59, 0.45);
  background: rgba(138, 59, 59, 0.07);
}

/* ============================================================
   v0.3 — TİPOGRAFİ: küçük yazılar için arayüz fontu
   Cinzel yalnızca büyük başlık ve kart adlarında; etiketler Inter.
   ============================================================ */
:root {
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-size: clamp(18px, 1.15vw, 21px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}
[data-theme="ivory"] body { -webkit-font-smoothing: subpixel-antialiased; }

/* etiketler: büyük punto, dar harf aralığı, sans-serif */
.eyebrow, .nav a, .btn, .filter, .suit__el, .reading__label,
.slot__label, .story__el, .story__rank, .steps li, .field span,
.card__num, .rel__name, .how li strong, .spread-opt strong {
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.eyebrow { font-size: 0.82rem; letter-spacing: 0.14em; }
.nav a { font-size: 0.86rem; letter-spacing: 0.04em; font-weight: 500; }
.btn { font-size: 0.9rem; letter-spacing: 0.05em; }
.filter { font-size: 0.84rem; letter-spacing: 0.03em; font-weight: 500; }
.suit__el { font-size: 0.8rem; letter-spacing: 0.08em; font-weight: 500; }
.reading__label { font-size: 0.8rem; letter-spacing: 0.08em; }
.slot__label { font-size: 0.78rem; letter-spacing: 0.08em; }
.story__el { font-size: 0.8rem; letter-spacing: 0.08em; }
.story__rank { font-size: 0.78rem; letter-spacing: 0.08em; }
.steps li { font-size: 0.8rem; letter-spacing: 0.05em; }
.field span { font-size: 0.82rem; letter-spacing: 0.08em; }
.card__num { font-size: 0.78rem; letter-spacing: 0.12em; }
.rel__name { font-size: 0.78rem; letter-spacing: 0.06em; }
.how li strong { font-size: 0.88rem; letter-spacing: 0.03em; }
.spread-opt strong { font-size: 0.9rem; letter-spacing: 0.04em; }

/* çipler cümle içeriyor: büyük harf yok */
.chip {
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.42rem 0.85rem;
}

/* gövde metinleri */
.hero__lead { font-size: 1.12rem; line-height: 1.6; }
.page-sub { font-size: 1.06rem; }
.strip__item p, .suit__blurb { font-size: 1.02rem; line-height: 1.55; }
.reading__text { font-size: 1.04rem; line-height: 1.6; }
.reading__text--myth { font-size: 1.02rem; }
.reading__qs { font-size: 1.04rem; }
.guide__steps { font-size: 1.04rem; }
.how li em { font-size: 0.98rem; }
.footer p { font-size: 0.96rem; }
.footer__fine { font-size: 0.86rem !important; }
.gate__legal { font-size: 0.88rem; }
.gate__fine { font-size: 0.84rem; }
.gate__text { font-size: 1.04rem; }
.prose p, .prose li { font-size: 1.02rem; }

/* kart adları: okunur boyut */
.card__name { font-size: clamp(0.8rem, 1.05vw, 0.95rem); letter-spacing: 0.06em; }
.card__god { font-size: clamp(0.84rem, 1.1vw, 1rem); }
.deck-grid .card__name { font-size: 0.78rem; letter-spacing: 0.04em; }
.deck-grid .card__god { font-size: 0.84rem; }
.deck-grid .card__plate { padding: 1.4rem 0.6rem 0.85rem; }

/* okuma etiketleri biraz daha aralıklı dursun */
.reading__section { margin-top: 1.6rem; }

/* ============================================================
   v0.4 — FONT EŞLEŞMESİ
   Gövde: Lora (kalın gövdeli, küçük puntoda kırılmaz)
   Başlık: Cinzel (yalnızca büyük)
   Etiket: Inter
   Alıntı: Cormorant (yalnızca büyük italic)
   ============================================================ */
:root {
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --quote: "Cormorant Garamond", Georgia, serif;
}

body {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.002em;
}

.hero__sub, .reading__line, .card__god, .suit__theme, .story__theme,
.reading__epithet, .reading__text--myth {
  font-family: var(--quote);
}

/* başlıklar: daha kalın ve biraz daha büyük */
h1, h2, h3 { font-weight: 600; }
.strip__item h3 { font-size: 1.12rem; letter-spacing: 0.02em; }
.suit__name { font-size: 1.2rem; letter-spacing: 0.06em; }
.suit__theme { font-size: 1.05rem; }
.page-head h2 { font-weight: 700; }
.hero__sub { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }

/* kart adları: sans, net */
.card__name {
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.09em;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
}
.deck-grid .card__name { font-size: 0.76rem; letter-spacing: 0.06em; }
.card__god {
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  font-style: italic;
  font-weight: 500;
}

/* alıntı: büyük ve okunur */
.reading__line { font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 500; }

/* gövde metinleri biraz daha koyu */
[data-theme="ivory"] .reading__text { color: #2b231a; }
[data-theme="ivory"] .reading__qs { color: #2b231a; }
[data-theme="ivory"] .hero__lead, [data-theme="ivory"] .page-sub { color: #463a2b; }
[data-theme="ivory"] .strip__item p, [data-theme="ivory"] .suit__blurb { color: #463a2b; }

/* topbar: backdrop-filter metni bulanıklaştırıyordu */
.topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-theme="ivory"] .topbar { background: rgba(239, 230, 211, 0.97); }
:root:not([data-theme="ivory"]) .topbar { background: rgba(11, 10, 9, 0.94); }

/* küçük başlıklar: Cinzel yerine Inter (24px altı) */
.strip__item h3 {
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.suit__name { font-family: var(--display); font-weight: 700; font-size: 1.26rem; }
.story__name { font-weight: 700; }
.how li strong { text-transform: uppercase; }

[data-theme="ivory"] .story__el { color: var(--gold-light) !important; }

/* ============================================================
   v0.5 — SERİF + BOLD
   Kullanıcı tercihi: serif doku korunur, ağırlık artırılır.
   ============================================================ */
:root {
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --quote: "Cormorant Garamond", Georgia, serif;
}

body { font-family: var(--serif); font-weight: 600; }

/* gövde: bold, ama satır aralığı ferah */
.hero__lead, .page-sub, .strip__item p, .suit__blurb, .prose p, .prose li,
.reading__text, .reading__qs, .gate__text, .guide__steps, .how li em,
.footer p, .story__text, .story__line, .step, .reading__text--myth {
  font-weight: 600;
}
.hero__lead { font-size: 1.14rem; }
.page-sub { font-size: 1.08rem; }
.reading__text { font-size: 1.06rem; line-height: 1.55; }
.reading__text--myth { font-weight: 500; }
.hint { font-weight: 500; }
.footer__fine { font-weight: 500 !important; }

/* etiketler: Cinzel 700 (serif doku korunur, kılcal çizgi kalmaz) */
.eyebrow, .nav a, .btn, .filter, .suit__el, .reading__label,
.slot__label, .story__el, .story__rank, .steps li, .field span,
.card__num, .rel__name, .how li strong, .spread-opt strong, .chip {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow { font-size: 0.84rem; letter-spacing: 0.12em; }
.nav a { font-size: 0.88rem; letter-spacing: 0.04em; }
.btn { font-size: 0.92rem; letter-spacing: 0.05em; }
.filter { font-size: 0.86rem; letter-spacing: 0.04em; }
.chip { font-size: 0.84rem; letter-spacing: 0.03em; padding: 0.42rem 0.85rem; }
.reading__label { font-size: 0.84rem; letter-spacing: 0.08em; }
.card__num { font-size: 0.8rem; }
.card__name { font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; font-size: clamp(0.78rem, 1vw, 0.9rem); }
.deck-grid .card__name { font-size: 0.76rem; letter-spacing: 0.05em; }
.card__god { font-weight: 600; }
.slot__label { font-size: 0.8rem; }
.how li strong { font-size: 0.9rem; }
.how li span { font-weight: 700; }
.spread-opt strong { font-size: 0.92rem; }
.story__rank { font-size: 0.8rem; }
.story__el { font-size: 0.82rem; }
.story__god { font-weight: 700; }
.field span { font-size: 0.84rem; }
.gate__legal, .gate__fine { font-weight: 500; }

/* çipler cümle: büyük harf zorlaması geri alındı */
.chip { text-transform: none; letter-spacing: 0.01em; font-weight: 600; }

h1, h2, h3 { font-weight: 700; }
.reading__line { font-weight: 600; }
.rel__name { font-weight: 700; }

.suit__glyph, .story__card .story__rank {
  font-family: "Inter", -apple-system, "Segoe UI Symbol", sans-serif;
  font-weight: 500;
}
.suit__glyph { font-size: 1.5rem; }

/* Cinzel küçük harfleri small-caps gibi çizer: cümle içeren çipler Cormorant */
.chip {
  font-family: var(--serif);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
}

/* ============================================================
   ANA SAYFA HERO GÖRSELİ
   Tam genişlik Olympos sahnesi; yazının arkasında perde.
   ============================================================ */
:root {
  --hero-veil-strong: rgba(239, 230, 211, 0.86);
  --hero-veil-mid: rgba(239, 230, 211, 0.3);
  --hero-veil-edge: rgba(239, 230, 211, 0.98);
}
:root:not([data-theme="ivory"]) {
  --hero-veil-strong: rgba(11, 10, 9, 0.88);
  --hero-veil-mid: rgba(11, 10, 9, 0.42);
  --hero-veil-edge: rgba(11, 10, 9, 0.98);
}

.hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin-inline: 0;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -2px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -2;
  background: url("../img/hero.jpg") center 42% / cover no-repeat;
  filter: saturate(0.9) contrast(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -2px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background:
    radial-gradient(46% 42% at 50% 30%, var(--hero-veil-strong) 0%, var(--hero-veil-mid) 62%, transparent 100%),
    linear-gradient(180deg, var(--hero-veil-strong) 0%, var(--hero-veil-mid) 28%, var(--hero-veil-mid) 58%, var(--hero-veil-edge) 97%);
}

/* başlık ve metin biraz daha kontrast */
[data-theme="ivory"] .hero__theoi { filter: drop-shadow(0 2px 18px rgba(239,230,211,.9)); }
[data-theme="ivory"] .hero__lead { color: #3a2f22; }
[data-theme="ivory"] .hero__sub { color: #4a3d2c; }

.hero .eyebrow { text-shadow: 0 1px 10px var(--hero-veil-strong); }

.suit__glyph svg {
  width: 1.5rem; height: 1.5rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ============================================================
   MOBİL ALT SEKME ÇUBUĞU
   ============================================================ */
.tabbar { display: none; }

@media (max-width: 620px) {
  .tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(239, 230, 211, 0.97);
    border-top: 1px solid var(--line);
    padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -18px rgba(70, 52, 20, 0.5);
  }
  :root:not([data-theme="ivory"]) .tabbar {
    background: rgba(11, 10, 9, 0.97);
  }
  .tabbar a {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ivory-faint);
    padding: 0.35rem 0;
    transition: color 0.25s var(--ease);
  }
  .tabbar a svg {
    width: 1.25rem; height: 1.25rem;
    fill: none; stroke: currentColor; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .tabbar a.active { color: var(--gold); }
  .tabbar a.active svg { stroke: var(--gold); }

  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 1.5rem; }
}

/* kart adı taşması */
.card__name { overflow-wrap: anywhere; line-height: 1.15; }
.deck-grid .card__plate { padding: 1.5rem 0.45rem 0.8rem; }

@media (max-width: 620px) {
  .page-foot, .spread-actions { padding-inline: 1.5rem; }
  .page-foot .btn, .spread-actions .btn { flex: 1 1 100%; }
  .deck-grid .card__name { font-size: 0.66rem; letter-spacing: 0.02em; }
  .deck-grid .card__god { font-size: 0.8rem; }
  .modal__body { gap: 1.25rem; }
  .modal__panel { padding: 1.25rem 1rem; }
  .gate__panel { padding: 1.5rem 1.1rem; }
}

/* ============================================================
   GÜNLÜK
   ============================================================ */
.suits { margin-bottom: 2.5rem; }
.suits__more { text-align: center; margin: 0 0 5.5rem; }
.suits__more a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}

.journal { max-width: 860px; margin: 0 auto 6rem; padding: 0 1.5rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.stat {
  display: grid; gap: 0.35rem; text-align: center;
  padding: 1.3rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(201, 162, 39, 0.05);
}
.stat__num { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--gold); }
.stat__num--sm { font-size: 0.98rem; letter-spacing: 0.04em; text-transform: uppercase; align-self: center; }
.stat__label {
  font-family: var(--display); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-faint);
}

.journal__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 1.2rem 0 0.4rem; color: var(--ivory-faint); font-size: 0.9rem;
}
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--gold-light);
  border-bottom: 1px solid var(--line);
}

.entries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.entry { border-bottom: 1px solid var(--line-soft); }
.entry__head {
  width: 100%;
  display: grid;
  grid-template-columns: 150px 175px minmax(0, 1fr) 1.2rem;
  gap: 1rem;
  align-items: center;
  text-align: left;
  background: none; border: 0; padding: 1.05rem 0.3rem;
  color: inherit; font: inherit; cursor: pointer;
}
.entry__head:hover .entry__spread { color: var(--gold); }
.entry__when { font-size: 0.9rem; color: var(--ivory-dim); }
.entry__spread {
  font-family: var(--display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light);
}
.entry__cards { font-size: 0.96rem; color: var(--ivory-dim); }
.entry__cards em { font-style: italic; opacity: 0.8; }
.entry__chev { color: var(--gold); font-size: 1.1rem; line-height: 1; transition: transform 0.25s var(--ease); }
.entry.is-open .entry__chev { transform: rotate(180deg); }

.entry__body { display: grid; gap: 1.1rem; padding: 0.2rem 0.3rem 1.6rem; }
.entry__q { margin: 0; font-style: italic; color: var(--ivory-dim); }
.entry__card { border-left: 1px solid var(--line); padding-left: 1rem; }
.entry__pos {
  display: block; font-family: var(--display); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.entry__card strong { font-family: var(--display); font-weight: 700; font-size: 0.94rem; }
.entry__card blockquote { margin: 0.45rem 0; font-style: italic; font-size: 1.06rem; color: var(--ivory); }
.entry__card p { margin: 0; color: var(--ivory-dim); font-size: 0.98rem; }
.entry__synth { border-top: 1px solid var(--line-soft); padding-top: 1rem; margin: 0; color: var(--ivory-dim); font-style: italic; }

.journal__empty {
  text-align: center; padding: 3rem 1.5rem;
  border: 1px solid var(--line-soft); border-radius: 4px;
  background: rgba(201, 162, 39, 0.04);
}
.journal__empty-mark { font-family: var(--display); font-size: 2.4rem; color: var(--gold); margin: 0 0 1rem; }
.journal__empty-actions { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

@media (max-width: 620px) {
  .stats { gap: 0.6rem; }
  .stat { padding: 1rem 0.4rem; }
  .stat__num { font-size: 1.6rem; }
  .stat__num--sm { font-size: 0.82rem; }
  .entry__head {
    grid-template-columns: minmax(0, 1fr) 1.2rem;
    grid-template-areas: "when chev" "spread spread" "cards cards";
    row-gap: 0.3rem;
  }
  .entry__when { grid-area: when; }
  .entry__chev { grid-area: chev; }
  .entry__spread { grid-area: spread; }
  .entry__cards { grid-area: cards; }
}

@media (max-width: 620px) {
  .stat__num--sm { font-size: 0.76rem; letter-spacing: 0.02em; text-transform: none; }
  .stat__label { font-size: 0.68rem; letter-spacing: 0.06em; }
}

/* iOS kurulum ipucu */
.install-hint {
  position: fixed;
  left: 50%;
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  max-width: min(92vw, 430px);
  padding: 0.8rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: rgba(24, 19, 13, 0.96);
  color: #f4ecdb;
  font-size: 0.88rem;
  line-height: 1.35;
  box-shadow: var(--shadow-deep);
}
.install-hint b { color: #f0dca4; }
.install-hint button {
  background: none; border: 0; color: inherit;
  font-size: 1rem; line-height: 1; padding: 0 0.2rem; cursor: pointer;
}

.install-hint__go {
  background: linear-gradient(135deg, #e8cf8a, #c9a227 60%, #96741f) !important;
  color: #18130a !important;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  white-space: nowrap;
}

/* Kurulum bandı: sabit katman yerine sayfa akışında (butonları örtmesin) */
.install-hint {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  z-index: auto;
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(201, 162, 39, 0.14);
  color: var(--ivory);
  font-size: 0.86rem;
  box-shadow: none;
}
.install-hint b { color: var(--gold-light); }

/* dokunma gecikmesini kaldır + kaydırma payı */
.btn, .spread-opt, .filter, .tabbar a, .entry__head, .card, .rel { touch-action: manipulation; }
.spread-stage, #spreadStage { scroll-margin-top: 5rem; }
.spread-form button[type="submit"] { scroll-margin-bottom: 6rem; }

@media (max-width: 620px) {
  #view-spread .page-head { padding-top: 1.8rem; padding-bottom: 1rem; }
  #view-spread .page-head h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .spread-form { gap: 1.1rem; }
  .spread-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; width: 100%; }
  .spread-opt { min-width: 0; padding: 0.9rem 0.9rem; }
  .spread-opt strong { font-size: 0.78rem; letter-spacing: 0.02em; }
  .spread-opt em { font-size: 0.82rem; line-height: 1.3; }
  .steps { gap: 0.4rem 1rem; margin-bottom: 1.4rem; }
  .steps li { font-size: 0.72rem; }
}

/* hata bandı */
.errbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: #7a1f1f;
  color: #fff4f0;
  font-family: var(--ui);
  font-size: 0.85rem;
  border-bottom: 1px solid #a33;
}
.errbar strong { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; }
.errbar span { flex: 1; word-break: break-word; }
.errbar button { background: none; border: 1px solid rgba(255,255,255,.4); color: inherit; border-radius: 3px; padding: 0.25rem 0.6rem; font: inherit; cursor: pointer; }

/* seçim geri bildirimi */
.spread-selected {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.spread-opt { position: relative; }
.spread-opt.active::after {
  content: "✓";
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.spread-opt.active { border-width: 2px; }
.footer__build {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  opacity: 0.7;
}

.bootfail {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 9999;
  padding: 0.9rem 1.2rem;
  background: #7a1f1f;
  color: #fff4f0;
  font-family: var(--ui);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================================
   PREMIUM / PAYWALL
   ============================================================ */
.icon-btn--premium { color: var(--gold); border-color: var(--line); }
.icon-btn--premium:hover { background: rgba(201,162,39,.12); }

.modal__panel--pay { width: min(860px, 100%); }

.pay { display: grid; gap: 0.6rem; }
.pay h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.pay__lead { color: var(--ivory-dim); margin: 0 0 1rem; max-width: 58ch; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.6rem 0 1rem; }
.plan {
  position: relative;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: rgba(201,162,39,.04);
}
.plan--hero { border-color: var(--gold); background: rgba(201,162,39,.09); }
.plan__tag {
  position: absolute; top: -0.7rem; left: 1.2rem;
  font-family: var(--display); font-weight: 700; font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold); color: #18130a;
  padding: 0.2rem 0.55rem; border-radius: 2px;
}
.plan h3 { font-size: 1.15rem; letter-spacing: 0.06em; }
.plan__price { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--gold); margin: 0; line-height: 1; }
.plan__price small { font-family: var(--ui); font-weight: 500; font-size: 0.8rem; color: var(--ivory-dim); letter-spacing: 0; }
.plan ul { margin: 0.3rem 0 0.9rem; padding-left: 1.05rem; color: var(--ivory-dim); font-size: 0.94rem; display: grid; gap: 0.25rem; }
.plan li::marker { color: var(--gold); }
.plan .btn { width: 100%; }
.plan .btn + .btn { margin-top: 0.4rem; }

.pay__founding { color: var(--ivory-dim); font-size: 0.95rem; margin: 0 0 0.4rem; }
.pay__founding strong { color: var(--gold-light); }
.pay__restore { border-top: 1px solid var(--line-soft); padding-top: 1rem; margin-top: 0.4rem; }
.pay__label { display: block; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-faint); margin-bottom: 0.5rem; }
.pay__row { display: flex; gap: 0.6rem; }
.pay__row input {
  flex: 1; min-width: 0;
  background: rgba(236,227,208,.04);
  border: 1px solid var(--line-soft);
  border-radius: 3px; padding: 0.7rem 0.9rem;
  color: var(--ivory); font: inherit; letter-spacing: 0.08em;
}
.pay__msg { min-height: 1.3em; font-size: 0.9rem; color: var(--ivory-dim); margin: 0.5rem 0 0; }
.pay__msg.ok { color: #7fae7f; }
.pay__msg.err { color: #e09393; }
.pay__fine { font-size: 0.8rem; color: var(--ivory-faint); margin: 0.6rem 0 0; }

/* kilitli kart */
.card--locked .card__art { filter: grayscale(0.7) brightness(0.5); }
.card--locked .card__face--front::after {
  content: "★";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.4rem; color: var(--gold);
  background: rgba(8,7,6,.45);
}
.card--locked:hover .card__face--front::after { background: rgba(8,7,6,.3); }

.spread-opt--locked { position: relative; opacity: 0.75; }
.spread-opt--locked::before {
  content: "★";
  position: absolute; top: 0.5rem; right: 0.7rem;
  color: var(--gold); font-size: 0.9rem;
}

@media (max-width: 620px) {
  .plans { grid-template-columns: 1fr; }
  .pay__row { flex-direction: column; }
}

.plan__per {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
  margin-left: 0.2rem;
  vertical-align: 0.5rem;
}

.plan__price .plan__per {
  font-family: var(--ui) !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
  margin-left: 0.25rem;
  vertical-align: 0.45rem;
}
