/* =========================================================
   Tıpdemy TV — stil
   Marka: Royal Blue #137ca7 · Deep Sky #10c2ea · Orange #f69d42
          Dark Orange #f26b3c · Black #231f20 · Dark Grey #58595b
   Yazı: Gilroy varsa kullanılır (assets/fonts), yoksa Outfit.
   ========================================================= */

@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --royal: #137ca7;
  --deep: #0b5f85;
  --navy: #073a54;
  --abyss: #052a3d;
  --sky: #10c2ea;
  --pale: #dff5fc;
  --mist: #f3f9fc;
  --orange: #f69d42;
  --ember: #f26b3c;
  --ink: #231f20;
  --grey: #58595b;
  --line: #d8e5ee;
  --white: #ffffff;

  --font: "Gilroy", "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 40px);
  --r: 16px;
  --shadow: 0 24px 60px -30px rgba(7, 58, 84, .45);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .85em; letter-spacing: .02em; }
.muted { color: var(--grey); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--ember); color: #fff; }
.btn--yt { position: relative; background: #fff; color: var(--ink); border-color: #ff0000; padding: 9px 16px 9px 12px; font-weight: 600; }
.btn--yt svg { color: #ff0000; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn--yt:hover { background: #ff0000; color: #fff; }
.btn--yt:hover svg { color: #fff; transform: scale(1.15) rotate(-6deg); }
.btn--yt::after { content: ""; position: absolute; inset: -2px; border-radius: 999px; border: 2px solid rgba(255,0,0,.6); opacity: 0; pointer-events: none; animation: ytring 4.5s ease-out infinite 1.2s; }
@keyframes ytring { 0% { transform: scale(.92); opacity: .9; } 30% { transform: scale(1.22); opacity: 0; } 100% { opacity: 0; } }
.mobilenav a:last-child { color: #ff0000; }
.btn--royal { background: var(--royal); color: #fff; }
.btn--royal:hover { background: var(--deep); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--pale); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; }
.btn--small { padding: 9px 14px; font-size: 14px; }
.btn--stage { position: relative; overflow: hidden; border-color: rgba(255,255,255,.6); }
.btn--stage::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.btn__expand path { transform-origin: 12px 12px; animation: expandHint 2.4s ease-in-out infinite; }
.btn__expand .c2 { animation-delay: .1s; } .btn__expand .c3 { animation-delay: .2s; } .btn__expand .c4 { animation-delay: .3s; }
@keyframes expandHint { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.28); } }
.btn--stage.is-on .btn__expand path { animation: none; transform: rotate(180deg) scale(.85); }
.btn--stage.is-on::before { animation: none; }
.btn--stage:hover { background: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) { .btn--yt::after, .btn--stage::before, .btn__expand path { animation: none; } }

/* ---------- üst çubuk ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 150px; height: auto; }
.brand__tv { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; }
.brand__tv img { width: 34px; height: 34px; }
.brand__tv b { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--ember); line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--grey); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: var(--ink); border-bottom-color: var(--orange); }
.top__cta { margin-left: auto; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobilenav { display: flex; flex-direction: column; border-top: 1px solid var(--line); background: #fff; }
.mobilenav a { padding: 14px var(--pad); text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobilenav a:last-child { color: var(--ember); }

@media (max-width: 900px) {
  .nav, .top__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--royal); margin-bottom: 12px; font-weight: 500;
}
.eyebrow--light { color: var(--sky); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(246,157,66,.25); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(16,194,234,.35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(246,157,66,.18), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 55%, var(--abyss) 100%);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-top: clamp(44px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 92px);
}
.hero__title {
  font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
  margin: 6px 0 18px;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 28px; }

/* Higgsfield arka planı: sakin, karartılmış; metin alanı temiz kalır */
.hero {
  background-image:
    linear-gradient(90deg, rgba(5,42,61,.72) 0%, rgba(5,42,61,.35) 45%, rgba(5,42,61,.25) 100%),
    url("../img/hero/arkaplan.webp"),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 55%, var(--abyss) 100%);
  background-size: auto, cover, auto; background-position: center, center 40%, center;
}
.hero__grain { opacity: .35; }

/* sıradaki ders kartı */
.next {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: 18px 20px 20px; backdrop-filter: blur(6px);
}
.next__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.next__label { white-space: nowrap; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--sky); }
.next__when { color: rgba(255,255,255,.85); }
.next__body { display: flex; gap: 14px; align-items: flex-start; }
.next__photo { width: 72px; height: 90px; object-fit: cover; object-position: top; border-radius: 10px; background: linear-gradient(180deg, var(--sky), var(--royal)); flex: none; }
.next__branch { color: var(--orange); font-weight: 500; margin-bottom: 2px; }
.next__topic { font-weight: 700; font-size: 18px; line-height: 1.25; }
.next__teacher { color: rgba(255,255,255,.75); margin-top: 4px; font-size: 15px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 16px; }
.count__cell { text-align: center; background: rgba(5,42,61,.55); border-radius: 10px; padding: 10px 4px 8px; }
.count__cell b { display: block; font-family: var(--mono); font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.count__cell span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.count.is-over .count__cell b { color: var(--orange); }
.next__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ekran */
.screen { position: relative; }
.screen__bezel {
  background: #07202e; border-radius: 22px; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08);
}
.screen__bug {
  display: flex; align-items: center; gap: 10px; padding: 4px 8px 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.7);
}
.screen__bug img { width: 22px; height: auto; }
.screen__status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
.screen__status i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.screen__status.is-live { color: #fff; }
.screen__status.is-live i { background: var(--ember); box-shadow: 0 0 0 0 rgba(242,107,60,.7); animation: pulse 1.6s infinite; }
.screen__status.is-soon i { background: var(--orange); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,107,60,.7); } 70% { box-shadow: 0 0 0 8px rgba(242,107,60,0); } 100% { box-shadow: 0 0 0 0 rgba(242,107,60,0); } }
@media (prefers-reduced-motion: reduce) { .screen__status.is-live i { animation: none; } }
.screen__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.screen__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 8px 4px; }
.screen__hint { font-size: 13px; color: rgba(255,255,255,.6); }
.chat { padding: 10px 6px 4px; }
.chat__frame { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0d2c3d; }
.chat__frame iframe { width: 100%; height: 100%; border: 0; }
.chat__frame:empty { display: none; }
.chat__note { font-size: 13px; color: rgba(255,255,255,.65); padding: 8px 2px 2px; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .screen { order: -1; }
}

