/* Mert Hoca - motosiklet eğitimi
   Köşe sistemi: kart/panel 12px, buton/input 8px, sekme ve çip tam yuvarlak. */

:root {
  --bg: #141517;
  --bg-2: #1a1c1f;
  --surface: #212428;
  --surface-2: #2a2d32;
  --line: rgba(255, 255, 255, .09);
  --text: #ecebe6;
  --muted: #a4a39d;
  --accent: #f07a1a;
  --accent-text: #f59a4e;
  --accent-ink: #1c1105;
  --accent-soft: rgba(240, 122, 26, .12);
  --err: #e5484d;
  --asphalt: #26282b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --r: 12px;
  --r-sm: 8px;
  --nav-h: 64px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f2ef;
    --bg-2: #e8e8e4;
    --surface: #fbfbf9;
    --surface-2: #efefeb;
    --line: rgba(20, 22, 25, .1);
    --text: #18191b;
    --muted: #5a5b57;
    --accent: #e8700f;
    --accent-text: #b4510a;
    --accent-ink: #1c1105;
    --accent-soft: rgba(232, 112, 15, .1);
    --shadow: 0 18px 50px rgba(40, 36, 30, .12);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-stretch: 110%; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff8a2b; }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); flex: none;
}
.logo-mark svg { width: 26px; height: 26px; display: block; }
.logo-mark path { fill: none; stroke: var(--accent-ink); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark circle { fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-stretch: 125%; }
.logo-text b { font-weight: 800; font-size: 18px; letter-spacing: .1em; }
.logo-text small { font-weight: 600; font-size: 9px; letter-spacing: .48em; margin-top: 4px; opacity: .72; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { height: 38px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; font-size: 20px; cursor: pointer; }

/* ---------- Hero ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent-text); margin-bottom: 14px;
}
/* Tam ekran videolu giriş: video ve üstündeki yazı her temada koyu kalır */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(560px, 100dvh); margin-top: calc(-1 * var(--nav-h));
  display: flex; align-items: flex-end; background: #111214; color: #f2f1ec;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 60%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, .55) 0%, rgba(10, 11, 12, 0) 26%),
    linear-gradient(0deg, rgba(10, 11, 12, .92) 0%, rgba(10, 11, 12, .45) 42%, rgba(10, 11, 12, 0) 70%),
    linear-gradient(90deg, rgba(10, 11, 12, .55) 0%, rgba(10, 11, 12, 0) 60%);
}
.hero-inner { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(56px, 10vh, 104px); }
.hero .eyebrow { color: #f59a4e; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 750; font-stretch: 100%; line-height: 1.08; max-width: 22ch; }
.hero h1 em { font-style: italic; color: #f59a4e; padding-right: .06em; }
.hero-sub { margin-top: 18px; max-width: 44ch; color: rgba(242, 241, 236, .82); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-glass {
  color: #f2f1ec; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { border-color: #f59a4e; }
.hero-pause {
  position: absolute; right: 88px; bottom: 26px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 11, 12, .4); color: #f2f1ec;
  display: grid; place-items: center; font-size: 16px; cursor: pointer;
}

/* Kayan şerit (sayfadaki tek marquee) */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); border-block: 1px solid rgba(0, 0, 0, .15); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 800; font-stretch: 120%; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.marquee i { width: 22px; height: 6px; border-radius: 3px; background: rgba(28, 17, 5, .55); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Üst menü videonun üstündeyken */
.nav.over { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.over .logo-text, .nav.over .nav-links a, .nav.over .nav-toggle { color: #f2f1ec; }
.nav.over .nav-toggle { border-color: rgba(255, 255, 255, .3); }
.nav { transition: background-color .3s, border-color .3s; }

/* Fotoğraflı kartlar */
.tile-photo { color: #f2f1ec; border-color: transparent; background: #111214; justify-content: flex-end; }
.tile-photo .tile-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.tile-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 11, 12, .92) 0%, rgba(10, 11, 12, .55) 45%, rgba(10, 11, 12, .1) 100%);
}
.tile-photo > *:not(.tile-bg) { position: relative; z-index: 2; }
.tile-photo:hover .tile-bg { transform: scale(1.05); }
.tile-photo p, .tile-photo .ticks li { color: rgba(242, 241, 236, .85); }
.tile-photo .tile-ic { background: rgba(255, 255, 255, .12); color: #f59a4e; backdrop-filter: blur(6px); }
.tile-photo .ticks i { color: #f59a4e; }
.tile-photo .ticks { margin-top: 6px; padding-top: 10px; }
.tile-big.tile-photo { min-height: 520px; }
.tile-road.tile-photo { min-height: 260px; }
.tile-road.tile-photo::after { display: none; }

/* Video bant */
.band { position: relative; overflow: hidden; isolation: isolate; min-height: 72vh; display: flex; align-items: center; background: var(--asphalt); color: #f2f1ec; }
.band-video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 12, .82) 0%, rgba(10, 11, 12, .35) 55%, rgba(10, 11, 12, .15) 100%); }
.band-big { font-size: clamp(2rem, 5.4vw, 4.4rem); font-weight: 800; font-stretch: 110%; line-height: 1.05; max-width: 12ch; }
.band-sub { margin-top: 14px; font-size: 17px; color: rgba(242, 241, 236, .82); max-width: 40ch; }

/* Ekipman fotoğrafı */
.gear-wrap { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 14px; align-items: stretch; }
.gear-photo { margin: 0; border-radius: var(--r); overflow: hidden; min-height: 320px; }
.gear-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Bölümler ---------- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-2); }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.lead { margin-top: 12px; color: var(--muted); max-width: 60ch; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note i { font-size: 16px; margin-top: 2px; }

/* Eğitimler bento */
.bento {
  margin-top: 40px; display: grid; gap: 16px;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas: "big road road" "big solo cone";
}
.tile {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
}
.tile h3 { font-size: 18px; }
.tile p { color: var(--muted); font-size: 14.5px; }
.tile-ic {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); font-size: 22px; margin-bottom: 6px;
}
.tile-big { grid-area: big; padding: 32px; }
.tile-big h3 { font-size: 22px; }
.tile-big p { font-size: 15px; }
.tile:nth-child(2) { grid-area: road; }
.tile:nth-child(3) { grid-area: solo; }
.tile:nth-child(4) { grid-area: cone; }
.ticks { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; padding-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.ticks i { color: var(--accent-text); }
/* yol dokulu kart */
.tile-road { background: var(--asphalt); color: #ecebe6; border-color: transparent; }
.tile-road p { color: #b9b8b1; }
.tile-road .tile-ic { background: rgba(255,255,255,.08); color: #f59a4e; }
.tile-road::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(240,238,232,.55) 0 34px, transparent 34px 62px);
  pointer-events: none;
}
.tile-road { padding-bottom: 48px; }
/* koni şeritli kart */
.tile-cone { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tile-cone p { color: rgba(28, 17, 5, .78); }
.tile-cone .tile-ic { background: rgba(28,17,5,.12); color: var(--accent-ink); }

/* Sınıf basamakları */
.ladder { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.step:nth-child(2) { min-height: 330px; }
.step:nth-child(3) { min-height: 370px; }
.step:nth-child(1) { min-height: 290px; }
.plate {
  align-self: flex-start; min-width: 74px; padding: 6px 14px; border-radius: var(--r-sm);
  border: 2px solid var(--text); font-weight: 800; font-size: 26px; font-stretch: 125%; text-align: center; line-height: 1.2;
}
.step-top .plate { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step dl { margin: 0; display: grid; gap: 10px; }
.step dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.step dt { color: var(--muted); }
.step dd { margin: 0; font-weight: 600; text-align: right; }
.step > p { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- Parkur ---------- */
.pk { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.pk-stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; min-width: 0; }
.pk-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg-2); border-radius: 999px; border: 1px solid var(--line); }
.seg-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer;
}
.seg-btn.is-on { background: var(--text); color: var(--bg); }
.seg-btn[data-mode="hatali"].is-on { background: var(--err); color: #fff; }
.pk-ctrl { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--bg-2); display: grid; place-items: center; font-size: 18px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent); }
.speed select {
  height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-2); padding: 0 10px; cursor: pointer;
}
.pk-scroll { overflow-x: auto; border-radius: var(--r-sm); -webkit-overflow-scrolling: touch; }
.pk-canvas-wrap { position: relative; min-width: 680px; aspect-ratio: 1200 / 620; background: var(--asphalt); border-radius: var(--r-sm); overflow: hidden; }
.pk-canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.pk-toast {
  position: absolute; left: 50%; top: 14px; transform: translate(-50%, -8px);
  background: var(--err); color: #fff; padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .35s cubic-bezier(.16, 1, .3, 1);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.pk-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.pk-panel { display: grid; gap: 14px; }
.pk-info, .pk-logbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pk-tag { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.pk-info h3 { font-size: 20px; margin: 4px 0 8px; }
.pk-info p { font-size: 14px; color: var(--muted); }
.pk-gaze {
  margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; font-size: 14px !important; color: var(--text) !important;
  padding: 10px 12px; border-radius: var(--r-sm); background: rgba(226, 189, 71, .12);
}
.pk-gaze > i { color: #d4a72c; font-size: 17px; margin-top: 1px; }
.pk-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; font-weight: 600; cursor: pointer; user-select: none;
}
.pk-toggle input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.pk-tips { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.pk-tips li { display: flex; gap: 8px; font-size: 14px; }
.pk-tips li i { color: var(--accent-text); margin-top: 3px; flex: none; }
.pk-logbox h4 { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.pk-logbox h4 i { color: var(--err); font-size: 17px; }
.pk-log { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; max-height: 330px; overflow-y: auto; }
.pk-log li.empty { font-size: 13.5px; color: var(--muted); }
.pk-log li.ev { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 13.5px; animation: logIn .45s cubic-bezier(.16, 1, .3, 1); }
.pk-log .num { width: 24px; height: 24px; border-radius: 50%; background: var(--err); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pk-log b { display: block; font-size: 14px; }
.pk-log span { color: var(--muted); display: block; margin-top: 2px; }
.pk-log em { font-style: normal; color: var(--text); display: block; margin-top: 4px; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Hatalar ---------- */
.tabs { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer;
}
.tab:hover { color: var(--text); }
.tab.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab-panel { margin-top: 24px; }
.tab-panel[hidden] { display: none; }

.mistakes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
.mk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.mk[open] { border-color: color-mix(in srgb, var(--err) 55%, var(--line)); }
.mk summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; font-weight: 600; font-size: 15px;
}
.mk summary::-webkit-details-marker { display: none; }
.mk summary > i:first-child {
  width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center;
  background: rgba(229, 72, 77, .12); color: var(--err); font-size: 19px;
}
.mk summary span { flex: 1; }
.mk .chev { color: var(--muted); transition: transform .25s; }
.mk[open] .chev { transform: rotate(180deg); }
.mk-body { padding: 0 18px 18px 66px; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.mk-body b { color: var(--text); font-weight: 600; }

/* ---------- Bilgi köşesi ---------- */
.gear { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gear-item { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.gear-item:nth-child(4), .gear-item:nth-child(5) { grid-column: span 3; }
.gear-item > i { font-size: 26px; color: var(--accent-text); }
.gear-item h3 { font-size: 17px; margin: 12px 0 6px; }
.gear-item p { font-size: 14.5px; color: var(--muted); }

.tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.tech-item { padding: 20px 0; border-top: 1px solid var(--line); }
.tech-item h3 { font-size: 16.5px; display: flex; align-items: center; gap: 10px; }
.tech-item h3 i { color: var(--accent-text); font-size: 20px; }
.tech-item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); max-width: 52ch; }

.check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.check-intro { color: var(--muted); font-size: 14.5px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; counter-reset: c; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li > i {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); font-size: 21px;
}
.check-list b { display: block; font-size: 15px; }
.check-list span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

.ctrls { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.ctrl-map { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctrl-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 4px; align-content: start; }
.ctrl-k { font-size: 12.5px; color: var(--accent-text); font-weight: 600; }
.ctrl-cell b { font-size: 17px; }
.ctrl-cell span:last-child { font-size: 14px; color: var(--muted); }
.shift { background: var(--asphalt); color: #ecebe6; border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.shift h3 { font-size: 17px; }
.shift p { font-size: 14px; color: #b9b8b1; }
.shift-col { display: grid; gap: 6px; justify-items: center; margin: 8px auto 0; width: 120px; padding: 12px 0; border-left: 3px solid rgba(255,255,255,.18); border-right: 3px solid rgba(255,255,255,.18); }
.shift-col span { width: 54px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,.07); }
.shift-col .n { background: transparent; border: 1px dashed rgba(255,255,255,.35); height: 24px; font-size: 13px; }
.shift-col .one { background: #f07a1a; color: #1c1105; }
.shift-cap { text-align: center; font-size: 13px !important; }

/* ---------- Mert Hoca + akış ---------- */
.hoca-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.hoca-photo {
  position: sticky; top: calc(var(--nav-h) + 24px);
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line);
}
.hoca-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { display: none; }
.hoca-photo.no-photo .photo-ph {
  display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; color: var(--muted); font-size: 14px;
  background: repeating-linear-gradient(135deg, transparent 0 18px, var(--line) 18px 19px);
}
.photo-ph i { font-size: 34px; }
.flow { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: f; }
.flow li { position: relative; padding: 0 0 28px 44px; counter-increment: f; }
.flow li::before {
  content: counter(f); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--accent-text);
}
.flow li::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 17px; padding-top: 3px; }
.flow p { margin-top: 6px; color: var(--muted); font-size: 14.5px; max-width: 54ch; }

/* ---------- SSS ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent-text); transition: transform .25s; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* ---------- İletişim ---------- */
.sec-contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list i { font-size: 20px; color: var(--accent-text); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent-text); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); background: var(--bg);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .help { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--err); }
.field input[aria-invalid="true"] { border-color: var(--err); }

/* ---------- Alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.logo.small .logo-mark { width: 30px; height: 30px; }
.logo.small .logo-mark svg { width: 21px; height: 21px; }
.logo.small .logo-text { color: var(--text); }
.logo.small .logo-text b { font-size: 15px; }
.logo.small .logo-text small { font-size: 8px; margin-top: 3px; }
.foot { position: relative; }
.foot .kerb-line { position: absolute; top: -1px; left: 0; right: 0; }

/* ---------- Apex Akademi: bordür motifi ---------- */
.kerb-line { height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 34px, #f2efe8 34px 68px); }
.kerb { display: inline-block; width: 30px; height: 6px; border-radius: 1px; margin-right: 12px; vertical-align: middle;
  background: repeating-linear-gradient(90deg, #f59a4e 0 7.5px, #f2f1ec 7.5px 15px); }
.hero-eyebrow { display: flex; align-items: center; }

/* ---------- Apex Akademi: viraj çizgisi bölümü ---------- */
.sec-apex { position: relative; padding-top: 96px; }
.sec-apex > .kerb-line { position: absolute; top: 0; left: 0; right: 0; }
.apex-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: end; margin-bottom: 36px; }
.apex-head .lead { margin: 0; }
.apex-title { font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-weight: 780; line-height: 1.05; }
.apex-title em { font-style: italic; color: var(--accent-text); padding-right: .05em; }
.apex { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.apex-stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.apex-seg { align-self: flex-start; flex-wrap: wrap; }
.apex[data-tur="iyi"] .apex-seg .seg-btn.is-on { background: #2fb36d; color: #04140b; }
.apex[data-tur="orta"] .apex-seg .seg-btn.is-on { background: #5b9cf0; color: #06121f; }
.apex[data-tur="kotu"] .apex-seg .seg-btn.is-on { background: var(--err); color: #fff; }
.apex-svg-wrap { border-radius: var(--r-sm); overflow: hidden; background: #1d2a1f; }
.apex-svg { display: block; width: 100%; height: auto; aspect-ratio: 450 / 430; }
.ap-oncoming { fill: rgba(229, 72, 77, .07); }
.ap-edge { fill: none; stroke: #e9e7e0; stroke-width: 3; }
.ap-center { fill: none; stroke: #e9e7e0; stroke-width: 2.4; stroke-dasharray: 16 14; opacity: .85; }
.ap-kerb-base { fill: none; stroke: #f2efe8; stroke-width: 9; }
.ap-kerb { fill: none; stroke: var(--accent); stroke-width: 9; stroke-dasharray: 12 12; }
.ap-line { fill: none; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke: #2fb36d;
  filter: drop-shadow(0 0 6px rgba(47, 179, 109, .55)); }
.apex[data-tur="orta"] .ap-line { stroke: #5b9cf0; filter: drop-shadow(0 0 6px rgba(91, 156, 240, .5)); }
.apex[data-tur="kotu"] .ap-line { stroke: #f5b942; filter: drop-shadow(0 0 6px rgba(245, 185, 66, .45)); }
.ap-line-over { fill: none; stroke: var(--err); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s; }
.ap-mark circle { transition: opacity .35s; }
.ap-mark-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; }
.ap-mark-dot { fill: #fff; opacity: 0; }
.ap-mark.on .ap-mark-ring { opacity: .9; }
.ap-mark.on .ap-mark-dot { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ap-mark.on .ap-mark-ring { animation: apexPulse 2.2s ease-out .4s infinite; }
}
@keyframes apexPulse { 0% { r: 9px; opacity: .95; } 80%, 100% { r: 26px; opacity: 0; } }
.ap-bike rect { fill: #f2f1ec; stroke: #111214; stroke-width: 1.4; }
.ap-bike-head { fill: var(--accent); stroke: #111214; stroke-width: 1.2; }
.ap-lbl { font: 700 11px var(--font); letter-spacing: .14em; fill: rgba(233, 231, 224, .62); }
.ap-lbl-me { fill: rgba(233, 231, 224, .9); }
.apex-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.apex-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 18px; height: 8px; border-radius: 2px; display: inline-block; }
.lg-kerb { background: repeating-linear-gradient(90deg, var(--accent) 0 4.5px, #f2efe8 4.5px 9px); }
.lg-mark { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px rgba(255, 255, 255, .7); }
.lg-on { background: rgba(229, 72, 77, .35); border: 1px solid rgba(229, 72, 77, .6); }
.apex-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.apex-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(47, 179, 109, .14); color: #3fcb80; }
.apex[data-tur="orta"] .apex-tag { background: rgba(91, 156, 240, .14); color: #7db2f5; }
.apex[data-tur="kotu"] .apex-tag { background: rgba(229, 72, 77, .14); color: #ff7a7e; }
.apex-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 750; }
.apex-panel p { color: var(--muted); font-size: 16px; }
.apex-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.apex-facts li { position: relative; padding-left: 26px; font-size: 15px; }
.apex-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #2fb36d; }
.apex[data-tur="orta"] .apex-facts li::before { border-color: #5b9cf0; }
.apex[data-tur="kotu"] .apex-facts li::before { border-color: var(--err); }
.apex-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.apex-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; }
.apex-steps span { font-weight: 800; font-stretch: 125%; font-size: 13px; color: var(--accent-text); letter-spacing: .08em; }
.apex-steps b { font-size: 17px; font-stretch: 110%; }
.apex-steps p { color: var(--muted); font-size: 14px; }
@media (prefers-color-scheme: light) {
  .apex-tag { color: #17804a; }
  .apex[data-tur="orta"] .apex-tag { color: #2a6fc9; }
  .apex[data-tur="kotu"] .apex-tag { color: #c22f34; }
}
@media (max-width: 960px) {
  .apex-head { grid-template-columns: 1fr; }
  .apex { grid-template-columns: 1fr; }
  .apex-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .apex-stage { padding: 10px; }
  .apex-panel { padding: 22px; }
  .apex-seg .seg-btn { padding-inline: 10px; font-size: 13px; }
  .apex-steps { grid-template-columns: 1fr; }
}

/* ---------- Görünüm animasyonu ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-media { animation: heroIn 1.6s cubic-bezier(.16, 1, .3, 1) both; }
  /* görselin perde gibi açılması */
  .reveal-clip { clip-path: inset(12% 12% 12% 12% round var(--r)); transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1); }
  .reveal-clip.in { clip-path: inset(0 0 0 0 round var(--r)); }
  .tile-photo.reveal .tile-bg { transform: scale(1.12); }
  .tile-photo.reveal.in .tile-bg { transform: scale(1); }
  .tile-photo.reveal.in:hover .tile-bg { transform: scale(1.05); }
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
/* Kaydırmaya bağlı hareket (destekleyen tarayıcılarda) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-media video { animation: heroZoom linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-inner { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .band-video { animation: bandPan linear both; animation-timeline: view(); }
    .band-copy { animation: bandCopy linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes heroZoom { to { transform: scale(1.14); } }
@keyframes heroOut { to { opacity: 0; transform: translateY(-80px); } }
@keyframes bandPan { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes bandCopy { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Duyarlı yerleşim ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .pk { grid-template-columns: 1fr; }
  .pk-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1140px) {
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; place-items: center; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .nav.over .nav-links a { color: var(--text); }
  .nav.over:has(.nav-links.open) { background: var(--bg); }
  .nav.over:has(.nav-links.open) .logo-text, .nav.over:has(.nav-links.open) .nav-toggle { color: var(--text); }
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .gear-wrap { grid-template-columns: 1fr; }
  .gear-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "road road" "solo cone"; }
  .ladder { grid-template-columns: 1fr; }
  .step:nth-child(n) { min-height: 0; }
  .gear { grid-template-columns: 1fr 1fr; }
  .gear-item, .gear-item:nth-child(4), .gear-item:nth-child(5) { grid-column: span 1; }
  .check-list { grid-template-columns: 1fr 1fr; }
  .ctrls { grid-template-columns: 1fr; }
  .hoca-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hoca-photo { position: relative; top: 0; max-width: 420px; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .hero-sub { font-size: 16px; }
  .hero-pause { top: calc(var(--nav-h) + 12px); bottom: auto; right: 16px; }
  .hero-inner { padding-bottom: 96px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-media video { object-position: 62% 50%; }
  .tile-big.tile-photo { min-height: 460px; }
  .band { min-height: 56vh; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "big" "road" "solo" "cone"; }
  .mistakes, .tech, .check-list, .gear, .ctrl-map { grid-template-columns: 1fr; }
  .pk-panel { grid-template-columns: 1fr; }
  .pk-stage { padding: 10px; }
  .mk-body { padding-left: 18px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   İLAVELER
   ========================================================= */

/* Sınıf bulucu */
.finder {
  margin-top: 20px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.finder-form { padding: 24px; }
.finder-form h3 { font-size: 17px; margin-bottom: 16px; }
.finder-fields { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 14px; }
.finder-out {
  padding: 24px; background: var(--accent-soft); border-left: 1px solid var(--line);
  display: flex; gap: 16px; align-items: center;
}
.finder-out .plate { flex: none; }
.plate-on { background: var(--accent); border-color: var(--accent) !important; color: var(--accent-ink); }
.plate-off { opacity: .5; }
.fo-msg { font-size: 14.5px; color: var(--muted); }
.fo-msg b { color: var(--text); display: block; margin-bottom: 2px; }

/* Oyun */
.game { margin-top: 32px; }
.game-view {
  position: relative; border-radius: var(--r); overflow: hidden; background: #1b1c1e;
  aspect-ratio: 16 / 9; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.game-view canvas { width: 100%; height: 100%; display: block; outline: none; touch-action: none; }
.game-hud { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.game-hud div {
  background: rgba(20, 21, 23, .78); color: #ecebe6; border-radius: var(--r-sm); padding: 6px 10px; min-width: 70px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.game-hud span { display: block; font-size: 11px; color: #a4a39d; }
.game-hud b { font-size: 14px; font-variant-numeric: tabular-nums; }
.game-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: calc(100% - 28px);
  background: rgba(20, 21, 23, .82); color: #ecebe6; padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 13.5px; text-align: center; pointer-events: none; transition: background-color .2s;
}
.game-hint:empty { display: none; }
.game-hint.bad { background: var(--err); color: #fff; font-weight: 600; }
.game-over {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px;
  padding: 24px; background: rgba(18, 19, 21, .8); color: #ecebe6;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.game-over[hidden] { display: none; }
.game-over > i { font-size: 40px; color: #f59a4e; }
.game-over h3 { font-size: 22px; }
.game-over p { max-width: 46ch; color: #c4c3bc; font-size: 14.5px; }
.game-errs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 520px; }
.game-errs li { background: rgba(229, 72, 77, .18); color: #ffb3b5; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.game-pad { display: none; justify-content: space-between; gap: 12px; margin-top: 12px; user-select: none; -webkit-user-select: none; }
.pad-group { display: flex; gap: 10px; }
.game-pad button {
  width: 76px; height: 64px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  font-size: 26px; font-weight: 700; display: grid; place-items: center; touch-action: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.game-pad .pad-brake, .game-pad .pad-gas { font-size: 15px; }
.game-pad .pad-gas { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.game-pad button.down { transform: scale(.95); filter: brightness(1.15); }
.keys { margin-top: 12px; font-size: 13px; color: var(--muted); }
kbd {
  display: inline-block; min-width: 24px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface); font: 600 12px var(--font); text-align: center;
}
@media (hover: none), (pointer: coarse) {
  .game-pad { display: flex; }
  .keys { display: none; }
}

/* Mini test */
.quiz { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.quiz-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; }
.quiz h3 { font-size: 20px; margin: 12px 0 18px; line-height: 1.3; }
.quiz-opts { display: grid; gap: 10px; }
.q-opt {
  display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 15px;
  transition: border-color .2s, background-color .2s;
}
.q-opt:hover:not(:disabled) { border-color: var(--accent); }
.q-opt:disabled { cursor: default; }
.q-key {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); font-size: 13px; font-weight: 700;
}
.q-opt.ok { border-color: #3fb27f; background: rgba(63, 178, 127, .12); }
.q-opt.ok .q-key { background: #3fb27f; color: #fff; }
.q-opt.no { border-color: var(--err); background: rgba(229, 72, 77, .1); }
.q-opt.no .q-key { background: var(--err); color: #fff; }
.quiz-exp { margin-top: 16px; font-size: 14.5px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--line); }
.quiz-exp.is-ok { border-color: #3fb27f; }
.quiz-exp.is-no { border-color: var(--err); }
.quiz-exp b { color: var(--text); }
.quiz-foot { margin-top: 20px; display: flex; justify-content: flex-end; }
.quiz-foot .btn[hidden] { display: none; }
.q-result { color: var(--muted); font-size: 15.5px; }

/* İlk motor */
.buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.buy-lead { grid-column: span 3; max-width: 64ch; margin-bottom: 6px; }
.buy-lead h3 { font-size: 18px; }
.buy-lead p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.buy-item { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.buy-item > i { flex: none; font-size: 24px; color: var(--accent-text); }
.buy-item b { display: block; font-size: 15.5px; }
.buy-item span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Sınav günü */
.exam { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; max-width: 760px; }
.exam-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.exam-head h3 { font-size: 18px; }
.exam-head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.exam-head .btn { height: 36px; font-size: 13.5px; }
.exam-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.exam-list label { display: flex; gap: 12px; align-items: center; padding: 10px 8px; border-radius: var(--r-sm); cursor: pointer; }
.exam-list label:hover { background: var(--bg-2); }
.exam-list input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.exam-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.exam-done { margin-top: 14px; display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--accent-text); }
.exam-done[hidden] { display: none; }

/* Galeri */
.gallery { margin-top: 32px; columns: 3 260px; column-gap: 14px; }
.g-item { margin: 0 0 14px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.g-item img, .g-item video { width: 100%; display: block; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
.g-empty {
  column-span: all; display: flex; gap: 16px; align-items: center; padding: 28px; border-radius: var(--r);
  border: 1px dashed color-mix(in srgb, var(--text) 25%, transparent); color: var(--muted);
}
.g-empty i { font-size: 34px; color: var(--accent-text); flex: none; }
.insta {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s;
}
.insta:hover { border-color: var(--accent); }
.insta > i:first-child { font-size: 30px; color: var(--accent-text); }
.insta b { display: block; font-size: 16px; }
.insta small { display: block; font-size: 13px; color: var(--muted); }
.insta > i:last-child { color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(10, 10, 12, .85); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); }
.lb-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(20, 21, 23, .8); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer;
}

/* Yorumlar */
.quotes { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.quote { margin: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.quote blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.quote figcaption { margin-top: 14px; font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.quote figcaption span { color: var(--muted); }

/* Online randevu */
.contact-grid:has(.booking) { grid-template-columns: .8fr 1.2fr; }
.booking { gap: 20px; }
.bk-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 12px; padding: 0; }
.bk-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 800;
}
.bk-days {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.bk-day {
  flex: none; width: 74px; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px;
  padding: 10px 4px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s;
}
.bk-day:hover:not(:disabled) { border-color: var(--accent); }
.bk-day:active:not(:disabled) { transform: scale(.97); }
.bk-day b { font-size: 20px; line-height: 1.2; font-stretch: 110%; }
.bk-dn, .bk-mn { font-size: 12px; color: var(--muted); }
.bk-free { margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--accent-text); }
.bk-day:disabled { opacity: .45; cursor: not-allowed; }
.bk-day:disabled .bk-free { color: var(--muted); }
.bk-day.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bk-day.is-on .bk-dn, .bk-day.is-on .bk-mn, .bk-day.is-on .bk-free { color: var(--accent-ink); }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk-time {
  height: 44px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  background: var(--bg); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer;
  display: grid; place-content: center; line-height: 1.1; transition: border-color .2s, background-color .2s;
}
.bk-time small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.bk-time:hover:not(:disabled) { border-color: var(--accent); }
.bk-time:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.bk-time.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bk-empty { font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.bk-info { display: grid; gap: 14px; }
.bk-summary {
  display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--bg-2); font-size: 14.5px; color: var(--muted);
}
.bk-summary i { font-size: 20px; }
.bk-summary.is-on { background: var(--accent-soft); color: var(--text); }
.bk-summary.is-on i { color: var(--accent-text); }
.bk-note { text-align: center; color: var(--muted); font-size: 13px; }
.booking:not(.sunucu) .only-sunucu { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0 !important; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.check a { color: var(--accent-text); }
.bk-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 18px 8px; }
.bk-done > i { font-size: 52px; color: #3fb27f; }
.bk-done h3 { font-size: 22px; }
.bk-done p { color: var(--muted); max-width: 40ch; }
.bk-done p b { color: var(--text); }
.bk-done .btn { width: 100%; max-width: 340px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.booking.no-cal .bk-step:not(.bk-info), .booking.no-cal .bk-summary, .booking.no-cal .bk-n { display: none; }
.bk-nocal {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--accent-soft); font-size: 14.5px; color: var(--text);
}
.bk-nocal i { font-size: 22px; color: var(--accent-text); flex: none; }
#bkErr { color: var(--err); font-size: 13.5px; }
#bkErr[hidden] { display: none; }

/* İletişim ilaveleri */
.map-link { margin-left: 10px; font-size: 13.5px; color: var(--accent-text) !important; }

/* Sabit WhatsApp düğmesi */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 25; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .2s;
}
.wa-float:hover { transform: translateY(-2px); }
body.oyunda .wa-float { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .contact-grid:has(.booking) { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; }
  .finder-out { border-left: 0; border-top: 1px solid var(--line); }
  .buy { grid-template-columns: 1fr 1fr; }
  .buy-lead { grid-column: span 2; }
}
@media (max-width: 767px) {
  .finder-fields { grid-template-columns: 1fr; }
  .game-view { aspect-ratio: 4 / 5; }
  .game-hud { max-width: calc(100% - 140px); left: 8px; top: 8px; gap: 4px; }
  .game-hud div { min-width: 0; padding: 4px 7px; }
  .game-hud div:first-child { display: none; }
  .game-hud span { font-size: 10px; }
  .game-hud b { font-size: 13px; }
  .buy { grid-template-columns: 1fr; }
  .buy-lead { grid-column: auto; }
  .quiz { padding: 20px; }
  .g-empty { flex-direction: column; align-items: flex-start; }
  .exam-head { flex-direction: column; }
}

/* ---------- Apex Akademi: açılış animasyonu (js/intro.js) ---------- */
.acilis { display: none; }
html.intro .acilis {
  display: block; position: fixed; inset: 0; z-index: 100; background: #111214; color: #f2f1ec;
  overflow: hidden; cursor: pointer; user-select: none;
  transition: transform .8s cubic-bezier(.76, 0, .24, 1);
  animation: introGuvence .5s 7s forwards; /* betik yüklenmezse sayfayı kilitlemesin */
}
html.intro { overflow: hidden; }
html.intro body { overflow: hidden; }
.acilis canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.acilis::after { /* perde kalkarken alt kenarda bordür */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, #f07a1a 0 34px, #f2efe8 34px 68px);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.acilis.yazi::after { transform: scaleX(1); }
.acilis.kalk { transform: translateY(-100%); }
.intro-yazi { position: absolute; left: 0; right: 0; top: var(--logo-alt, 62%); text-align: center; pointer-events: none; }
.intro-ad { display: block; font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: .14em; line-height: 1; padding-left: .14em; }
.intro-ad span { display: inline-block; opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1), filter .5s; }
.intro-alt { display: block; margin-top: 10px; font-weight: 600; font-stretch: 125%; font-size: clamp(.8rem, 1.6vw, 1rem);
  letter-spacing: 1.1em; padding-left: 1.1em; color: rgba(242, 241, 236, .7); opacity: 0; transition: opacity .6s .3s, letter-spacing 1s .3s cubic-bezier(.16, 1, .3, 1); }
.intro-slogan { margin-top: 18px; font-size: clamp(.85rem, 1.5vw, 1rem); color: #f59a4e; opacity: 0; transform: translateY(8px);
  transition: opacity .5s .55s, transform .6s .55s cubic-bezier(.16, 1, .3, 1); }
.acilis.yazi .intro-ad span { opacity: 1; transform: none; filter: none; }
.acilis.yazi .intro-ad span:nth-child(2) { transition-delay: .06s; }
.acilis.yazi .intro-ad span:nth-child(3) { transition-delay: .12s; }
.acilis.yazi .intro-ad span:nth-child(4) { transition-delay: .18s; }
.acilis.yazi .intro-alt { opacity: 1; letter-spacing: .48em; }
.acilis.yazi .intro-slogan { opacity: 1; transform: none; }
.intro-gec { position: absolute; right: 22px; bottom: 26px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 241, 236, .55);
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.intro-gec:hover { color: #f2f1ec; border-color: #f07a1a; }
@keyframes introGuvence { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* Giriş yazıları perde kalkınca oynasın */
html.intro-oynuyor .hero-copy > *, html.intro-oynuyor .hero-media { animation-play-state: paused; }

/* ---------- Brostech imzası (alt bilgi) ---------- */
.imza { display: flex; justify-content: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.imza-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted);
  font-size: 13px; letter-spacing: .02em; opacity: .82; transition: opacity .2s, transform .2s; }
.imza-link:hover, .imza-link:focus-visible { opacity: 1; transform: translateY(-1px); }
.imza-link img { display: block; height: 30px; width: auto; }
@media (max-width: 520px) {
  .imza { padding-bottom: 64px; } /* sabit WhatsApp düğmesinin altında kalmasın */
  .imza-link { flex-direction: column; gap: 8px; }
}
