/* =========================================================
   KÜ Öğrenci Rehberi — Ortak Tasarım Sistemi
   Kastamonu Üniversitesi kurumsal kimliği: kırmızı + lacivert,
   beyaz zemin üzerinde canlı, hareketli bir arayüz.
   ========================================================= */

:root{
  --bg:#FFFFFF;
  --bg-soft:#F6F7FA;
  --ink:#0F1A2B;            /* kurumsal lacivert-siyah */
  --ink-soft:#5B6472;
  --red:#C8102E;             /* KÜ kurumsal kırmızısı */
  --red-deep:#8E0B21;
  --red-tint:#FDEBEC;
  --gold:#D98E04;
  --line: rgba(15,26,43,0.10);
  --line-soft: rgba(15,26,43,0.06);
  --radius: 18px;
  --shadow-lg: 0 24px 48px -22px rgba(15,26,43,.22);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter', system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
  animation:page-in .5s ease backwards;
}
/* Not: body burada transform ANİMASYONU KULLANMAZ — position:fixed elemanlar
   (lightbox, okuma çubuğu vb.) transform'lu bir üst elemanı "containing block"
   sayar ve viewport yerine sayfaya göre konumlanır. Sadece opacity kullanılıyor. */
@keyframes page-in{from{opacity:0;} to{opacity:1;}}

body.page-leaving{animation:page-out .38s cubic-bezier(.4,0,.7,1) forwards; pointer-events:none;}
@keyframes page-out{to{opacity:0;}}
@media (prefers-reduced-motion: reduce){
  body{animation:none;}
  body.page-leaving{animation:none; opacity:0;}
}

h1,h2,h3,h4,.display{
  font-family:'Fraunces', Georgia, serif;
  color:var(--ink);
  letter-spacing:-0.01em;
  font-weight:600;
}

a{color:inherit;}
svg{display:block;}

