/* ChronoRead web
   Renkler uygulamanın ChronoPalette değerleriyle birebir: 4 vurgu (kehribar, indigo, yeşil, pembe) x açık/koyu. */

/* ---------- Palet ---------- */
:root, :root[data-theme="dark"][data-accent="amber"] {
  --bg: #14110d; --surface: #1f1b15; --text: #f3ebdd; --muted: #a89b88; --border: #332d24;
  --accent: #e59a2b; --on-accent: #1b1308; --accent-bg: #3a2d14; --accent-ink: #f2c77b; --ok: #5bb57a; --info: #6fb8e6;
}
:root[data-theme="light"][data-accent="amber"] {
  --bg: #fbf7f0; --surface: #ffffff; --text: #2a2118; --muted: #7a6e5f; --border: #eadfcb;
  --accent: #d4881a; --on-accent: #2a2118; --accent-bg: #f8e9cc; --accent-ink: #7a4a07; --ok: #3f8f5a; --info: #4fa3d9;
}
:root[data-theme="dark"][data-accent="indigo"] {
  --bg: #0e1020; --surface: #171a2e; --text: #e9ebfa; --muted: #9aa0c4; --border: #272b47;
  --accent: #8a96f0; --on-accent: #0e1020; --accent-bg: #252a55; --accent-ink: #c3cafa; --ok: #5bb57a; --info: #6fb8e6;
}
:root[data-theme="light"][data-accent="indigo"] {
  --bg: #f6f7fc; --surface: #ffffff; --text: #1a1d33; --muted: #6a6f8f; --border: #dfe2f2;
  --accent: #5b6ae8; --on-accent: #ffffff; --accent-bg: #e3e6fb; --accent-ink: #2d3694; --ok: #3f8f5a; --info: #4fa3d9;
}
:root[data-theme="dark"][data-accent="green"] {
  --bg: #0c140e; --surface: #152019; --text: #e6f2e8; --muted: #93aa98; --border: #22332a;
  --accent: #4ade80; --on-accent: #08150d; --accent-bg: #1b3a27; --accent-ink: #a6ebc0; --ok: #4ade80; --info: #6fb8e6;
}
:root[data-theme="light"][data-accent="green"] {
  --bg: #f4f8f2; --surface: #ffffff; --text: #16261b; --muted: #5e7364; --border: #dce7da;
  --accent: #2f9e58; --on-accent: #ffffff; --accent-bg: #ddf1e3; --accent-ink: #19592f; --ok: #2f9e58; --info: #4fa3d9;
}
:root[data-theme="dark"][data-accent="pink"] {
  --bg: #160c11; --surface: #22151b; --text: #f7e8ee; --muted: #b397a3; --border: #38212b;
  --accent: #f087b0; --on-accent: #1f0c15; --accent-bg: #4a1f32; --accent-ink: #f9c2d6; --ok: #5bb57a; --info: #6fb8e6;
}
:root[data-theme="light"][data-accent="pink"] {
  --bg: #fcf5f7; --surface: #ffffff; --text: #2d1a22; --muted: #856a75; --border: #f0dce3;
  --accent: #d94677; --on-accent: #ffffff; --accent-bg: #fadce6; --accent-ink: #8a1f45; --ok: #3f8f5a; --info: #4fa3d9;
}

