/* =========================================================
   Rehber sayfası, SSS ve sıralama satırı iyileştirmeleri
   ========================================================= */

/* ---------------- Rehber: başlık ---------------- */
.gd-hero { padding-bottom: 40px; }
.gd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: end; }
.gd-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--dim); font-size: .9rem; }
.gd-meta span { display: inline-flex; align-items: center; gap: 8px; }
.gd-meta svg { width: 17px; height: 17px; color: var(--accent); }
.gd-meta b { color: var(--muted); font-weight: 600; }
.gd-search { position: relative; display: block; }
.gd-search svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--dim); pointer-events: none; transition: color .25s; }
.gd-search input { width: 100%; padding: 17px 110px 17px 50px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(23,20,18,.85); color: var(--text); font: 500 .98rem var(--font); box-shadow: 0 20px 40px -26px #000; transition: border-color .25s, box-shadow .25s; }
.gd-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(249,115,22,.14), 0 20px 40px -26px #000; }
.gd-search:focus-within svg { color: var(--accent); }
.gd-search-res { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 .76rem var(--mono); color: var(--accent-2); }

/* ---------------- Rehber: bölüm özeti ---------------- */
.gd-overview-wrap { padding: 0 0 30px; }
.gd-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gd-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 16px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(28,24,21,.92), rgba(20,17,15,.92)); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.gd-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(220px 120px at 0 0, rgba(249,115,22,.14), transparent 70%); opacity: 0; transition: opacity .35s; }
.gd-card:hover { transform: translateY(-4px); border-color: rgba(249,115,22,.35); box-shadow: 0 22px 40px -26px rgba(249,115,22,.55); }
.gd-card:hover::before { opacity: 1; }
.gd-card-n { position: absolute; top: 14px; right: 16px; font: 800 1.6rem var(--display); color: rgba(255,255,255,.06); letter-spacing: -.02em; }
.gd-card-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(249,115,22,.22); }
.gd-card-ic svg { width: 19px; height: 19px; }
.gd-card b { font-family: var(--display); font-size: 1.02rem; margin-top: 4px; }
.gd-card small { color: var(--dim); font-size: .82rem; line-height: 1.5; flex: 1; }
.gd-card em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; color: var(--accent); font-weight: 600; font-size: .84rem; margin-top: 4px; }
.gd-card em svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.gd-card:hover em svg { transform: translateX(4px); }

/* ---------------- Rehber: içindekiler + bölümler ---------------- */
.gd-body { padding-top: 20px; }
.gd-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.gd-toc { position: sticky; top: 100px; }
.gd-toc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.gd-toc-head b { color: var(--accent-2); font-size: .8rem; letter-spacing: 0; }
.gd-steps { position: relative; display: grid; gap: 2px; }
.gd-rail { position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.gd-rail i { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0); background: var(--grad); box-shadow: 0 0 12px var(--glow); transition: transform .15s linear; }
.gd-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 0; border-radius: 12px; color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .25s, opacity .25s; }
.gd-dot { position: relative; z-index: 1; width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line-2); font: 700 .78rem var(--mono); color: var(--dim); transition: background .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.gd-step:hover { color: var(--text); }
.gd-step:hover .gd-dot { border-color: var(--accent-line); color: var(--text); }
.gd-step.done .gd-dot { background: rgba(249,115,22,.15); border-color: rgba(249,115,22,.5); color: var(--accent-2); }
.gd-step.active { color: var(--text); font-weight: 600; }
.gd-step.active .gd-dot { background: var(--accent); border-color: var(--accent); color: #160a00; box-shadow: 0 0 0 4px rgba(249,115,22,.18), 0 8px 18px -6px var(--glow); transform: scale(1.05); }
.gd-step.dim { opacity: .35; }
.gd-top { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--muted); font-size: .84rem; font-weight: 600; transition: color .2s, border-color .2s; }
.gd-top svg { width: 15px; height: 15px; }
.gd-top:hover { color: var(--text); border-color: var(--accent-line); }