::selection{background:var(--red); color:#fff;}

/* kurumsal üst şerit */
.top-strip{
  height:6px; width:100%;
  background:linear-gradient(90deg, var(--red) 0%, var(--gold) 25%, var(--red) 50%, var(--gold) 75%, var(--red) 100%);
  background-size:300% 100%;
  animation:strip-flow 7s linear infinite;
}
@keyframes strip-flow{
  0%{background-position:0% 0;}
  100%{background-position:150% 0;}
}

.wrap{max-width:1180px; margin:0 auto; padding:0 24px; position:relative; z-index:1;}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{display:flex; align-items:center; gap:14px; text-decoration:none; group:brand;}
.brand-mark{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; flex:0 0 auto;
  transition:transform .3s cubic-bezier(.2,.8,.3,1);
}
.brand-mark img{width:100%; height:100%; object-fit:contain;}
.brand:hover .brand-mark{transform:rotate(-8deg) scale(1.22);}
.brand-text .eyebrow{
  display:block; font-size:10.5px; color:var(--ink-soft); font-weight:700; letter-spacing:.03em;
}
.brand-text .title{
  display:block; font-family:'Fraunces',serif; font-weight:600; font-size:16.5px; color:var(--ink);
  line-height:1.2;
}
.header-actions{display:flex; gap:10px;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border-radius:10px; font-weight:600; font-size:14px;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{width:16px; height:16px;}
.btn:active{transform:translateY(1px) scale(.98);}
.btn-primary{background:var(--red); color:#fff; box-shadow:0 8px 18px rgba(200,16,46,.28); animation:btn-glow 2.6s ease-in-out infinite; position:relative; overflow:hidden;}
.btn-primary:hover{background:var(--red-deep); box-shadow:0 10px 22px rgba(200,16,46,.38); transform:translateY(-1px);}
@keyframes btn-glow{
  0%,100%{box-shadow:0 8px 18px rgba(200,16,46,.28);}
  50%{box-shadow:0 8px 26px rgba(200,16,46,.55);}
}
.btn-ghost{background:transparent; border-color:var(--line); color:var(--ink);}
.btn-ghost:hover{background:var(--bg-soft); border-color:var(--ink-soft);}

/* ---------- Hero (index) ---------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:620px;
  display:flex;
  align-items:center;
  padding:64px 0;
}
.hero-photo{
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center 42%;
  opacity:1;
}
.hero-photo-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(10,17,28,.58) 0%, rgba(10,17,28,.46) 45%, rgba(10,17,28,.6) 100%);
}
.hero-blob{
  position:absolute; border-radius:50%; filter:blur(80px); opacity:.35; z-index:1;
  animation:float 14s ease-in-out infinite;
}
@keyframes float{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(24px,-18px) scale(1.08);}
}
.hero-sparkle{
  position:absolute; border-radius:50%; background:#fff; z-index:1; opacity:0;
  box-shadow:0 0 12px 3px rgba(255,255,255,.85);
  animation:twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle{
  0%,100%{opacity:0; transform:scale(.3);}
  50%{opacity:1; transform:scale(1);}
}
.hero-content{position:relative; z-index:2;}
.hero .kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; color:var(--red);
  background:#fff; padding:7px 16px; border-radius:999px; margin-bottom:22px;
  box-shadow:0 6px 18px -8px rgba(0,0,0,.35);
  animation:kicker-pulse 2.4s ease-in-out infinite;
}
@keyframes kicker-pulse{
  0%,100%{box-shadow:0 6px 18px -8px rgba(0,0,0,.35);}
  50%{box-shadow:0 8px 24px -4px rgba(200,16,46,.55);}
}
.hero .kicker svg{width:14px; height:14px; animation:kicker-icon-spin 3.2s ease-in-out infinite;}
@keyframes kicker-icon-spin{
  0%,100%{transform:rotate(0deg);}
  50%{transform:rotate(14deg);}
}
.hero h1{
  font-size:clamp(32px,5vw,54px); line-height:1.06; max-width:720px; margin:0 0 18px;
  color:#fff;
  text-shadow:0 2px 20px rgba(0,0,0,.25);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero h1{
    background:linear-gradient(100deg, #FFFFFF 0%, #FFD23F 30%, #FF7A3D 55%, #FFFFFF 78%, #FFD23F 100%);
    background-size:250% auto;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    text-shadow:none;
    animation:reveal .7s ease forwards, headline-shine 20s ease-in-out .7s infinite;
  }
}
@keyframes headline-shine{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}
.hero h1::first-letter{
  font-size:1.4em;
  color:#fff;
  -webkit-text-fill-color:#fff;
  text-shadow:0 4px 18px rgba(0,0,0,.35);
}
.hero p.lead{
  font-size:18px; color:rgba(255,255,255,.86); max-width:560px; margin:0 0 32px;
}

/* search */
.search-box{
  margin-top:8px; max-width:640px; position:relative;
}
.search-box input{
  width:100%; padding:17px 18px 17px 52px; border-radius:14px;
  border:1.5px solid var(--line); background:#fff; font-size:15px; color:var(--ink);
  box-shadow:0 14px 32px -18px rgba(15,26,43,.28);
  outline:none; transition:border-color .15s ease, box-shadow .15s ease;
}
.search-box input:focus{border-color:var(--red); box-shadow:0 0 0 4px var(--red-tint);}
.search-box .ic{position:absolute; left:18px; top:50%; transform:translateY(-50%); color:var(--ink-soft); width:19px; height:19px;}

/* ---------- Stat cards ---------- */
.stat-cards{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px;
}
@media (max-width:900px){.stat-cards{grid-template-columns:repeat(2,1fr);}}
.stat-card{
  --c: var(--red);
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px;
  display:flex; align-items:center; gap:14px;
  position:relative; overflow:hidden; z-index:1;
  transition:transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease, z-index 0s;
}
.stat-card::after{
  content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--c);
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.stat-card:hover::after{transform:scaleX(1);}
.stat-card:hover{
  transform:translateY(-6px) scale(1.08);
  box-shadow:0 26px 46px -18px rgba(15,26,43,.32);
  border-color:transparent;
  z-index:6;
}
.stat-card .ic-wrap{
  width:44px; height:44px; border-radius:12px; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
  background:var(--red-tint); color:var(--red);
  transition:transform .35s cubic-bezier(.2,.8,.3,1), background .3s ease, color .3s ease;
}
.stat-card:hover .ic-wrap{background:var(--c); color:#fff; transform:scale(1.12) rotate(-6deg);}
.stat-card .ic-wrap svg{width:21px; height:21px;}
.stat-card .num{font-family:'Fraunces',serif; font-size:24px; font-weight:600; color:var(--ink); line-height:1.1; display:inline-block;}
.stat-card .label{font-size:12.5px; color:var(--ink-soft); margin-top:2px;}
@keyframes count-bump{
  0%{transform:scale(1);}
  50%{transform:scale(1.18);}
  100%{transform:scale(1);}
}
[data-count].bump{animation:count-bump .38s cubic-bezier(.3,1.5,.4,1);}

.stat-card-multi{gap:16px;}
.multi-groups{display:flex; gap:18px;}
.multi-groups .g{text-align:left;}
.multi-groups .n{font-family:'Fraunces',serif; font-size:21px; font-weight:600; color:var(--ink); line-height:1.1;}
.multi-groups .l{font-size:11px; color:var(--ink-soft); margin-top:2px; white-space:nowrap;}

/* ---------- Category grid ---------- */
.section-head{display:flex; align-items:baseline; justify-content:space-between; margin:56px 0 24px; flex-wrap:wrap; gap:10px;}
.section-head h2{font-size:26px; margin:0;}
.section-head .count{font-size:13px; color:var(--ink-soft);}

.grid{
  display:grid; gap:18px;
  grid-template-columns:repeat(4, 1fr);
}
@media (max-width:1020px){.grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.grid{grid-template-columns:1fr;}}

.card{
  --c: var(--red);
  background:#fff; border-radius:var(--radius); border:1px solid var(--line);
  padding:26px; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; justify-content:space-between; gap:20px;
  position:relative; overflow:hidden; z-index:1;
  min-height:210px;
  opacity:0; transform:translateY(18px);
  transition:transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease, z-index 0s;
}
.card.in-view{animation:card-in .6s cubic-bezier(.2,.8,.3,1) forwards;}
@keyframes card-in{to{opacity:1; transform:translateY(0);}}
.card::before{
  content:""; position:absolute; top:0; left:-60%; width:35%; height:100%; z-index:2;
  background:linear-gradient(120deg, transparent, rgba(45,212,191,.5), rgba(255,255,255,.55), transparent);
  transform:skewX(-20deg); pointer-events:none;
  transition:left .65s cubic-bezier(.2,.8,.3,1);
}
.card:hover::before{left:135%;}
.card::after{
  content:""; position:absolute; left:0; right:0; top:0; height:4px; background:var(--c);
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.card:hover::after{transform:scaleX(1);}
.card:hover{
  transform:translateY(-8px) scale(1.2) rotate(-.6deg);
  box-shadow:0 30px 55px -20px rgba(15,26,43,.35);
  border-color:transparent;
  z-index:6;
}
.card .num{
  font-family:'Fraunces',serif; font-size:13px; color:var(--c); font-weight:600; letter-spacing:.02em;
}
.card h3{font-size:19px; margin:6px 0 8px;}
.card p{font-size:14px; color:var(--ink-soft); margin:0;}
.card .go{
  font-size:13px; font-weight:600; color:var(--c); display:flex; align-items:center; gap:6px;
}
.card .go svg{width:15px; height:15px; transition:transform .25s ease;}
.card:hover .go svg{transform:translateX(4px);}
.card .icon{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--c) 14%, white); color:var(--c);
  transition:transform .35s cubic-bezier(.2,.8,.3,1), background .3s ease;
}
.card .icon svg{width:22px; height:22px;}
.card:hover .icon{transform:scale(1.1) rotate(-6deg); background:var(--c); color:#fff;}
.card.hidden, .hidden{display:none;}

/* ---------- Detail pages ---------- */
.detail-hero{
  position:relative; overflow:hidden;
  padding:60px 0 50px;
  border-bottom:1px solid var(--line);
}
.detail-hero .hero-photo{
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center 42%;
}
.detail-hero .hero-photo-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(10,17,28,.62) 0%, rgba(10,17,28,.5) 45%, rgba(10,17,28,.66) 100%);
}
.detail-hero::before{
  content:""; position:absolute; top:-120px; right:-100px; width:340px; height:340px; border-radius:50%;
  background:var(--c); opacity:.35; filter:blur(70px); z-index:1; animation:float 12s ease-in-out infinite;
}
.detail-hero .wrap{position:relative; z-index:2;}
.breadcrumb{font-size:13px; color:rgba(255,255,255,.72); display:flex; gap:6px; align-items:center; margin-bottom:22px;}
.breadcrumb a{text-decoration:none; color:rgba(255,255,255,.72); display:flex; align-items:center;}
.breadcrumb a:hover{color:#fff;}
.breadcrumb svg{width:13px; height:13px;}
.detail-hero .icon-badge{
  width:58px; height:58px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:var(--c); color:#fff; margin-bottom:20px;
  box-shadow:0 12px 26px -8px rgba(0,0,0,.5);
  animation:badge-in .55s cubic-bezier(.2,.8,.3,1) both, badge-pulse 2.6s ease-in-out .55s infinite;
}
.detail-hero .icon-badge svg{width:27px; height:27px;}
@keyframes badge-in{from{opacity:0; transform:scale(.5) rotate(-16deg);} to{opacity:1; transform:scale(1) rotate(0);}}
@keyframes badge-pulse{
  0%,100%{box-shadow:0 12px 26px -8px rgba(0,0,0,.5);}
  50%{box-shadow:0 14px 32px -4px color-mix(in srgb, var(--c) 70%, transparent);}
}
.detail-hero h1{font-size:clamp(28px,4vw,42px); margin:0 0 14px; max-width:760px; color:#fff; text-shadow:0 2px 20px rgba(0,0,0,.3);}
.detail-hero .sub{font-size:17px; color:rgba(255,255,255,.85); max-width:640px; margin:0;}

.detail-nav{display:flex; gap:8px; flex-wrap:wrap; margin-top:28px;}
.pill{
  font-size:13px; padding:7px 14px; border-radius:999px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28);
  text-decoration:none; color:rgba(255,255,255,.9); font-weight:500; backdrop-filter:blur(6px);
  position:relative; overflow:hidden;
  transition:transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.pill::before{
  content:""; position:absolute; top:0; left:-60%; width:35%; height:100%; z-index:1;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform:skewX(-20deg); pointer-events:none;
  transition:left .55s ease;
}
.pill:hover::before{left:135%;}
.pill:hover{background:var(--c); color:#fff; border-color:var(--c); transform:translateY(-2px);}
.pill.current{background:var(--c); color:#fff; border-color:var(--c);}

.content{padding:48px 0 80px;}
.block{margin-bottom:44px;}
.block h2{
  font-size:22px; margin:0 0 18px; padding-bottom:14px; border-bottom:2px solid var(--c);
  display:inline-block;
}
.block h3{font-size:17px; margin:22px 0 8px; color:var(--ink);}
.block p{font-size:15.5px; color:var(--ink-soft); margin:0 0 12px; max-width:74ch;}
.block ul{margin:0 0 14px; padding-left:22px; color:var(--ink-soft); font-size:15.5px;}
.block li{margin-bottom:7px;}
.block li::marker{color:var(--c);}
.block strong{color:var(--ink); font-weight:600;}

.callout{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 22px; margin:18px 0;
}
.callout.tinted{background:color-mix(in srgb, var(--c) 7%, white); border-color:color-mix(in srgb, var(--c) 25%, var(--line));}

.doc-figure{
  margin:22px 0; border-radius:16px; overflow:hidden; border:1px solid var(--line);
  background:#fff; box-shadow:0 14px 30px -18px rgba(15,26,43,.25);
}
.doc-figure img{display:block; width:100%; height:auto;}
.doc-figure figcaption{
  padding:12px 16px; font-size:13px; color:var(--ink-soft); border-top:1px solid var(--line-soft);
  background:var(--bg-soft);
}

.info-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:10px;}
@media (max-width:640px){.info-grid{grid-template-columns:1fr;}}
.info-card{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px;
}
.info-card .k{font-size:12px; color:var(--ink-soft); text-transform:none; display:block; margin-bottom:4px;}
.info-card .v{font-size:14.5px; font-weight:600; color:var(--ink); word-break:break-word;}
.info-card a.v{color:var(--c); text-decoration:none;}
.info-card a.v:hover{text-decoration:underline;}

.stat-strip{display:flex; gap:26px; flex-wrap:wrap; margin:26px 0 6px; padding:22px; background:#fff; border-radius:16px; border:1px solid var(--line);}
.stat-strip .s{min-width:110px;}
.stat-strip .s .n{font-family:'Fraunces',serif; font-size:26px; color:var(--c); font-weight:600;}
.stat-strip .s .l{font-size:12.5px; color:var(--ink-soft);}

.two-col{display:grid; grid-template-columns:1.4fr 1fr; gap:36px;}
@media (max-width:900px){.two-col{grid-template-columns:1fr;}}

.side-box{background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; position:sticky; top:100px;}
.side-box h4{font-size:14px; margin:0 0 12px; color:var(--ink-soft); font-weight:600;}
.side-box .link-list a{
  display:flex; align-items:center; gap:10px; padding:10px 0; text-decoration:none; color:var(--ink);
  border-bottom:1px solid var(--line-soft); font-size:14px;
}
.side-box .link-list a:last-child{border-bottom:none;}
.side-box .link-list a svg{width:15px; height:15px; color:var(--c); flex:0 0 auto;}
.side-box .link-list a:hover{color:var(--c); transform:translateX(3px);}
.side-box .link-list a{transition:transform .18s ease, color .18s ease;}

.data-table-wrap{overflow-x:auto; margin:18px 0; border:1px solid var(--line); border-radius:14px;}
.data-table{width:100%; border-collapse:collapse; font-size:14.5px; min-width:480px;}
.data-table th, .data-table td{padding:11px 16px; text-align:left; border-bottom:1px solid var(--line-soft); vertical-align:top;}
.data-table thead th{background:var(--bg-soft); font-weight:700; color:var(--ink); font-size:12px; text-transform:uppercase; letter-spacing:.03em; white-space:nowrap;}
.data-table tbody tr:last-child td{border-bottom:none;}
.data-table tbody tr:hover{background:var(--bg-soft);}
.data-table td:first-child{font-weight:600; color:var(--ink);}
.data-table caption{caption-side:top; text-align:left; font-weight:700; padding:12px 16px; background:var(--c); color:#fff; font-size:13px;}

.group-label{
  font-size:12.5px; font-weight:700; color:var(--c); text-transform:uppercase; letter-spacing:.04em;
  margin:26px 0 10px; padding-top:4px;
}
.group-label:first-child{margin-top:0;}

.next-card{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:var(--ink); color:#fff; border-radius:20px; padding:28px 32px; margin-top:20px;
  position:relative; overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease;
}
.next-card:hover{transform:translateY(-4px) scale(1.015); box-shadow:0 26px 50px -20px rgba(0,0,0,.4);}
.next-card::before{
  content:""; position:absolute; inset:0; background:var(--c); opacity:.16;
}
.next-card > *{position:relative; z-index:1;}
.next-card .lbl{font-size:12px; opacity:.7; margin-bottom:6px;}
.next-card .ttl{font-family:'Fraunces',serif; font-size:20px;}
.next-card a{color:#fff; text-decoration:none; display:flex; align-items:center; gap:8px; font-weight:600;}
.next-card a svg{width:16px; height:16px; transition:transform .25s ease;}
.next-card a:hover svg{transform:translateX(5px);}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink); color:#C7CDD8; padding:46px 0; margin-top:40px;}
.site-footer .cols{display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.site-footer h5{font-family:'Fraunces',serif; color:#fff; font-size:15px; margin:0 0 10px;}
.site-footer a{color:#C7CDD8; text-decoration:none; font-size:14px; display:block; margin-bottom:8px; opacity:.85; transition:opacity .18s ease, transform .18s ease;}
.site-footer a:hover{opacity:1; text-decoration:underline; transform:translateX(3px);}
.site-footer .bottom{border-top:1px solid rgba(255,255,255,.12); margin-top:30px; padding-top:20px; font-size:12.5px; opacity:.6;}

/* reveal-on-load (single orchestrated moment, not per-scroll) */
.reveal{opacity:0; transform:translateY(14px); animation:reveal .7s ease forwards;}
.reveal.d1{animation-delay:.05s;} .reveal.d2{animation-delay:.13s;} .reveal.d3{animation-delay:.21s;} .reveal.d4{animation-delay:.29s;}
@keyframes reveal{to{opacity:1; transform:translateY(0);}}

@media (prefers-reduced-motion: reduce){
  .reveal{animation:none !important; opacity:1 !important; transform:none !important;}
  .card, .card:hover{transition:none;}
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:3px solid var(--gold); outline-offset:2px;
}

/* ---------- İçerik görsellerini büyütme (lightbox) ---------- */
.buyutulebilir-gorsel{cursor:zoom-in; transition:filter .2s ease, transform .2s ease;}
.buyutulebilir-gorsel:hover{filter:brightness(.94);}

.gorsel-overlay{
  position:fixed; inset:0; z-index:1000;
  background:rgba(10,14,22,.96);
  display:flex; align-items:center; justify-content:center;
  padding:0;
  opacity:0; transition:opacity .22s ease;
}
.gorsel-overlay.acik{opacity:1;}
.gorsel-overlay img{
  width:100vw; height:100vh;
  object-fit:contain;
  display:block;
  transform:scale(.98); transition:transform .22s ease;
}
.gorsel-overlay.acik img{transform:scale(1);}
.gorsel-overlay-kapat{
  position:absolute; top:24px; right:24px;
  width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .18s ease, transform .18s ease;
}
.gorsel-overlay-kapat:hover{background:rgba(255,255,255,.18); transform:rotate(90deg);}
.gorsel-overlay-kapat svg{width:20px; height:20px;}

@media (prefers-reduced-motion: reduce){
  .gorsel-overlay, .gorsel-overlay img, .gorsel-overlay-kapat{transition:none;}
}

/* ---------- Anket takip çubuğu ---------- */
.anket-cubuk{
  background:linear-gradient(90deg, var(--ink) 0%, #1a2740 100%);
  color:#fff; padding:12px 0;
}
.anket-cubuk-ic{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.anket-cubuk-metin{font-size:13.5px; color:rgba(255,255,255,.9); flex:1; min-width:220px;}
.anket-cubuk-metin strong{color:#fff;}
.anket-cubuk-buton{padding:8px 18px; font-size:13px; flex:0 0 auto;}
.anket-cubuk .btn-ghost{background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); color:#fff;}
.anket-cubuk .btn-ghost:hover{background:rgba(255,255,255,.18);}
.anket-cubuk-bar{
  width:140px; height:6px; border-radius:999px; background:rgba(255,255,255,.16); overflow:hidden; flex:0 0 auto;
}
.anket-cubuk-bar-dolgu{height:100%; background:linear-gradient(90deg, var(--gold), #ffe27a); transition:width .3s ease;}
@media (max-width:640px){
  .anket-cubuk-bar{display:none;}
}

/* ---------- Sayfa alt okuma ilerleme çubuğu ---------- */
.okuma-cubugu{
  position:fixed; left:0; right:0; bottom:0; z-index:900;
  height:5px; background:rgba(15,26,43,.08);
  pointer-events:none;
}
.okuma-cubugu-dolgu{
  height:100%; width:0%;
  background:linear-gradient(90deg, var(--red), var(--gold));
  box-shadow:0 0 10px -1px rgba(200,16,46,.6);
  transition:width .12s linear;
}