/* ---------- sahne görünümü (yayın modu) ---------- */
.screen__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.screen__ask { display: none; }
.hero.is-live .screen__ask { display: inline-flex; }
.stage__fx { display: none; }

.hero--stage .hero__in { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 40px; }
.hero--stage .hero__copy { display: none; }
.hero--stage .screen { max-width: 1240px; width: 100%; margin: 0 auto; }
.hero--stage .screen__bezel {
  position: relative; padding: 0; aspect-ratio: 2752 / 1536; border-radius: 18px; overflow: hidden;
  background: var(--stage-bg, #07202e) center / cover no-repeat;
  animation: stageIn .7s cubic-bezier(.2,.8,.2,1);
}
@keyframes stageIn { from { transform: scale(.88); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero--stage .screen__bezel { animation: none; } }
.hero--stage .screen__frame {
  position: absolute; left: var(--sx, 30%); top: var(--sy, 27%); width: var(--sw, 40%); height: var(--sh, 41%);
  aspect-ratio: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 60px rgba(16,194,234,.25);
}
.hero--stage .screen__frame iframe { object-fit: contain; }
.hero--stage .screen__bug { position: absolute; top: 12px; left: 14px; z-index: 3; background: rgba(4,20,30,.55); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 14px 6px 10px; }
.hero--stage .screen__bug .screen__status { margin-left: 10px; }
.hero--stage .screen__bar { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 3; padding: 8px 10px; background: rgba(4,20,30,.55); backdrop-filter: blur(6px); border-radius: 12px; }
.hero--stage .screen__hint { color: rgba(255,255,255,.85); }
.hero--stage .chat { position: absolute; right: 14px; top: 56px; width: min(340px, 40%); z-index: 4; padding: 0; }
.hero--stage .chat__frame { aspect-ratio: 3 / 4; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.hero--stage .chat__note { background: rgba(4,20,30,.6); border-radius: 8px; padding: 8px 10px; }
.hero--stage .standby { border-radius: 3px; padding: 4% 3%; }
.hero--stage .standby__tag { display: none; }
.hero--stage .standby__photo { height: 100%; max-width: 40%; }
.hero--stage .standby__title { font-size: clamp(14px, 1.6vw, 22px); }
.hero--stage .standby__sub { font-size: clamp(11px, 1vw, 14px); }
.hero--stage .standby__actions .btn { padding: 7px 12px; font-size: 12.5px; }

/* sahne efektleri: yükselen tepkiler + ışık süpürmesi */
.hero--stage .stage__fx { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.stage__fx::before {
  content: ""; position: absolute; inset: -20%; opacity: .35; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(16,194,234,.35) 50%, transparent 60%);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.fx-icon {
  position: absolute; bottom: 8%; width: 34px; height: 34px; opacity: 0;
  animation: rise var(--dur, 5s) ease-out forwards; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
}
@keyframes rise {
  0% { transform: translateY(0) scale(.6) rotate(-8deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-260px) translateX(var(--dx, 0)) scale(1.1) rotate(6deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .stage__fx::before, .fx-icon { animation: none; display: none; } }

/* dar ekranda sahne: arka plan olarak kalır, video tam genişlik */
@media (max-width: 760px) {
  .hero--stage .screen__bezel { aspect-ratio: auto; padding: 10px; background-size: cover; }
  .hero--stage .screen__bezel::before { content: ""; position: absolute; inset: 0; background: rgba(4,20,30,.55); backdrop-filter: blur(3px); }
  .hero--stage .screen__frame { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
  .hero--stage .screen__bug, .hero--stage .screen__bar, .hero--stage .chat { position: relative; inset: auto; width: auto; background: none; backdrop-filter: none; padding: 8px 6px; }
  .hero--stage .stage__fx { display: none; }
}

/* bekleme ekranı (yayın yokken) */
.standby {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  color: #fff; overflow: hidden;
  background:
    radial-gradient(600px 320px at 80% 0%, rgba(16,194,234,.35), transparent 60%),
    linear-gradient(160deg, #0f5f85 0%, #083b56 60%, #041f2e 100%);
}
.standby::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.standby__photo { position: absolute; right: 4%; bottom: 0; height: 96%; width: auto; max-width: 42%; object-fit: contain; object-position: bottom; }
.standby__tag { position: relative; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.standby__title { position: relative; font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.1; max-width: 56%; letter-spacing: -0.01em; }
.standby__sub { position: relative; color: rgba(255,255,255,.75); margin-top: 6px; max-width: 56%; font-size: 14.5px; }
.standby__actions { position: relative; display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 560px) { .standby { padding: 14px; } .standby__title { max-width: 64%; font-size: 18px; } .standby__sub { display: none; } }

/* ---------- genel bölüm ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec--tint { background: var(--mist); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.sec__note { color: var(--grey); max-width: 38ch; font-size: 15px; }
@media (max-width: 760px) { .sec__head { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ---------- soru & cevap ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .qa { grid-template-columns: 1fr; } }
.qa__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.qa__pick { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--grey); flex: 1; min-width: 0; width: 100%; }
.qa__pick select { flex: 1; min-width: 0; width: 100%; text-overflow: ellipsis; font: inherit; font-size: 15px; font-weight: 500; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); max-width: 100%; }
.qa__stats { font-size: 13px; color: var(--grey); white-space: nowrap; }
.q { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.q--answered { border-color: rgba(19,124,167,.35); }
.q__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 13px; color: var(--grey); }
.q__head b { color: var(--ink); font-size: 14.5px; }
.q__body { margin: 8px 0 10px; font-size: 15.5px; line-height: 1.5; }
.q__vote { font: inherit; font-size: 13px; font-weight: 600; color: var(--royal); background: var(--mist); border: 1.5px solid transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.q__vote:hover { border-color: var(--royal); }
.q__vote[disabled] { color: var(--grey); cursor: default; background: #eef2f5; }
.q__vote[disabled]:hover { border-color: transparent; }
.q__pending { font-size: 13px; color: var(--grey); margin-left: 10px; }
.q__answer { margin-top: 12px; padding: 12px 14px 12px 16px; background: linear-gradient(180deg, #eef8fc, #f6fbfd); border-left: 3px solid var(--royal); border-radius: 0 10px 10px 0; }
.q__answer b { display: block; font-size: 13px; color: var(--royal); margin-bottom: 4px; }
.q__answer p { font-size: 15px; }
.q__answer small { display: block; margin-top: 6px; color: var(--grey); font-size: 12px; }
.qa__empty { border: 1.5px dashed var(--line); border-radius: 14px; padding: 28px; text-align: center; color: var(--grey); }
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 88px; }
.qform h3 { margin-bottom: 4px; }
.qform__who { color: var(--grey); font-size: 13.5px; margin-bottom: 14px; }
.qform__who b { color: var(--royal); }
.qform__note { color: var(--grey); font-size: 12.5px; margin-top: 10px; }
.qform.is-live { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(242,107,60,.12); }
.qform.is-live h3::before { content: "● "; color: var(--ember); }

/* ---------- yayın akışı rayı ---------- */
.rail-wrap { position: relative; }
.rail-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--grey); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend__dot--done { background: var(--royal); }
.legend__dot--now { background: var(--ember); }
.legend__dot--next { background: var(--pale); border: 1.5px solid var(--sky); }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.rail-btn:hover { border-color: var(--royal); color: var(--royal); }
.rail-btn--icon { width: 38px; padding: 0; font-size: 20px; line-height: 1; }

.rail {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--pad) 22px; scroll-padding-left: var(--pad);
  scrollbar-width: thin; scrollbar-color: var(--royal) var(--mist);
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--royal); border-radius: 8px; }
.rail::-webkit-scrollbar-track { background: var(--mist); }
@media (min-width: 1240px) {
  .rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--pad)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--pad)); }
}

.week {
  position: relative; flex: 0 0 236px; scroll-snap-align: start;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  padding: 14px 14px 16px; min-height: 196px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.week:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.week__no { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--grey); }
.week__no b { font-weight: 500; color: var(--ink); }
.week__state { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--pale); color: var(--deep); letter-spacing: .08em; text-transform: uppercase; }
.week__branch { font-weight: 700; color: var(--royal); font-size: 14px; }
.week__topic { font-weight: 600; line-height: 1.3; font-size: 15px; flex: 1; }
.week__teacher { font-size: 13.5px; color: var(--grey); display: flex; align-items: center; gap: 8px; }
.week__teacher img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--pale); }
.week__link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--royal); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.week__link:hover { color: var(--ember); }

