/* "Önce görün" demosu. Renkler tanitim.html :root değişkenleriyle uyumlu (koyu tema, altın vurgu). */
.demo-bolum { padding: 40px 20px 8px; }
.demo-kutu { max-width: 860px; margin: 0 auto; padding: 18px; border: 1px solid #2a2e3b; border-radius: 16px; background: linear-gradient(160deg, #1a1d27, #151821); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.demo-vakalar { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
.demo-vaka-dugme { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 10px 14px; border: 1px solid #343847; border-radius: 12px; background: #1e212c; color: #dbdce3; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.demo-vaka-dugme strong { font-size: 14px; color: #f0f0f4; }
.demo-vaka-dugme small { font-size: 12px; color: #a3a3b3; }
.demo-vaka-dugme:hover { border-color: #6b5620; }
.demo-vaka-dugme[aria-pressed="true"] { border-color: #c9a15a; background: #2a2210; }
.demo-vaka-dugme[aria-pressed="true"] strong { color: #efd08d; }
.demo-girdi { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #181b25; border: 1px dashed #343847; }
.demo-girdi-etiket { margin: 0 0 6px; color: #a3a3b3; font-size: 12px; letter-spacing: .2px; }
.demo-girdi-metin { margin: 0; color: #cfd0da; font-size: 13.5px; line-height: 1.65; }
.demo-erken-kayit { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.demo-erken-kayit a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid #806a42; border-radius: 9px; background: #221f1a; color: #efd08d; font-size: 13px; font-weight: 650; text-decoration: none; }
.demo-erken-kayit a:hover { border-color: #efd08d; }
.demo-erken-kayit a:focus-visible { outline: 2px solid #efd08d; outline-offset: 2px; }
.demo-sekmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.demo-sekme { min-height: 44px; padding: 9px 10px; border: 1px solid #2f3342; border-radius: 10px; background: transparent; color: #b8b8c8; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.demo-sekme[aria-selected="true"] { background: #c9a15a; border-color: #c9a15a; color: #1a1408; }
.demo-sekme:not([aria-selected="true"]):hover { border-color: #6b5620; color: #efd08d; }
.demo-vaka-dugme:focus-visible, .demo-sekme:focus-visible, .demo-panel:focus-visible { outline: 2px solid #efd08d; outline-offset: 2px; }
.demo-panel { min-height: 220px; padding: 16px; border: 1px solid #2a2e3b; border-radius: 12px; background: #141720; color: #dbdce3; font-size: 14px; line-height: 1.65; }
.demo-rozet { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border: 1px solid #4f442d; border-radius: 999px; background: #221f1a; color: #ead39d; font-size: 12px; line-height: 1.4; }
.demo-p { margin: 0 0 10px; }
.demo-alt-baslik { margin: 14px 0 6px; color: #efd08d; font-size: 13.5px; font-weight: 700; }
.demo-panel > .demo-alt-baslik:first-of-type { margin-top: 2px; }
.demo-mini { margin: 8px 0 4px; color: #a3a3b3; font-size: 12.5px; font-weight: 600; }
.demo-liste { margin: 0 0 8px; padding-left: 20px; }
.demo-liste li { margin-bottom: 5px; }
.demo-not-bolum { margin-bottom: 10px; padding: 10px 12px; border-left: 3px solid #6b5620; background: #181b25; border-radius: 0 10px 10px 0; }
.demo-not-bolum .demo-alt-baslik { margin: 0 0 4px; }
.demo-not-bolum .demo-p { margin: 0; }
.demo-not-bolum.bos { border-left-color: #5a5f73; border-style: dashed; color: #a3a3b3; }
.demo-oruntu { margin-bottom: 8px; padding: 10px 12px; border: 1px solid #3f3726; border-radius: 10px; background: #1b1b1c; }
.demo-oruntu strong { color: #ead39d; font-size: 13.5px; }
.demo-oruntu .demo-p { margin: 4px 0 0; color: #cfd0da; }
.demo-kaynaklar { display: inline-flex; gap: 4px; margin-left: 2px; vertical-align: baseline; }
.demo-kaynak { padding: 1px 7px; border: 1px solid #4f442d; border-radius: 999px; color: #cbc2ae; font-size: 11px; line-height: 1.5; }
.demo-lejant { margin: 12px 0 0; color: #8d90a0; font-size: 12px; }
.demo-not { margin: 14px 0 0; color: #8d90a0; font-size: 12px; line-height: 1.55; text-align: center; }
.demo-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; text-align: center; }
.demo-cta small { color: #9a9aa8; font-size: 12.5px; }
@media (min-width: 640px) {
  .demo-kutu { padding: 24px; }
  .demo-vakalar { grid-template-columns: repeat(3, 1fr); }
  .demo-sekmeler { grid-template-columns: repeat(4, 1fr); }
  .demo-panel { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .demo-vaka-dugme { transition: none; } }
