/* index.html dinamik bölümleri */
.download-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: 20px; background: #102a25; color: #fff; }
.download-card h2 { margin: 6px 0 8px; color: #fff; }
.download-card p { margin: 0; max-width: 560px; color: #c5d7cf; }
.download-card .eyebrow { color: #d7f36b; }
.download-action { display: grid; gap: 8px; justify-items: start; }
.download-action small { color: #9db5ac; max-width: 300px; }
.dl-btn.soon { opacity: .72; cursor: default; }
.download-card .dl-btn.soon { background: #3b524a; box-shadow: none; }
.lang-switch { display: inline-flex; border: 1px solid #cfdad2; border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch button { border: 0; background: transparent; padding: 5px 11px; font: 700 11px/1 inherit; color: #4d5f58; cursor: pointer; }
.lang-switch button.active { background: #176b55; color: #fff; }
.lang-switch button:focus-visible { outline: 2px solid #176b55; outline-offset: -2px; }

.site-lightbox { position: fixed; inset: 0; z-index: 1200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8, 18, 15, .92); }
.site-lightbox.open { display: flex; }
.site-lightbox img { max-width: min(1500px, 96vw); max-height: 82vh; border-radius: 8px; background: #0f1b24; }
.site-lightbox p { margin: 0; color: #e6efe9; font-size: 13px; text-align: center; }
.site-lightbox .lb-close { position: absolute; top: 14px; right: 18px; border: 0; background: transparent; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.video-grid[hidden], #video-empty[hidden], #comments-empty[hidden] { display: none; }
.video-card { padding: 10px; border: 1px solid #e1e8e2; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(18, 47, 38, .05); }
.video-card h3 { margin: 12px 4px 4px; color: var(--ink); font-size: 15px; }
.video-card p { margin: 0 4px 6px; color: var(--text-muted); font-size: 12.5px; line-height: 1.6; }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: #0f1b24; cursor: pointer; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.video-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(215, 243, 107, .95); color: #102a25; font-size: 20px; padding-left: 4px; }
.video-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 9px; }

.comment-form { margin-bottom: 20px; padding: 16px; border: 1px solid #e1e8e2; border-radius: 14px; background: #fff; }
.comment-form h3 { margin: 0 0 10px; color: var(--ink); font-size: 16px; }
.comment-form textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #cfdad2; border-radius: 9px; font: inherit; font-size: 13.5px; resize: vertical; }
.comment-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.comment-actions .ok { color: #176b55; font-size: 12.5px; }
.comment-actions .err { color: #b42318; font-size: 12.5px; }
.login-prompt p { margin: 0 0 12px; color: var(--text-muted); font-size: 13.5px; }
.comment-list { display: grid; gap: 12px; }
.comment-card { padding: 14px 16px; border: 1px solid #e1e8e2; border-radius: 12px; background: #fff; }
.comment-card.own-pending { border-style: dashed; background: #fbfcf4; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 13px; }
.comment-head span { color: #7a8981; font-size: 11.5px; }
.comment-card p { margin: 8px 0 0; color: #3d4f48; font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-card em { display: block; margin-top: 8px; color: #8a6d00; font-size: 11.5px; }

@media (max-width: 680px) {
    .lang-switch { align-self: flex-start; }
}
