@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/EBGaramond-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/EBGaramond-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-VF.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-Italic-VF.ttf") format("truetype"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Orhun"; src: url("/fonts/NotoSansOldTurkic-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  /* Tanıtım sitesiyle aynı palet: antrasit zemin, eskitilmiş altın vurgu */
  --bg: #121214;
  --panel: #17171a;
  --panel-2: #1d1d21;
  --line: #2c2b2c;
  --line-2: #3d3a35;
  --text: #e9e3d6;
  --muted: #9f978a;
  --silver: #d3b679;
  --silver-dim: #a88c58;
  --brass: #b8975a;
  --danger: #d98b7a;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --radius: 4px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, #231f1b 0%, transparent 70%),
    var(--bg);
  color: var(--text);
  font: 500 20px/1.55 var(--serif);
  min-height: 100vh;
}
[hidden] { display: none !important; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Üst bar */
.top { border-bottom: 1px solid var(--line); background: #121214e6; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brass); text-decoration: none; }
.brand img { width: 50px; height: 50px; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.brand b { display: block; font: 400 18px var(--display); letter-spacing: .34em; text-transform: uppercase; color: #C9A55A; line-height: 1.1; }
.brand small { display: block; font: italic 13px var(--serif); color: var(--muted); }
.top-note { color: var(--muted); font-size: 15px; font-style: italic; }
.banner { background: #2a1f17; border-bottom: 1px solid #4a3523; color: #e9c9a5; padding: 10px 16px; text-align: center; font-size: 16px; }
.banner code { background: #0006; padding: 1px 6px; border-radius: 3px; }

/* Tipografi */
.eyebrow { font: 400 12px var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .04em; margin: 0; color: var(--silver); }
h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; }
.ayirici { display: flex; align-items: center; gap: 10px; width: 190px; margin: 22px 0 18px; }
.ayirici::before, .ayirici::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #b8975a00, #b8975a); }
.ayirici::after { background: linear-gradient(90deg, #b8975a, #b8975a00); }
.ayirici i { flex: none; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); }
h2 { font-size: 22px; }
h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
h3 small { font: italic 15px var(--serif); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; }
.lead { color: var(--muted); font-size: 20px; max-width: 620px; margin: 16px 0 0; }
.hint { color: var(--muted); font-size: 15px; font-style: italic; margin: 0; }

/* Form */
.intro { padding: 56px 0 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.form { padding: 8px 32px 32px; margin-bottom: 48px; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 28px 0 8px; }
fieldset:first-child { border-top: 0; }
legend { font: 400 12px var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); padding: 0; float: left; width: 100%; margin-bottom: 18px; }
legend + * { clear: both; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-size: 16px; color: var(--text); margin-bottom: 7px; }
.field > span em { color: var(--brass); font-style: normal; }
.field > span small { color: var(--muted); font-style: italic; font-size: 14px; margin-left: 4px; }
input[type="text"], input:not([type]), input[inputmode], textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text); font: 18px var(--serif); padding: 10px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #5e5b55; font-style: italic; }
input:focus, textarea:focus { border-color: var(--silver-dim); box-shadow: 0 0 0 3px #d6d1c51a; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 16px; transition: all .15s; }
.segmented.small span { padding: 6px 16px; }
.segmented input:checked + span { background: var(--silver); border-color: var(--silver); color: #111; }
.segmented input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.gk-preview { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 8px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); min-height: 58px; }
.gk-chars { font: 34px/1 "Orhun", serif; color: var(--silver); letter-spacing: .12em; }
.gk-latin { color: var(--muted); font-size: 15px; font-style: italic; }

.form-error { color: var(--danger); margin: 8px 0 0; font-size: 16px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent;
  color: var(--text); font: 700 13px var(--display); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all .15s;
}
.btn small { font: italic 14px var(--serif); letter-spacing: 0; text-transform: none; color: var(--muted); }
.btn:hover { border-color: var(--silver-dim); }
.btn.primary { background: var(--silver); border-color: var(--silver); color: #121212; }
.btn.primary:hover { background: #fff; }
.btn:disabled { opacity: .5; cursor: progress; }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Bekleme */
.wait { text-align: center; padding: 72px 0 96px; }
.wait-seal { width: 180px; height: 180px; margin-bottom: 24px; }
.wait-seal .ring { fill: none; stroke: var(--line-2); stroke-width: 3; }
.wait-seal .ring.thin { stroke-width: 1; stroke-dasharray: 2 6; animation: spin 30s linear infinite; transform-origin: center; }
.wait-seal .draw { fill: none; stroke: var(--silver); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; animation: draw 3.2s ease-in-out infinite alternate; }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; margin: 20px auto 12px; max-width: 520px; text-align: left; }
.steps li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.steps li::before { content: "✓"; position: absolute; left: 4px; color: var(--brass); }
.steps li:last-child { color: var(--text); }
.steps li:last-child::before { content: "◆"; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Sonuç */
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 48px 0 28px; flex-wrap: wrap; }
.again { padding: 24px 0 8px; }

.foot { color: #5f5b54; font-size: 14px; font-style: italic; padding: 40px 0 32px; border-top: 1px solid var(--line); margin-top: 40px; }

@media (max-width: 640px) {
  .res-col, .why, .downloads-card { padding: 20px; }
  body { font-size: 17px; }
  .top-note { display: none; }
  .form { padding: 4px 18px 24px; }
  .grid, .three { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Seçmeli sorular ===== */
select { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); font: 18px var(--serif); padding: 10px 14px; margin-bottom: 6px; }
select:focus { border-color: var(--silver-dim); outline: none; box-shadow: 0 0 0 3px #d6d1c51a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font: 16px var(--serif); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--silver-dim); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--silver); border-color: var(--silver); color: #111; }
.chip i { font: 700 11px var(--display); font-style: normal; }
.chip i:empty { display: none; }
.chip[aria-pressed="true"] i { background: #111; color: var(--silver); border-radius: 50%; width: 18px; height: 18px; display: inline-grid; place-items: center; }
.chip:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.chips.full { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field.invalid > span { color: var(--danger); }
fieldset .gk-preview { margin: 0 0 20px; }

/* ===== Sonuç ===== */
.res-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.res-col { padding: 24px; }
.res-col > h2, .why > h2, .downloads-card > h2 { font-size: 20px; margin-bottom: 4px; }
.res-h { margin: 22px 0 4px; }
.sade { background: #fff; color: #000; border-radius: 3px; padding: 14px; margin-top: 12px; }
.sade svg { width: 100%; height: auto; display: block; }

.wall { background: linear-gradient(#2b2c31, #1c1d21); border-radius: 3px; padding: 22px; display: grid; place-items: center; margin-top: 12px; }
.frame { width: 100%; max-width: 640px; aspect-ratio: 297/420; background: linear-gradient(135deg,#2c231b,#120e0b 55%,#30261d); padding: 14px; box-shadow: 0 22px 46px #000c, inset 0 0 0 1px #4a3a2c; }
.mat { height: 100%; background: #e8dfcc; padding: 14px; box-shadow: inset 0 2px 8px #0005; }
.poster { height: 100%; background: #f6f1e5; border: 1.5px solid #8f8166; outline: 1px solid #8f8166; outline-offset: -8px; padding: 5% 6.5% 3.6%; display: flex; flex-direction: column; align-items: center; text-align: center; color: #24211d; container-type: inline-size; overflow: hidden; }
.p-eyebrow { font: 700 2.1cqi var(--display); letter-spacing: .4em; color: #7b6e57; margin: 0; text-transform: uppercase; }
.p-title { font: 700 6cqi var(--display); letter-spacing: .12em; margin: .5cqi 0 0; color: #24211d; }
.p-orhun { font-size: 4.2cqi; margin: .6cqi 0 1cqi; color: #5b5246; }
.orhun { font-family: "Orhun", serif; font-style: normal; }
.p-orhun .orhun { display: inline-flex; flex-direction: row; direction: rtl; gap: .8em; }
.p-medal { width: 54%; aspect-ratio: 1; flex: none; }
.p-medal svg { width: 100%; height: 100%; }
.p-orn { width: 40%; height: 1px; background: linear-gradient(90deg, transparent, #8f8166, transparent); margin: 1.6cqi 0 1.4cqi; flex: none; }
.p-h { font: 700 2.4cqi var(--display); letter-spacing: .3em; text-transform: uppercase; color: #5b5246; margin: 0 0 1.4cqi; }
.p-means { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6cqi 3cqi; margin-bottom: 1.8cqi; }
.p-means > div { flex: 0 1 28%; display: flex; flex-direction: column; align-items: center; gap: .4cqi; }
.p-means b { font: 700 2.4cqi var(--display); letter-spacing: .05em; color: #24211d; }
.p-t { font-size: 2.3cqi; line-height: 1.35; color: #3b372f; }
.p-story { font: italic 2.35cqi/1.45 var(--serif); color: #2f2b25; margin: 0; max-width: 94%; }
.p-foot { margin-top: auto; padding-top: 1.6cqi; font: 700 1.7cqi var(--display); letter-spacing: .24em; color: #7b6e57; margin-bottom: 0; }
.why, .downloads-card { margin-top: 20px; padding: 26px 30px; }
.why-item { padding: 14px 0; border-top: 1px solid var(--line); }
.why-item:first-of-type { border-top: 0; }
.why-item h3 { font-size: 14px; margin-bottom: 4px; }
.why-item p { margin: 0 0 4px; color: var(--text); }
.why-item ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }

/* Tanıtım sitesiyle uyum: altın butonlar, yavaş geçişler */
.btn { transition: background-color .9s cubic-bezier(.22,.61,.36,1), color .9s cubic-bezier(.22,.61,.36,1), border-color .9s cubic-bezier(.22,.61,.36,1); }
.btn.primary { background: linear-gradient(180deg, #c6a669, #b8975a 55%, #a3854d); border-color: #b8975a; color: #17130c; }
.btn.primary:hover { background: linear-gradient(180deg, #d3b679, #c09f63); }
.chip[aria-pressed="true"] { background: #b8975a; border-color: #b8975a; color: #17130c; }
.chip[aria-pressed="true"] i { background: #17130c; color: #d3b679; }
.segmented input:checked + span { background: #b8975a; border-color: #b8975a; color: #17130c; }
.top-link { font: 400 12px var(--display); letter-spacing: .18em; text-transform: uppercase; color: #d7cfbf; text-decoration: none; }
.top-link:hover { color: #d3b679; }

/* ---------- 3D görünüm: yüzükte ve balmumunda ---------- */
.m3d-kart { margin-bottom: 22px; }
.m3d-ust { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.m3d-ust .hint { margin: 6px 0 0; }
.m3d-sekmeler { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; }
.m3d-sekmeler button { background: none; border: 0; padding: 10px 18px; font: 400 11px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .4s, background-color .4s; }
.m3d-sekmeler button + button { border-left: 1px solid var(--line-2); }
.m3d-sekmeler button[aria-selected="true"] { color: #17130c; background: var(--brass); }
.m3d-sahne { position: relative; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden;
  background: radial-gradient(75% 70% at 55% 42%, #26221d 0%, #151517 58%, #0c0c0d 100%); }
.m3d-tuval { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.m3d-tuval:active { cursor: grabbing; }
.m3d-durum { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; font: 400 11px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.m3d-yedek { position: absolute; inset: 0; margin: 0; }
.m3d-yedek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m3d-yedek figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; font-style: italic; font-size: 16px; color: #cfc7b8; background: linear-gradient(180deg, transparent, #0c0c0dd9 40%); }
.m3d-alt { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 700px) { .m3d-sahne { aspect-ratio: 1 / 1; } .m3d-ust { align-items: flex-start; } }