:root {
  --accent-text: var(--accent);
  --surface-2: color-mix(in srgb, var(--accent-bg) 55%, var(--surface));
  --text-soft: color-mix(in srgb, var(--text) 80%, var(--muted));
  --glow: color-mix(in srgb, var(--accent) 38%, transparent);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .75);
  --radius: 24px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* uygulamanın 4 vurgu rengi, kitap sırtları için */
  --b1: #c9851c; --b2: #5b6ae8; --b3: #2f9e58; --b4: #d94677; --b5: #4fa3d9; --b6: #7a4a9e;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --accent-text: var(--accent-ink);
  --shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent-ink) 45%, transparent);
  color-scheme: light;
}
:root[data-theme="light"][data-accent="amber"] { --accent-text: #8a5208; }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
section { padding: 96px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 58ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { display: flex; justify-content: center; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.center.section-head, .section-head.center { margin-inline: auto; }

/* ---------- Üst menü ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.nav { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--b1); display: block; flex: none; box-shadow: 0 6px 18px -6px var(--glow); }
.brand-mark i { display: block; width: 100%; height: 100%; background: #faf5ea; -webkit-mask: url(/assets/img/mark.png) center / 128% no-repeat; mask: url(/assets/img/mark.png) center / 128% no-repeat; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links > a { color: var(--text-soft); font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-tools { display: flex; gap: 8px; margin-left: 8px; }
.icon-btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 12px; min-width: 42px; height: 42px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; display: inline-grid; place-items: center; transition: border-color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; margin-left: auto; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 20px 18px; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 8px; border-radius: 10px; }
  .nav-tools { margin: 10px 0 0; }
}

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 14px; padding: 14px 26px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; animation: drift 20s ease-in-out infinite alternate; pointer-events: none; }
.blob.b-a { width: 620px; height: 620px; right: -140px; top: -120px; background: var(--accent); opacity: .30; }
.blob.b-b { width: 460px; height: 460px; left: -160px; top: 300px; background: var(--info); opacity: .16; animation-delay: -8s; }
.blob.b-c { width: 360px; height: 360px; left: 38%; top: 480px; background: var(--b4); opacity: .10; animation-delay: -4s; }
:root[data-theme="light"] .blob.b-a { opacity: .36; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 16px 7px 12px; font-size: .86rem; color: var(--text-soft); margin-bottom: 26px; }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.2s infinite; }
.display { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.0; letter-spacing: -.03em; margin-bottom: 26px; }
.display em { font-style: italic; background: linear-gradient(100deg, var(--accent-text), color-mix(in srgb, var(--accent) 55%, var(--b4))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: "✦"; color: var(--accent); }

.stage { position: relative; height: 640px; perspective: 1400px; }
.device { --w: 240px; width: var(--w); padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .15); background: #0a0a0d; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .04); position: absolute; will-change: transform; }
.device img { width: 100%; height: auto; border-radius: calc(var(--w) * .12); background: #000; }
.device.d1 { --w: 210px; left: 0; top: 110px; z-index: 1; transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 10px), 0) rotate(-9deg); }
.device.d2 { --w: 270px; left: 50%; margin-left: -135px; top: 0; z-index: 3; transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -6px), 0); animation: bob 7s ease-in-out infinite; }
.device.d3 { --w: 210px; right: 0; top: 130px; z-index: 2; transform: translate3d(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 12px), 0) rotate(9deg); }
.float { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); font-weight: 700; font-size: .95rem; animation: float 6s ease-in-out infinite; white-space: nowrap; }
.float b { font-size: 1.2rem; }
.float.f1 { left: -2%; top: 40px; }
.float.f2 { right: -1%; top: 330px; animation-delay: -2s; }
.float.f3 { left: 4%; bottom: 30px; animation-delay: -4s; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 520px; margin-top: 12px; }
  .device.d2 { --w: 220px; margin-left: -110px; }
  .device.d1, .device.d3 { --w: 160px; }
  .device.d1 { top: 100px; } .device.d3 { top: 110px; }
  .float.f1 { left: 0; top: 20px; } .float.f2 { right: 0; top: 280px; } .float.f3 { left: 0; bottom: 20px; }
}
@media (max-width: 480px) { .device.d1, .device.d3 { --w: 120px; } .device.d2 { --w: 190px; margin-left: -95px; } .stage { height: 460px; } .float { font-size: .82rem; padding: 8px 14px; } }

/* Kitap rafı */
.shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 170px; margin-top: -26px; padding: 0 12px; z-index: 4; }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 45%, var(--surface)), color-mix(in srgb, var(--accent) 25%, var(--bg))); }
.spine { position: relative; flex: none; width: var(--w); height: var(--h); margin-bottom: 14px; border-radius: 5px 5px 2px 2px; background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .0) 24%, rgba(255, 255, 255, .14) 58%, rgba(0, 0, 0, .24)), var(--c); transform-origin: 50% 100%; transform: rotate(var(--r, 0deg)); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); animation: rise .9s cubic-bezier(.2, .85, .25, 1) both; animation-delay: calc(var(--i) * 45ms + 250ms); transition: translate .25s; cursor: default; }
.spine::before, .spine::after { content: ""; position: absolute; left: 14%; right: 14%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.spine::before { top: 14%; } .spine::after { top: calc(14% + 8px); opacity: .5; }
.spine:hover { translate: 0 -14px; }
@media (max-width: 700px) { .shelf { height: 130px; gap: 3px; } .spine:nth-child(n+17) { display: none; } }

/* ---------- Kayan şerit ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 20px 0; background: color-mix(in srgb, var(--surface) 55%, var(--bg)); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 44px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--text-soft); display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✦"; color: var(--accent); font-style: normal; font-size: .9em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s, border-color .35s, box-shadow .35s; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: auto -20% -45% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--glow); filter: blur(60px); opacity: .35; z-index: -1; transition: opacity .4s; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow); }
.tile:hover::before { opacity: .7; }
.tile h3 { font-size: 1.45rem; margin: 0 0 6px; }
.tile .copy p { color: var(--text-soft); margin: 0; font-size: .98rem; max-width: 46ch; }
.viz { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 170px; }
.s7 { grid-column: span 7; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; } .rows2 { grid-row: span 2; }
@media (max-width: 1000px) { .s7, .s5, .s6 { grid-column: span 12; } .s4 { grid-column: span 6; } .rows2 { grid-row: auto; } }
@media (max-width: 640px) { .s4 { grid-column: span 12; } .tile { padding: 24px; border-radius: 26px; } }

/* Seri kutusu */
.streak-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.flame { font-size: 4.4rem; line-height: 1; filter: drop-shadow(0 0 26px var(--glow)); animation: flicker 2.4s ease-in-out infinite; }
.big-num { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 5.6rem); line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.big-num small { display: block; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; font-weight: 600; color: var(--muted); margin-top: 8px; }
.week { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 8px 0 22px; }
.week::before { content: ""; position: absolute; left: 7%; right: 7%; top: 21px; height: 4px; border-radius: 4px; background: var(--border); }
.day { position: relative; display: grid; justify-items: center; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.day b { width: 100%; max-width: 44px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(.85rem, 3.4vw, 1.2rem); background: var(--bg); border: 2px solid var(--border); transition: all .5s cubic-bezier(.3, 1.4, .5, 1); transform: scale(.7); opacity: .0; }
.in .day b { transform: scale(1); opacity: 1; transition-delay: calc(var(--n) * 110ms + 200ms); }
.in .day.done b { background: linear-gradient(145deg, #ffb347, #f0641e); border-color: transparent; box-shadow: 0 8px 22px -6px #f0641e99; }
.in .day.freeze b { background: linear-gradient(145deg, #7fd3ff, #2d8fe0); border-color: transparent; }
.in .day.today b { border-color: var(--accent); animation: ring 2s ease-out infinite 1.4s; }
.in .day.today { color: var(--accent-text); }
.xp-top { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 8px; color: var(--text-soft); }
.xp-top b { color: var(--accent-text); }
.bar { height: 12px; border-radius: 12px; background: var(--border); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .5s; }
.in .bar i { width: var(--p, 68%); }
.badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.badges span { padding: 7px 14px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-ink); font-size: .84rem; font-weight: 700; }
:root[data-theme="dark"] .badges span { color: var(--accent-ink); }

/* Barkod */
.scan { position: relative; width: min(240px, 100%); margin-inline: auto; aspect-ratio: 4/3.2; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; }
.bookbox { width: 38%; aspect-ratio: 3/4; border-radius: 6px 10px 10px 6px; background: linear-gradient(135deg, var(--b2), var(--b4)); box-shadow: -6px 6px 0 -1px rgba(0, 0, 0, .25), 0 16px 30px -12px rgba(0, 0, 0, .5); display: grid; align-content: end; padding: 10px; position: relative; }
.bookbox::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 3px; background: rgba(255, 255, 255, .25); }
.barcode { height: 26px; border-radius: 3px; background: #fff; padding: 3px; }
.barcode i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.scan::before, .scan::after { content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid var(--accent); }
.scan::before { left: 14px; top: 14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scan::after { right: 14px; bottom: 14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.laser { position: absolute; left: 12%; right: 12%; height: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 18px 4px var(--glow); top: 20%; animation: scan 2.6s ease-in-out infinite alternate; }

/* Kitaplık */
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pills span { padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.pills span:first-child { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.bk { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px; margin-bottom: 9px; }
.cover { width: 40px; height: 52px; border-radius: 5px 8px 8px 5px; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--serif); background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: -3px 3px 0 -1px rgba(0, 0, 0, .22); flex: none; }
.bk strong { display: block; font-size: .95rem; line-height: 1.2; }
.bk small { color: var(--muted); font-size: .8rem; }
.bk .rate { margin-left: auto; font-weight: 800; font-size: .88rem; color: var(--accent-text); }
.bk .prog { margin-top: 6px; height: 5px; border-radius: 5px; background: var(--border); overflow: hidden; width: 120px; }
.bk .prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .6s; }
.in .bk .prog i { width: var(--p); }

/* Wordle */
.wordle { display: grid; gap: 8px; justify-content: center; }
.wrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tilec { width: clamp(44px, 5vw, 56px); aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; font-family: var(--sans); background: var(--bg); border: 2px solid var(--border); color: var(--text); transform-style: preserve-3d; }
.in .tilec { animation: flip .7s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--n) * 140ms + 300ms); }
.tilec.ok { --fill: var(--ok); } .tilec.pr { --fill: var(--accent); } .tilec.no { --fill: var(--surface-2); }
.in .tilec { background: var(--fill, var(--bg)); border-color: var(--fill, var(--border)); }
.in .tilec.ok, .in .tilec.pr { color: #fff; }
:root[data-theme="dark"] .in .tilec.pr { color: var(--on-accent); }

/* Odak */
.focus { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .track { stroke: var(--border); }
.ring .prog { stroke: var(--accent); stroke-dasharray: 402; stroke-dashoffset: 402; transition: stroke-dashoffset 2.4s cubic-bezier(.2, .8, .2, 1) .4s; filter: drop-shadow(0 0 8px var(--glow)); }
.in .ring .prog { stroke-dashoffset: 110; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; letter-spacing: -.02em; }
.stat-list { display: grid; gap: 12px; }
.stat-list div { font-size: .85rem; color: var(--muted); }
.stat-list strong { display: block; font-size: 1.5rem; color: var(--text); font-family: var(--serif); line-height: 1.1; }

/* Paylaşım kartları */
.cards { position: relative; height: 230px; display: grid; place-items: center; }
.story { position: absolute; width: 128px; aspect-ratio: 9/16; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; box-shadow: var(--shadow); font-size: .72rem; font-weight: 700; }
.story.s-a { background: linear-gradient(160deg, var(--b4), var(--b6)); transform: translateX(-74px) rotate(-10deg); }
.story.s-b { background: linear-gradient(160deg, var(--b1), #f0641e); transform: translateX(74px) rotate(9deg) translateY(10px); }
.story.s-c { background: linear-gradient(160deg, var(--b2), #2d3694); z-index: 2; transform: rotate(-1deg); animation: bob 6s ease-in-out infinite; }
.story big { font-family: var(--serif); font-size: 2.6rem; line-height: .9; font-weight: 800; display: block; }
.story .mk { width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .92); }
.story .mk i { display: block; width: 100%; height: 100%; background: var(--b2); -webkit-mask: url(/assets/img/mark.png) center / 128% no-repeat; mask: url(/assets/img/mark.png) center / 128% no-repeat; }

/* Hatırlatıcı */
.notif { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); border: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; transform: translateY(26px) scale(.96); transition: all .8s cubic-bezier(.2, 1.2, .3, 1) .5s; max-width: 400px; margin-inline: auto; }
.in .notif { opacity: 1; transform: none; }
.notif .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--b1); display: block; flex: none; }
.notif .ic i { display: block; width: 100%; height: 100%; background: #faf5ea; -webkit-mask: url(/assets/img/mark.png) center / 128% no-repeat; mask: url(/assets/img/mark.png) center / 128% no-repeat; }
.notif strong { font-size: .92rem; } .notif p { margin: 2px 0 0; font-size: .9rem; color: var(--text-soft); line-height: 1.4; }
.notif time { margin-left: auto; font-size: .76rem; color: var(--muted); white-space: nowrap; }

/* İçe aktarma */
.flow { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.file { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--bg); border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--border)); font-size: .85rem; font-weight: 600; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.arrow { color: var(--accent); font-size: 1.8rem; animation: nudge 1.6s ease-in-out infinite; }
.mini-shelf { display: flex; gap: 6px; align-items: flex-end; height: 80px; padding-bottom: 6px; border-bottom: 6px solid color-mix(in srgb, var(--accent) 40%, var(--border)); }
.mini-shelf i { display: block; width: 22px; border-radius: 3px 3px 0 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.2, 1.3, .3, 1); }
.in .mini-shelf i { transform: none; transition-delay: calc(var(--n) * 90ms + 700ms); }

/* ---------- Ekran vitrini ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tabs { display: grid; gap: 12px; }
.tab { text-align: left; font: inherit; color: inherit; cursor: pointer; background: transparent; border: 1px solid var(--border); border-radius: 22px; padding: 22px 24px; position: relative; overflow: hidden; transition: background .3s, border-color .3s, transform .3s; }
.tab:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.tab h3 { margin: 0 0 4px; font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.tab h3 em { font-style: normal; font-family: var(--sans); font-size: .8rem; color: var(--accent-text); font-weight: 800; letter-spacing: .1em; }
.tab p { margin: 0; color: var(--muted); font-size: .96rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s, margin .4s; }
.tab[aria-selected="true"] { background: var(--surface); border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); box-shadow: var(--shadow); }
.tab[aria-selected="true"] p { max-height: 80px; opacity: 1; margin-top: 8px; }
.tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.tab[aria-selected="true"].auto::after { animation: timer 5s linear forwards; }
.showcase-stage { position: relative; height: 640px; display: grid; place-items: center; }
.showcase-stage::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--glow); filter: blur(70px); opacity: .7; }
.showcase-stage .device { --w: 290px; position: relative; transform: none; }
.showcase-stage .device img { position: absolute; inset: calc(var(--w) * .03); width: calc(100% - var(--w) * .06); opacity: 0; transition: opacity .6s, transform .6s; transform: scale(1.03); }
.showcase-stage .device img.on { opacity: 1; transform: none; }
.showcase-stage .device::before { content: ""; display: block; aspect-ratio: 1080/2400; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; gap: 28px; } .showcase-stage { height: 560px; order: -1; } .showcase-stage .device { --w: 250px; } }

/* ---------- Tema bölümü ---------- */
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.swatch { display: grid; justify-items: center; gap: 8px; background: none; border: 0; color: var(--text-soft); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.swatch i { width: 62px; height: 62px; border-radius: 20px; background: var(--sw); border: 3px solid transparent; box-shadow: 0 10px 22px -10px var(--sw), inset 0 0 0 2px rgba(255, 255, 255, .25); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); position: relative; }
.swatch:hover i { transform: translateY(-4px) scale(1.06); }
.swatch[aria-pressed="true"] i { border-color: var(--text); transform: scale(1.08); }
.swatch[aria-pressed="true"] i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.4rem; text-shadow: 0 1px 4px #0006; }
.mode { display: inline-flex; padding: 5px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); gap: 4px; }
.mode button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--text-soft); cursor: pointer; transition: background .25s, color .25s; }
.mode button svg { width: 18px; height: 18px; }
.mode button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.preview { position: relative; border-radius: 32px; padding: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.preview::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--glow); filter: blur(50px); }
.pv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; position: relative; }
.pv-head b { font-family: var(--serif); font-size: 1.5rem; color: var(--accent-text); }
.pv-chip { padding: 6px 14px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-ink); font-weight: 800; font-size: .82rem; }
.pv-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 18px; margin-bottom: 12px; }
.pv-btns { display: flex; gap: 10px; position: relative; }
.pv-btns span { padding: 11px 22px; border-radius: 14px; font-weight: 800; font-size: .9rem; }
.pv-btns span:first-child { background: var(--accent); color: var(--on-accent); }
.pv-btns span:last-child { background: var(--surface-2); color: var(--text-soft); }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr; } }

