/*
Theme Name: Sohbet Chat
Theme URI: https://example.com/sohbet-chat
Author: Sohbet Studio
Author URI: https://example.com
Description: Modern, hızlı ve SEO uyumlu canlı sohbet (chat) teması. AJAX tabanlı sohbet odası, küfür filtresi, flood koruması, moderatör silme yetkisi, JSON-LD şema, Open Graph desteği ve tamamen responsive renkli tasarım ile gelir. Eklenti gerektirmez.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sohbet-chat
Tags: chat, blog, news, dark, responsive-layout, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ============================================
   1. DEĞİŞKENLER VE TEMEL AYARLAR
   ============================================ */
:root {
    --bg: #070b18;
    --bg-2: #0b1226;
    --surface: #101a36;
    --surface-2: #16224a;
    --line: rgba(148, 163, 216, 0.14);
    --text: #eef1fb;
    --muted: #9fb0d8;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --grad: linear-gradient(120deg, #7c3aed 0%, #ec4899 50%, #22d3ee 110%);
    --radius: 20px;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, 0.08), transparent 55%),
        var(--bg);
    background-attachment: fixed;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.3; }

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

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--bg); }
body::-webkit-scrollbar-thumb { background: #2a3560; border-radius: 8px; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main { min-height: 50vh; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: var(--grad);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 12px 0;
    font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============================================
   2. ÜST KISIM (HEADER)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 24, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(2, 6, 20, 0.5); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 72px;
    position: relative;
}

.branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 44px; width: auto; }