.gd-articles { display: grid; gap: 20px; min-width: 0; }
.gd-sec { position: relative; scroll-margin-top: 100px; padding: 36px 40px 30px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(28,24,21,.94), rgba(18,15,13,.94)); overflow: hidden; isolation: isolate; transition: opacity .3s, border-color .3s; }
.gd-sec::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 60%); opacity: .7; }
.gd-sec.dim { opacity: .3; }
.gd-sec-bg { position: absolute; right: 26px; top: 6px; z-index: -1; font: 900 7rem/1 var(--display); letter-spacing: -.05em; color: rgba(255,255,255,.025); pointer-events: none; }
.gd-sec header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gd-sec-ic { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(249,115,22,.22), rgba(249,115,22,.06)); color: var(--accent); border: 1px solid rgba(249,115,22,.3); box-shadow: 0 12px 26px -14px var(--glow); }
.gd-sec-ic svg { width: 24px; height: 24px; }
.gd-sec header small { display: block; font: 500 .72rem var(--mono); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; margin-bottom: 4px; }
.gd-sec header h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; }

.gd-prose { font-size: 1.04rem; line-height: 1.8; color: #c9c3be; }
.gd-prose p { margin: 0 0 16px; }
.gd-prose h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin: 28px 0 12px; }
.gd-prose h3::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px var(--glow); }
.gd-prose ul, .gd-prose ol { gap: 10px; margin-bottom: 18px; }
.gd-prose ul li, .gd-prose ol li { padding: 10px 14px 10px 44px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.gd-prose ul li::before { left: 18px; top: 1.15em; }
.gd-prose ol li::before { left: 11px; top: .7em; }
.gd-prose blockquote { position: relative; margin: 20px 0; padding: 16px 18px 16px 52px; border-left: 0; border-radius: 14px; border: 1px solid rgba(249,115,22,.3); background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(249,115,22,.03)); color: var(--text); }
.gd-prose blockquote::before { content: 'i'; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #160a00; font: 800 .8rem var(--display); }
.gd-prose a { color: var(--accent-2); text-decoration-color: rgba(253,186,116,.4); }
.gd-prose strong { color: #fff; }

.gd-next { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--muted); transition: border-color .25s, background .25s, color .25s; }
.gd-next span { font-size: .8rem; color: var(--dim); }
.gd-next b { flex: 1; color: var(--text); font-weight: 600; }
.gd-next svg { width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.gd-next:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.gd-next:hover svg { transform: translateX(4px); }
.gd-done { margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.28); color: var(--ok); font-weight: 600; }

.gd-help-wrap { padding: 30px 0 0; }
.gd-help { display: flex; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 22px; border: 1px solid rgba(88,101,242,.3); background: radial-gradient(500px 160px at 0 0, rgba(88,101,242,.16), transparent 70%), var(--surface); }
.gd-help-ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: #5865f2; color: #fff; box-shadow: 0 14px 30px -12px rgba(88,101,242,.8); }
.gd-help-ic svg { width: 28px; height: 28px; }
.gd-help div:nth-child(2) { flex: 1; }
.gd-help h3 { margin: 0 0 4px; font-family: var(--display); font-size: 1.2rem; }
.gd-help p { margin: 0; color: var(--muted); }

/* ---------------- SSS ---------------- */
.faq2 { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq2-side { position: sticky; top: 110px; }
.faq2-side h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; }
.faq2-side > p { color: var(--muted); margin: 0 0 26px; font-size: 1.02rem; }
.faq2-cards { display: grid; gap: 10px; }
.faq2-link { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .3s var(--ease), background .25s; }
.faq2-link:hover { transform: translateY(-2px); border-color: var(--accent-line); background: var(--surface-2); }
.faq2-link .fl-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.faq2-link.discord .fl-ic { background: #5865f2; color: #fff; }
.faq2-link.discord:hover { border-color: rgba(88,101,242,.5); }
.faq2-link .fl-ic svg { width: 21px; height: 21px; }
.faq2-link > span:nth-child(2) { flex: 1; min-width: 0; }
.faq2-link b { display: block; }
.faq2-link small { color: var(--dim); font-size: .84rem; }
.faq2-link .fl-go { color: var(--dim); display: grid; place-items: center; }
.faq2-link .fl-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease), color .25s; }
.faq2-link:hover .fl-go svg { transform: translateX(4px); color: var(--accent); }

