:root{
  --radius:18px;
  --shadow: 0 10px 25px rgba(17,24,39,.10);

  --bg:#f8fafc;
  --panel: rgba(255,255,255,.96);
  --panel2: rgba(255,255,255,.92);
  --border: rgba(17,24,39,.12);

  --text: #111827;       /* light */
  --muted: rgba(17,24,39,.62);
  --accent: #57a6ff;

  --cardGrad1: rgba(87,166,255,.22);
  --cardGrad2: rgba(87,166,255,.06);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
color: var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.iconBtn{
  width:42px; height:42px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor:pointer;
  font-size:18px;
}
@media (min-width: 981px){
  .iconBtn{display:none;}
}

.brand{display:flex; align-items:center; gap:12px; min-width: 0;}
.brandMark{
  width:44px; height:44px; border-radius: 14px;
  display:grid; place-items:center;
  font-weight:900;
  background: rgba(87,166,255,.20);
  border:1px solid rgba(87,166,255,.35);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.brandText{min-width:0}
.brandTitle{font-weight:900; font-size:16px; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.brandSub{font-size:12px; color: var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.topActions{display:flex; align-items:center; gap:10px; flex:0 0 auto;}

.shell{
  max-width: 1250px;
  margin: 0 auto;
  padding: 14px;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  align-items:start;
}

.sidebar{
  position: sticky;
  top: 76px;
  height: calc(100dvh - 92px);
  overflow:auto;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.sideHead{display:flex; align-items:center; gap:10px; padding:6px 6px 12px;}
.sideLogo{
  width:40px; height:40px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(87,166,255,.18);
  border:1px solid rgba(87,166,255,.30);
  font-weight:900;
}
.sideTitle{font-weight:900; color: var(--muted);}

.nav{display:flex; flex-direction:column; gap:6px; padding: 4px;}
.navLink{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 800;
  background: rgba(255,255,255,.04);
}
.navLink:hover{
  border-color: rgba(87,166,255,.25);
  text-decoration:none;
}

.sideFooter{margin-top: 12px; padding: 6px;}
.miniTitle{font-weight:900; color: var(--muted); font-size:12px; margin-bottom:8px;}
.miniBtn{
  display:inline-flex; align-items:center; justify-content:center;
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(87,166,255,.16);
  border:1px solid rgba(87,166,255,.30);
  font-weight:900;
}
.miniBtn:hover{text-decoration:none; outline:1px solid rgba(87,166,255,.25)}

.cards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

@media (max-width: 980px){
  .shell{grid-template-columns: 1fr;}
  .sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(86vw, 340px);
    transform: translateX(-110%);
    transition: transform .22s ease;
    z-index: 60;
    border-radius: 0 18px 18px 0;
  }
  .sidebar.open{ transform: translateX(0); }
  .cards{grid-template-columns: 1fr;}
}

.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 55;
}

.hero{
  background: var(--panel2);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.hero h1{margin: 0 0 8px 0; font-size: 22px;}
.hero p{margin:0; color: var(--muted); line-height:1.45}

.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardMedia{
  padding: 14px;
  background: linear-gradient(180deg, var(--cardGrad1), var(--cardGrad2));
  border-bottom: 1px solid var(--border);
  min-height: 96px;
  position: relative;
}
.cardMedia.placeholder{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.mediaBadge{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px; border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(0,0,0,.18);
  border:1px solid var(--border);
  font-weight:900;
}

.mediaTitle{font-weight:900; font-size:16px;}
.mediaSub{color: var(--muted); font-size:12px; margin-top:6px;}

.cardBody{padding: 14px;}
.cardBody h2{margin:0 0 6px 0; font-size:16px;}
.cardBody p{margin:0; color: var(--muted); line-height:1.45; font-size:13px;}
.cardActions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px;}

.btn{
  border:0;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(87,166,255,.20);
  border:1px solid rgba(87,166,255,.32);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  box-shadow: var(--shadow);
}
.btn:hover{text-decoration:none; outline: 1px solid rgba(87,166,255,.25)}
.btn:active{transform: translateY(1px)}
.btn.ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--border);
}
.btn.small{padding:9px 10px; font-size:12px; border-radius: 12px;}

.sections{margin-top: 14px; display:flex; flex-direction:column; gap:14px;}
.info{
  background: var(--panel2);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.info h3{margin:0 0 8px 0;}
.info p{margin:0; color: var(--muted); line-height:1.55;}
.muted{color: var(--muted); font-weight:800}

.faq details{
  border:1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 10px 12px;
  margin-top: 10px;
}
.faq summary{cursor:pointer; font-weight:900;}
.ans{color: var(--muted); margin-top: 8px; line-height:1.55; font-size:13px;}

.footer{
  margin-top: 14px;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.footGrid{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 14px;
}
@media (max-width: 700px){
  .footGrid{grid-template-columns: 1fr;}
}
.footTitle{font-weight:900; margin-bottom: 8px;}
.footText{margin:0; color: var(--muted); line-height:1.55}
.footLinks{display:flex; flex-direction:column; gap:8px;}
.footLinks a{padding:8px 10px; border-radius: 14px; background: rgba(255,255,255,.04); border:1px solid var(--border);}
.footLinks a:hover{text-decoration:none; outline:1px solid rgba(87,166,255,.20)}
.footBottom{margin-top: 12px; color: var(--muted); font-size:12px; text-align:center;}

/* Kelime Avı kart görseli */
.cardMedia.hasImg{
  position: relative;
  overflow: hidden;
}
.cardMedia.hasImg .cardImg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.02);
}
.cardMedia.hasImg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.60));
}
/* metinleri üstte tut */
.cardMedia.hasImg .mediaBadge,
.cardMedia.hasImg .mediaTitle,
.cardMedia.hasImg .mediaSub{
  position: relative;
  z-index: 1;
  text-shadow: 0 8px 22px rgba(0,0,0,.45);
}