.site-identity { display: flex; flex-direction: column; line-height: 1.2; }
.site-title {
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.site-desc {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav li a {
    position: relative;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 6px 0;
}
.main-nav li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: var(--grad);
    transition: width 0.25s;
}
.main-nav li a:hover { color: var(--text); }
.main-nav li a:hover::after { width: 100%; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.35);
    white-space: nowrap;
    transition: transform 0.2s, filter 0.2s;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.header-cta svg { width: 16px; height: 16px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   3. HERO (ANA SAYFA ÜST BÖLÜM)
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    padding: 110px 0 70px;
    text-align: center;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: float 9s ease-in-out infinite alternate;
}
.hero-glow-1 { width: 420px; height: 420px; background: #7c3aed; top: -80px; left: 8%; }
.hero-glow-2 { width: 380px; height: 380px; background: #ec4899; bottom: -120px; right: 6%; animation-delay: -4s; }
.hero-glow-3 { width: 300px; height: 300px; background: #22d3ee; top: 20%; right: 26%; opacity: 0.22; animation-delay: -7s; }

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(30px); }
}

.hero-inner > * { animation: fadeUp 0.7s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}
.hero-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.3rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 18px 0;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 1.06rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-2px); color: #c4b5fd; }
.btn-block { display: flex; justify-content: center; }

.hero-stats {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 44px 0 0;
    padding: 0;
}
.hero-stats li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 26px;
    display: flex;
    flex-direction: column;
    min-width: 150px;
}
.hero-stats strong {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stats span { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

/* ============================================
   4. GENEL BÖLÜMLER
   ============================================ */
.section { padding: 56px 0; }
.chat-section, #blog { scroll-margin-top: 90px; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 16px;
    margin: 0;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 5px;
    border-radius: 4px;
    background: var(--grad);
}
.section-link { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.section-link:hover { color: var(--text); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ============================================
   5. CANLI SOHBET PANELİ
   ============================================ */
.chat-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
}

.chat-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(2, 6, 20, 0.5);
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(236, 72, 153, 0.16) 60%, rgba(34, 211, 238, 0.1));
    border-bottom: 1px solid var(--line);
}
.chat-title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.chat-desc { margin: 4px 0 0; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

.chat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #6ee7b7;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.chat-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.chat-messages {
    list-style: none;
    margin: 0;
    padding: 22px;
    height: 440px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-messages::-webkit-scrollbar { width: 8px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(148, 163, 216, 0.25); border-radius: 8px; }

.chat-item {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: pop 0.28s ease;
}
.chat-item.is-mine { flex-direction: row-reverse; }
@keyframes pop {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.av-2 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.av-3 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.av-4 { background: linear-gradient(135deg, #059669, #34d399); }
.av-5 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.av-6 { background: linear-gradient(135deg, #dc2626, #f87171); }
.av-7 { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.av-8 { background: linear-gradient(135deg, #0d9488, #2dd4bf); }

.chat-bubble {
    max-width: 78%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px 16px 16px 4px;
    padding: 10px 14px 12px;
}
.is-mine .chat-bubble {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-color: transparent;
    border-radius: 16px 16px 4px 16px;
}

.chat-msg-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.chat-msg-name { font-weight: 700; font-size: 0.84rem; color: #c4b5fd; }
.is-mine .chat-msg-name { color: #fff; }
.chat-msg-time { font-size: 0.7rem; color: var(--muted); }
.is-mine .chat-msg-time { color: rgba(255, 255, 255, 0.75); }
.chat-msg-text {
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.is-mine .chat-msg-text { color: #fff; }

.chat-msg-del {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    border-radius: 6px;
}
.chat-msg-del:hover { color: #fb7185; }

.chat-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}
.chat-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
}
.chat-name { flex: 1 1 170px; max-width: 200px; }
.chat-input { flex: 3 1 260px; }
.chat-name, .chat-input {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 13px 20px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-name:focus, .chat-input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}
.chat-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    background: var(--grad);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    transition: transform 0.2s, filter 0.2s;
    flex-shrink: 0;
}
.chat-send:hover { transform: translateY(-2px) scale(1.04); }
.chat-send svg { width: 20px; height: 20px; }

.chat-note { padding: 0 20px 14px; font-size: 0.8rem; min-height: 20px; color: #fda4af; }
.chat-note.is-error { color: #fb7185; }
.chat-loading { color: var(--muted); text-align: center; width: 100%; padding: 30px 0; }
.chat-login-note { padding: 40px 24px; text-align: center; color: var(--muted); }
.chat-login-note a { color: var(--cyan); }

.chat-rules {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
}
.chat-rules h3 { margin: 0 0 12px; font-size: 1.02rem; }
.chat-rules ul { list-style: none; margin: 0; padding: 0; }
.chat-rules li {
    position: relative;
    padding: 8px 0 8px 20px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    border-bottom: 1px dashed var(--line);
}
.chat-rules li:last-child { border-bottom: 0; }
.chat-rules li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
}

.entry-content .chat-panel { margin: 26px 0; }

/* ============================================
   6. YAZI KARTLARI VE IZGARA
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.post-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 18px 40px rgba(2, 6, 20, 0.45);
}
.card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.post-card:hover .card-thumb img { transform: scale(1.05); }
.thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    background: var(--grad);
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.chip {
    align-self: flex-start;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.chip:hover { background: rgba(139, 92, 246, 0.28); color: #fff; }
.card-title { margin: 0; font-size: 1.12rem; line-height: 1.35; font-weight: 800; }
.card-title a:hover { color: #c4b5fd; }
.card-excerpt { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.card-meta {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 0.78rem;
}

/* ============================================
   7. SAYFA YERLEŞİMİ, BREADCRUMB, KENAR ÇUBUĞU
   ============================================ */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    padding: 44px 0 70px;
}

.page-head { margin-bottom: 26px; }
.page-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 6px 0 0;
}
.archive-desc { color: var(--muted); margin-top: 10px; line-height: 1.7; max-width: 70ch; }

.breadcrumb { margin: 0; }
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '›'; color: var(--muted); opacity: 0.6; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

.widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin: 0 0 20px;
}
.widget-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 44px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.9rem;
}
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--muted); }
.widget a:hover { color: var(--text); }
.widget-cta p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0 0 14px; }

.search-form { display: flex; gap: 8px; }
.search-field {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 18px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22); }
.search-submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--grad);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.search-submit svg { width: 17px; height: 17px; }

/* ============================================
   8. TEK YAZI / SAYFA
   ============================================ */
.single-head { margin-bottom: 22px; }
.single-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 12px 0 14px;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}
.meta-author { color: #c4b5fd; font-weight: 600; }

.single-thumb {
    margin: 24px 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.single-thumb img { width: 100%; height: auto; display: block; }

.entry-content { font-size: 1.02rem; line-height: 1.8; color: #dbe3f7; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.3;
    margin: 1.6em 0 0.7em;
}
.entry-content h2 { font-size: 1.5rem; position: relative; padding-left: 14px; }
.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.28em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 3px;
    background: var(--grad);
}
.entry-content a {
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a:hover { color: #c4b5fd; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content li { margin: 0.4em 0; }
.entry-content blockquote {
    margin: 1.4em 0;
    padding: 16px 22px;
    border-left: 4px solid var(--violet);
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    color: var(--muted);
}
.entry-content img { max-width: 100%; height: auto; border-radius: 14px; }
.entry-content code {
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', Consolas, monospace;
}
.entry-content pre {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    overflow: auto;
    font-size: 0.9em;
    line-height: 1.6;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--surface-2); font-weight: 700; }
.entry-content figure { margin: 1.4em 0; }
.wp-caption-text, .wp-element-caption {
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
    margin-top: 6px;
}

.post-tags { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.post-tags a {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
}
.post-tags a:hover { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.5); }

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 24px 0;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    font-size: 0.88rem;
    color: var(--muted);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    transition: filter 0.2s, transform 0.2s;
}
.sb-wa { background: #16a34a; }
.sb-tg { background: #0284c7; }
.sb-x { background: #1f2937; border: 1px solid var(--line); }
.sb-fb { background: #1d4ed8; }
.share-btn:hover { filter: brightness(1.12); transform: translateY(-1px); color: #fff; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.post-nav a {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}
.post-nav a:hover { border-color: rgba(139, 92, 246, 0.5); color: #c4b5fd; }
.post-nav-next { text-align: right; }

.author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin: 28px 0;
}
.author-box img { border-radius: 16px; flex-shrink: 0; }
.author-box h3 { margin: 0 0 6px; font-size: 1.02rem; }
.author-box p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.related { margin-top: 34px; }
.related .section-title { margin-bottom: 18px; }

/* ============================================
   9. YORUMLAR
   ============================================ */
.comments-area { margin-top: 34px; }
.comments-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 18px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 26px; }
.comment-list .children {
    list-style: none;
    padding-left: 22px;
    margin: 14px 0 0;
    border-left: 2px solid var(--line);
}
.comment-list li {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 0 14px;
}
.comment-list .avatar { border-radius: 12px; }
.comment-metadata { font-size: 0.75rem; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.comment-content { margin-top: 6px; font-size: 0.93rem; line-height: 1.65; }
.comment-content a { color: #a78bfa; }
.reply a { color: #c4b5fd; font-weight: 700; font-size: 0.8rem; }
.reply a:hover { color: #fff; }

.comment-form p { margin: 0 0 14px; }
.comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--muted);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}
.comment-form .submit {
    background: var(--grad);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 26px rgba(139, 92, 246, 0.35);
    transition: filter 0.2s, transform 0.2s;
}
.comment-form .submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.comment-notes { color: var(--muted); font-size: 0.82rem; }
.logged-in-as { color: var(--muted); font-size: 0.85rem; }
.logged-in-as a { color: #c4b5fd; }
.no-comments { color: var(--muted); }

/* ============================================
   10. SAYFALAMA VE BOŞ DURUM
   ============================================ */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 34px 0 0;
}
.nav-links .page-numbers {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}
.page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }
.page-numbers:hover:not(.current) { color: var(--text); border-color: rgba(139, 92, 246, 0.5); }

.no-results {
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}
.no-results h2 { margin: 0 0 10px; }
.no-results p { color: var(--muted); margin: 0 0 18px; }
.no-results .search-form { max-width: 380px; margin: 0 auto 18px; }

.error-404 {
    text-align: center;
    padding: 90px 0;
    max-width: 640px;
    margin: 0 auto;
}
.code-404 {
    font-size: clamp(5rem, 14vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-404 h1 { font-size: 1.6rem; margin: 10px 0 12px; }
.error-404 p { color: var(--muted); line-height: 1.7; }
.error-404 .search-form { max-width: 420px; margin: 24px auto; }
.error-404 .hero-actions { margin-top: 20px; }

/* ============================================
   11. ALT KISIM (FOOTER)
   ============================================ */
.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.04));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding: 54px 0 34px;
}
.footer-brand {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 10px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.footer-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin: 0 0 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-text { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link:hover {
    color: #fff;
    border-color: transparent;
    background: var(--grad);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    color: var(--muted);
    font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }
.footer-extra a { color: #a78bfa; }

.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--grad);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 60;
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ============================================
   12. DUYARLI TASARIM (RESPONSIVE)
   ============================================ */
@media (max-width: 1024px) {
    .page-layout { grid-template-columns: 1fr; }
    .chat-wrap { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        display: none;
        background: rgba(8, 12, 26, 0.98);
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 16px;
        box-shadow: 0 24px 40px rgba(2, 6, 20, 0.5);
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav li a { display: block; padding: 13px 2px; font-size: 1.02rem; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero { padding: 80px 0 54px; }
    .hero-stats li { min-width: calc(50% - 7px); padding: 14px 18px; }
    .chat-messages { height: 380px; padding: 16px; }
    .chat-bubble { max-width: 88%; }
    .features-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { text-align: left; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 24px; }
    .section { padding: 44px 0; }
    .author-box { flex-direction: column; }
}