/* ---------- Nasıl çalışır ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 24px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.step .no { font-family: var(--serif); font-size: 3.4rem; line-height: 1; font-weight: 800; background: linear-gradient(160deg, var(--accent), transparent 130%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step .em { position: absolute; right: 22px; top: 22px; font-size: 1.9rem; }
.step h3 { margin-bottom: 6px; } .step p { margin: 0; color: var(--text-soft); font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: var(--glow); filter: blur(70px); z-index: -1; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.inline-form { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.inline-form input { flex: 1; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }

/* ---------- Formlar ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .82rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent); }
::placeholder { color: var(--muted); opacity: .8; }
textarea { min-height: 160px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 14px; padding: 14px 18px; border: 1px solid var(--border); background: var(--surface); }
.notice.error { border-color: #ff6b5e; color: #ff6b5e; }
.notice.success { border-color: var(--ok); }
.ticket-id { font-family: var(--serif); font-size: 2.6rem; color: var(--accent-text); letter-spacing: .02em; font-weight: 800; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }

/* SSS */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 4px 22px; margin-bottom: 10px; transition: border-color .25s; }
details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-soft); }

/* Talep takibi */
.status { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; border: 1px solid var(--border); }
.status.open { color: var(--accent-text); border-color: var(--accent); }
.status.in_progress { color: var(--info); border-color: var(--info); }
.status.resolved { color: var(--ok); border-color: var(--ok); }
.status.closed { color: var(--muted); }
.thread { display: grid; gap: 12px; margin: 22px 0; }
.msg { border: 1px solid var(--border); border-radius: 18px; padding: 14px 18px; background: var(--surface); white-space: pre-wrap; word-break: break-word; }
.msg.admin { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent-bg) 55%, var(--surface)); }
.msg .who { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; font-weight: 700; }