.week--tba { border-style: dashed; background: transparent; }
.week--tba .week__topic { color: var(--grey); font-weight: 500; }
.week--done { border-color: var(--royal); }
.week--done .week__state { background: var(--royal); color: #fff; }
.week--now { border-color: var(--ember); background: linear-gradient(180deg, #fff6ef, #fff); }
.week--now .week__state { background: var(--ember); color: #fff; }
.week--now::before { content: ""; position: absolute; inset: -1.5px; border-radius: 14px; box-shadow: 0 0 0 4px rgba(242,107,60,.18); pointer-events: none; }
.week--month { flex-basis: 64px; min-width: 64px; border: 0; background: none; padding: 0; justify-content: flex-end; align-items: center; }
.week--month:hover { transform: none; box-shadow: none; }
.week--month span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--royal); font-weight: 500; }

/* ---------- videolar ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video { text-align: left; font: inherit; border: 0; background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0; box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; color: var(--ink); }
.video:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pale); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(7,58,84,.85); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.video:hover .video__play { background: var(--ember); transform: scale(1.08); }
.video__meta { padding: 12px 14px 14px; }
.video__title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__date { color: var(--grey); font-size: 12.5px; margin-top: 6px; }
.videos__more { margin-top: 28px; text-align: center; }
.videos__fallback { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.videos__fallback iframe { width: 100%; height: 100%; border: 0; }

/* ---------- eğitmenler ---------- */
.teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 20px 16px; align-items: end; }
.teacher { margin: 0; }
.teacher__slot { display: flex; align-items: center; gap: 7px; min-height: 22px; margin-bottom: 8px; padding-left: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #a5b1ba; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teacher__slot.is-set { color: var(--ember); font-weight: 500; }
.teacher__slot i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(242,107,60,.2); flex: none; }
.teacher { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, var(--pale) 0%, #cfeef9 100%); aspect-ratio: 4 / 5; }
.teacher img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.teacher:hover img { transform: scale(1.03); }
.teacher__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(180deg, transparent, rgba(7,58,84,.92)); color: #fff; }
.teacher__cap b { display: block; font-size: 15px; line-height: 1.25; }
.teacher__cap span { font-size: 13px; color: var(--sky); font-weight: 500; }
.teacher__week { display: inline-block; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; background: var(--orange); color: var(--ink); padding: 3px 9px; border-radius: 999px; font-weight: 500; }

/* ---------- görüşler ---------- */
.score { display: flex; align-items: center; gap: 12px; }
.score b { font-size: 44px; line-height: 1; font-weight: 800; color: var(--royal); }
.score span { display: flex; flex-direction: column; gap: 2px; }
.stars { color: var(--orange); letter-spacing: 2px; font-style: normal; font-size: 18px; }
.score small { color: var(--grey); font-size: 13px; }
.reviews { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.reviews__list { columns: 2; column-gap: 16px; }
@media (max-width: 640px) { .reviews__list { columns: 1; } }
.review { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 16px; }
.review__stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.review__body { margin: 8px 0 10px; font-size: 15px; }
.review__who { font-size: 13px; color: var(--grey); }
.review__who b { color: var(--ink); }
.reviews__empty { background: #fff; border: 1.5px dashed var(--line); border-radius: 14px; padding: 28px; text-align: center; color: var(--grey); column-span: all; }

.rform { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 88px; }
.rform h3 { margin-bottom: 4px; }
.rform__note { color: var(--grey); font-size: 13.5px; margin-bottom: 16px; }
.field { display: block; margin-bottom: 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(19,124,167,.15); }
.field textarea { resize: vertical; min-height: 96px; }
.starpick { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starpick label { font-size: 28px; color: var(--line); cursor: pointer; line-height: 1; transition: color .1s; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: var(--orange); }
.starpick input:focus-visible + label { outline: 2px solid var(--sky); border-radius: 4px; }
.hp { position: absolute; left: -9999px; }
.rform__msg { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
.rform__msg.ok { color: var(--royal); font-weight: 600; }
.rform__msg.err { color: var(--ember); }

/* ---------- alt bilgi ---------- */
.foot { background: var(--abyss); color: rgba(255,255,255,.75); padding: 48px 0 32px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.foot__brand p { max-width: 42ch; margin-top: 14px; font-size: 14.5px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__links a { color: #fff; text-decoration: none; font-weight: 500; }
.foot__links a:hover { color: var(--orange); }
.foot__copy { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
@media (max-width: 700px) { .foot__in { grid-template-columns: 1fr; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal__back { position: absolute; inset: 0; background: rgba(5,42,61,.85); }
.modal__box { position: relative; width: min(960px, 100%); background: #07202e; border-radius: 16px; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 10px; color: #fff; }
.modal__head h3 { font-size: 16px; font-weight: 600; }
.modal__close { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.modal__close:hover { background: rgba(255,255,255,.12); }
.modal__frame { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__foot { padding: 10px 8px 4px; font-size: 14px; }
.modal__foot a { color: var(--sky); }

/* ---------- görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