.faq2-cats { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq2-cat { padding: 9px 16px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 .88rem var(--font); cursor: pointer; transition: background .25s, color .25s; }
.faq2-cat:hover { color: var(--text); }
.faq2-cat.active { background: var(--accent); color: #160a00; box-shadow: 0 6px 18px -8px var(--glow); }
.faq2-list { display: grid; gap: 10px; }
.faq2-item { position: relative; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(28,24,21,.92), rgba(20,17,15,.92)); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq2-item[hidden] { display: none; }
.faq2-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: 50% 0; transition: transform .4s var(--ease); }
.faq2-item:hover { border-color: var(--line-2); }
.faq2-item.open { border-color: rgba(249,115,22,.35); box-shadow: 0 20px 40px -28px rgba(249,115,22,.5); background: linear-gradient(180deg, rgba(34,27,22,.95), rgba(22,18,15,.95)); }
.faq2-item.open::before { transform: scaleY(1); }
.faq2-item .faq-q { gap: 16px; padding: 20px 22px; font-size: 1.02rem; color: var(--text); }
.faq2-item .fq-n { flex: none; font: 700 .78rem var(--mono); color: var(--dim); width: 26px; transition: color .3s; }
.faq2-item .fq-t { flex: 1; }
.faq2-item .fq-chev { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--muted); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq2-item .fq-chev svg { width: 16px; height: 16px; }
.faq2-item:hover .fq-chev { color: var(--text); }
.faq2-item.open .fq-n { color: var(--accent); }
.faq2-item.open .fq-chev { transform: rotate(180deg); background: var(--accent); color: #160a00; }
.faq2-item .faq-a p { padding: 0 22px 22px 64px; color: var(--muted); line-height: 1.75; }
.faq2-item .faq-a p b { color: var(--text); }

/* ---------------- Sıralama satırı: sakin ve net hover ---------------- */
.lb-row { position: relative; animation-fill-mode: backwards; transition: background .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.lb-row::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); transform: scaleY(0); transition: transform .3s var(--ease); }
.lb-row:hover { transform: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, var(--surface)), var(--surface) 55%); border-color: var(--line-2); box-shadow: 0 14px 30px -24px #000; }
.lb-row:hover::before { transform: scaleY(1); }
.lb-row .lb-who img { transition: transform .3s var(--ease); }
.lb-row:hover .lb-who img { transform: scale(1.06); }
.lb-row:hover .lb-num.cr { color: var(--accent-2); }
.lb-row.lb-head::before { display: none; }
.lb-row.lb-head:hover { background: none; box-shadow: none; }
.lb-row.top .lb-pos { font-size: 1.3rem; }
.lb-row.p1 .lb-pos { color: #fbbf24; }
.lb-row.p2 .lb-pos { color: #d6d3d1; }
.lb-row.p3 .lb-pos { color: #d97706; }

@media (max-width: 1040px) {
  .gd-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .gd-layout { grid-template-columns: 1fr; }
  .gd-toc { position: static; display: none; }
  .faq2 { grid-template-columns: 1fr; gap: 30px; }
  .faq2-side { position: static; }
}
@media (max-width: 640px) {
  .gd-sec { padding: 26px 20px 22px; border-radius: 20px; }
  .gd-sec-bg { font-size: 5rem; }
  .gd-prose { font-size: .98rem; }
  .gd-help { flex-direction: column; text-align: center; padding: 24px 20px; }
  .faq2-cats { display: flex; overflow-x: auto; }
  .faq2-item .faq-a p { padding-left: 22px; }
  .faq2-item .fq-n { display: none; }
}