/* Metin sayfaları */
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose li { margin-bottom: .45em; }
.prose, .prose p, .prose li { color: var(--text-soft); }
.page-head { padding: 64px 0 8px; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: var(--accent); opacity: .18; filter: blur(80px); z-index: -1; }

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--muted); font-size: .92rem; background: color-mix(in srgb, var(--surface) 40%, var(--bg)); }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot strong { color: var(--text); font-family: var(--serif); font-size: 1.2rem; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); } .foot a:hover { color: var(--text); }
.foot-dots { display: flex; gap: 10px; align-items: center; }
.foot-dots button { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); transition: transform .2s; }
.foot-dots button:hover { transform: scale(1.2); }
.foot-dots button[aria-pressed="true"] { border-color: var(--text); }

/* ---------- Yönetim paneli ---------- */
.admin-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.admin-bar select, .admin-bar input { width: auto; }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 18px; font-size: .88rem; color: var(--muted); }
.stat b { display: block; font-size: 1.5rem; color: var(--text); font-family: var(--serif); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--border); font-size: .92rem; vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr { cursor: pointer; } tbody tr:hover { background: var(--surface); }
.table-wrap { overflow-x: auto; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 14px 0; }
.meta-grid div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: .85rem; word-break: break-word; }
.meta-grid span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Giriş animasyonları ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes rise { from { transform: translateY(120%) rotate(var(--r, 0deg)); opacity: 0; } to { transform: rotate(var(--r, 0deg)); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 35% { transform: scale(1.07) rotate(2deg); } 65% { transform: scale(.97) rotate(-1deg); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--glow); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes scan { from { top: 18%; } to { top: 78%; } }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@keyframes timer { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Alt sayfalarda arka plan ışığı */
body:not([data-page="home"])::before { content: ""; position: fixed; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: var(--accent); opacity: .14; filter: blur(90px); z-index: -1; pointer-events: none; }

@media (max-width: 480px) {
  .story.s-a { transform: translateX(-56px) rotate(-10deg); }
  .story.s-b { transform: translateX(56px) rotate(9deg) translateY(10px); }
}

/* ================= v3: marka rengi, ikonlar, mağaza düğmeleri, alt bilgi ================= */

/* Logo vurgu rengini takip eder */
:root { --mark-ink: #faf5ea; }
:root[data-theme="dark"]:not([data-accent="amber"]) { --mark-ink: var(--on-accent); }
.brand-mark, .notif .ic { background: var(--accent); }
.brand-mark i, .notif .ic i { background: var(--mark-ink); }

/* ikonlar */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.float .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent-ink); }
.float .fi .i { width: 18px; height: 18px; }
.day b .i { width: 52%; height: 52%; color: #fff; stroke-width: 2.2; }
.flame .i { width: 76px; height: 76px; fill: url(#gFlame); stroke: none; }
.badges span { display: inline-flex; align-items: center; gap: 8px; }
.badges .i { width: 16px; height: 16px; }
.file .i { width: 18px; height: 18px; color: var(--accent-text); }
.arrow .i { width: 30px; height: 30px; stroke-width: 2.4; }
.step .sic { position: absolute; right: 22px; top: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-bg); color: var(--accent-ink); display: grid; place-items: center; }
.step .sic .i { width: 24px; height: 24px; }
.pv-chip { display: inline-flex; align-items: center; gap: 6px; }
.pv-chip .i { width: 14px; height: 14px; }

/* Mağaza düğmeleri */
.stores { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-band .stores { justify-content: center; margin-top: 26px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 15px; background: #0d0d10; color: #fff; border: 1px solid rgba(255, 255, 255, .24); min-width: 178px; cursor: default; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); transition: transform .2s, box-shadow .2s; text-align: left; }
.store svg { width: 28px; height: 28px; flex: none; }
.st-txt { display: grid; line-height: 1.2; }
.st-txt small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .72; font-weight: 600; }
.st-txt b { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.store .soon { position: absolute; top: -10px; right: 12px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 14px -6px var(--glow); }
a.store[href] { cursor: pointer; }
a.store[href]:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .7); }
.stores.compact .store { min-width: 0; padding: 8px 14px 8px 12px; border-radius: 12px; }
.stores.compact .store svg { width: 22px; height: 22px; }
.stores.compact .st-txt b { font-size: .95rem; }
.stores.compact .soon { top: -9px; right: 8px; font-size: .6rem; padding: 2px 8px; }

/* Üst menü CTA */
.nav-links > a.nav-cta { background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 9px 20px; margin-left: 6px; box-shadow: 0 10px 22px -12px var(--glow); }
.nav-links > a.nav-cta:hover { background: var(--accent); filter: brightness(1.06); transform: translateY(-1px); }
@media (max-width: 820px) { .nav-links > a.nav-cta { margin: 8px 0 0; text-align: center; } }

/* Alt bilgi */
.site-footer { padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { max-width: 34ch; margin: 14px 0 22px; line-height: 1.55; }
.foot-col h4 { margin: 0 0 14px; font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.foot-col a { display: block; padding: 5px 0; color: var(--muted); }
.foot-col a:hover { color: var(--text); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Daha sakin ışıklar, daha derli toplu ritim */
.blob.b-a { opacity: .24; } :root[data-theme="light"] .blob.b-a { opacity: .30; }
.blob.b-c { opacity: .07; }
section { padding: 88px 0; }
.tile::before { opacity: .22; }

/* Vitrin ışığı kutusundan taşmasın */
.showcase-stage::before { position: absolute; inset: 0; margin: auto; width: min(440px, 100%); height: min(440px, 100%); }

/* Logo: çerçevesiz, sadece kitap sırtları ikonu (vurgu renginde) */
.brand-mark { width: 40px; height: 40px; background: transparent; box-shadow: none; border-radius: 0; }
.brand-mark i { background: var(--accent); -webkit-mask-size: 132%; mask-size: 132%; filter: drop-shadow(0 6px 14px var(--glow)); }
.brand { gap: 6px; }

/* ================= Hesap: menü, profil, talep listesi ================= */
.nav-account { display: inline-flex; }
.nav-account a { color: var(--text-soft); font-size: .95rem; padding: 6px 14px 6px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; transition: background .2s, color .2s; }
.nav-account a:not(.nav-user) { padding: 8px 14px; }
.nav-account a:hover, .nav-account a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.avatar.big { width: 72px; height: 72px; font-size: 1.8rem; font-family: var(--serif); box-shadow: 0 14px 30px -14px var(--glow); }
@media (max-width: 820px) { .nav-account { display: block; } .nav-account a { display: flex; padding: 13px 8px; border-radius: 10px; } .nav-account a:not(.nav-user) { padding: 13px 8px; } }

.profile { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.profile .who { display: grid; gap: 2px; flex: 1; min-width: 190px; }
.profile .who strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; overflow-wrap: anywhere; }
.verify { font-size: .8rem; font-weight: 700; margin-top: 6px; }
.verify::before { content: "●"; margin-right: 7px; }
.verify.ok { color: var(--ok); } .verify.warn { color: #e0a43a; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tickets { display: grid; gap: 12px; }
.t-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px 22px; color: var(--text); transition: transform .25s, border-color .25s, box-shadow .25s; }
.t-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow); text-decoration: none; }
.t-main { display: grid; gap: 3px; min-width: 0; }
.t-id { font-family: var(--serif); color: var(--accent-text); font-weight: 800; font-size: .95rem; }
.t-subject { overflow-wrap: anywhere; }
.t-meta { font-size: .84rem; }
.t-side { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.t-new { font-size: .74rem; font-weight: 800; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
@media (max-width: 560px) { .t-card { flex-direction: column; align-items: flex-start; } .t-side { justify-content: flex-start; } }

.link-btn { background: none; border: 0; color: var(--accent-text); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 2px; }
.link-btn:hover { text-decoration: underline; }
.acct-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.acct-bar .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acct-bar .who span:last-child { overflow-wrap: anywhere; }

/* Google ile devam et */
.google-box { margin-bottom: 18px; }
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--border); background: #ffffff; color: #1f1f1f; font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .5); }
.btn-google:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); }
.btn-google[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-google svg { width: 22px; height: 22px; flex: none; }
.or { display: flex; align-items: center; gap: 14px; margin-top: 20px; color: var(--muted); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
/* Google düğmesi ve e-posta formu tek kart gibi birleşsin */
.google-box { margin: 0; }
.google-box:not([hidden]) { background: var(--surface); border: 1px solid var(--border); border-bottom: 0; border-radius: 28px 28px 0 0; padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) 0; box-shadow: var(--shadow); }
.google-box:not([hidden]) + .panel { border-top: 0; border-radius: 0 0 28px 28px; box-shadow: var(--shadow); padding-top: 22px; }
