/*INDIGOTHEMECSS*/
/*ICERIK*/

.swal2-container {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 30px !important;
    z-index: 999999 !important;
}

.swal2-popup.swal2-toast {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    bottom: 30px !important;

    /* BOYUT */
    width: fit-content !important;
    min-width: 260px !important;
    max-width: 90% !important;
    height: 52px !important;
    box-sizing: border-box !important;

    border-radius: 50px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0 25px !important;

    pointer-events: all;
    animation: swal-horizontal-center 5s ease-in-out forwards !important;
}

/* Premium Dark Mode */
body.dark-mode .swal2-popup.swal2-toast {
    background: #27272a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

/* iKON (YUVARLAKLAR SİLİNDİ) */
.swal2-icon {
    margin: 0 12px 0 0 !important;
    min-width: 24px !important;
    height: 24px !important;
    width: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    /* Yuvarlak halkayı sildik */
    background: transparent !important;
    box-shadow: none !important;
}

/* İkon İçerik Renkleri ve Halkayı Gizleme */
.swal2-icon.swal2-success {
    color: #10b981 !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    display: none !important;
}

.swal2-icon.swal2-info {
    color: #3b82f6 !important;
}

.swal2-icon.swal2-warning {
    color: #f59e0b !important;
}

.swal2-icon.swal2-error {
    color: #ef4444 !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #ef4444 !important;
}

/* Yazı Ayarı */
.swal2-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    color: inherit !important;
}

/* --- YATAY GİRİŞ ÇIKIŞ ANİMASYONU --- */
@keyframes swal-horizontal-center {
    0% {
        transform: translateY(120px) scale(0.8);
        opacity: 0;
    }

    8% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    92% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(120px) scale(0.8);
        opacity: 0;
    }
}

/* BUTON ALTI "PİL" BİLDİRİM TASARIMI */
.fav-btn-container {
    position: relative;
    display: inline-block;
    /* Buton genişliği kadar yer kaplar */
    margin: 10px 0;
}

.status-pill-notify {
    position: absolute;
    top: calc(100% + 10px);
    /* Butonun tam 10px altında başlar */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    /* Hafif yukarıda başlar */
    z-index: 100;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 850;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    display: none;
    /* JS ile flex yapılacak */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    align-items: center;
    gap: 8px;
}

/* Aktif olduğunda aşağı süzülerek gelir */
.status-pill-notify.show {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 🟣 İŞLEM: Mor-Mavi | 🟢 EKLE: Yeşil | 🔴 ÇIKAR: Kırmızı */
.pill-processing {
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pill-added {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3) !important;
}

.pill-removed {
    background: linear-gradient(135deg, #ff4757 0%, #ee5253 100%) !important;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3) !important;
}

/* Butonun Favorideki Yeşil Rengi */
.favori-btn.is-active {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
}

/* Mobil Uyumu: Pilin butonu taşmasını engeller */
@media (max-width: 480px) {
    .status-pill-notify {
        font-size: 11px;
        padding: 8px 16px;
    }
}

/* SweetAlert İkon Çerçevesini Silme */
.swal-no-border {
    border: none !important;
}

/* ✅ YEŞİL ONAY BUTONU */
.swal-green-confirm {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 14px 28px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3) !important;
    border: none !important;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.swal-green-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(39, 174, 96, 0.4) !important;
    filter: brightness(1.1);
}

/* KIRMIZI VAZGEÇ BUTONU */
.swal-red-cancel {
    background: linear-gradient(135deg, #ff4757 0%, #ee5253 100%) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 14px 28px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.2) !important;
    border: none !important;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.swal-red-cancel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(238, 82, 83, 0.3) !important;
    filter: brightness(1.1);
}

/* Tıklandığında minik basılma efekti */
.swal-green-confirm:active,
.swal-red-cancel:active {
    transform: scale(0.95);
}

.tech-btn-submit,
.tech-btn-submit:focus,
.tech-btn-submit:active,
.tech-btn-submit:hover {
    outline: none !important;
    /* Siyah/Mavi dış çizgiyi siler */
    border: none !important;
    /* Olası kenarlıkları siler */
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
    /* Sadece senin istediğin modern gölge kalsın */
    -webkit-tap-highlight-color: transparent;
    /* Mobil dokunma izini siler */
}

/* Tıklandığında veya odaklandığında siyah çizgi çıkmasını kesin olarak engeller */
button:focus {
    outline: 0 !important;
}

/* =========================================
   SHARE PAYLAS BOLUMU
   ========================================= */

.tech-share-box {
    margin: 30px 0;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.share-box-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Gündüz Modu: Beyaz Arka Plan */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    /* Açık gri kenarlık */
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Hafif gölge */
    position: relative;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

/* Link altı çizgilerini kesin kaldırma */
.share-box-inner a {
    text-decoration: none !important;
    border: none;
}

/* --- Sol Kısım --- */
.share-left-zone {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* İkon Kutusu */
.share-icon-glow {
    width: 50px;
    height: 50px;
    background: rgba(66, 133, 244, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    /* YENİ EKLENDİ: Dalga Animasyonu */
    animation: gentle-wave 2s infinite;
}

/* Mavi-Mor Gradyan İkon */
.share-icon-glow i {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
    /* İkona hafif neon parlama */
}

/* Dikey Ayırıcı Çizgi */
.share-v-divider {
    width: 1px;
    height: 35px;
    background: #e2e8f0;
    /* Açık gri */
}

.share-text-zone {
    display: flex;
    flex-direction: column;
}

.share-main-text {
    font-weight: 800;
    font-size: 15px;
    color: #1e293b;
    /* Koyu lacivert/siyah yazı */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-sub-text {
    font-size: 13px;
    color: #64748b;
    /* Orta gri */
    margin-top: 3px;
}

/* --- Sağ Kısım (Butonlar) --- */
.share-buttons-grid {
    display: flex;
    gap: 10px;
}

.share-btn-item {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;

    /* Light Mode Buton Rengi */
    color: #475569;
    background: #f1f5f9;
    border: 1px solid transparent;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

/* Hover Efektleri (Değişmedi - Aynen Korundu) */
.share-btn-item.facebook:hover {
    background: #1877f2;
    color: #fff;
    transform: translateY(-3px);
}

.share-btn-item.twitter:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

.share-btn-item.whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-3px);
}

.share-btn-item.telegram:hover {
    background: #0088cc;
    color: #fff;
    transform: translateY(-3px);
}

.share-btn-item.copy-link:hover {
    background: #6c5ce7;
    color: #fff;
    transform: translateY(-3px);
}

/* Tooltip */
.btn-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.share-btn-item:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
}

/* YENİ EKLENDİ: Dalga Animasyonu Keyframes */
@keyframes gentle-wave {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
        /* Mavi başlangıç */
    }

    70% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
        /* Genişle ve kaybol */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        /* Sıfırla */
    }
}

/* =========================================
   GÜNCEL DARK MODE (PREMIUM UYUM)
   ========================================= */

/* Ana kutu arka planı - Premium Gri */
body.dark-mode .share-box-inner {
    background: #27272a !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Ana başlık yazısı */
body.dark-mode .share-main-text {
    color: #f4f4f5 !important;
    /* Off-white */
}

/* Alt açıklama yazısı */
body.dark-mode .share-sub-text {
    color: #a1a1aa !important;
    /* Muted gray */
}

/* Dikey ayırıcı çizgi */
body.dark-mode .share-v-divider {
    background: #3f3f46 !important;
}

/* Paylaşım butonları (Normal hali) */
body.dark-mode .share-btn-item {
    background: #18181b !important;
    /* Daha koyu iç yüzey */
    border: 1px solid #3f3f46 !important;
    color: #e4e4e7 !important;
    transition: all 0.3s ease;
}

/* Paylaşım butonları (Hover/Üzerine gelince) */
body.dark-mode .share-btn-item:hover {
    background: #3f3f46 !important;
    border-color: #52525b !important;
    color: #ffffff !important;
}

/* Glow/Parlama Efekti */
body.dark-mode .share-icon-glow {
    background: rgba(67, 97, 238, 0.08);
    box-shadow: inset 0 0 15px rgba(67, 97, 238, 0.05);
}

/* =========================================
   MOBİL UYUMLULUK (Responsive)
   ========================================= */
@media (max-width: 768px) {
    .share-box-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .share-left-zone {
        flex-direction: column;
        width: 100%;
    }

    .share-v-divider {
        display: none;
    }

    .share-buttons-grid {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .share-btn-item {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* EMOJI KUTUSUNU TERBİYE ETME VE KÜÇÜLTME */
@media (max-width: 768px) {
    body div[role="dialog"].emoji-picker {
        position: fixed !important;
        bottom: 20px !important;
        /* Alttan biraz boşluk bırak, havada dursun */

        left: 5% !important;
        /* Ekranın solundan %5 içeride başla */
        right: auto !important;
        /* Sağdaki zımbayı sök, serbest bırak */
        width: 90% !important;
        /* Ekranın %90'ını kaplasın (Böylece sağdan da %5 boşluk kalır) */

        max-width: 320px !important;
        /* Çok büyük telefonlarda devleşmesin */
        height: 320px !important;
        /* Boyunu da kibarlaştırdık */
        transform: none !important;
        /* Kütüphanenin yanlış hesaplarını sıfırla */

        border-radius: 20px !important;
        z-index: 99999999 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        flex-direction: column;
    }

    /* Emojilerin boyutu mobilde çok büyükse onları da ufaltalım */
    div[role="dialog"].emoji-picker .emoji-picker__emoji {
        font-size: 1.1rem !important;
        padding: 4px !important;
    }
}

/* Koyu mod desteği (Dosyandaki gibi kalsın) */
body.dark-mode .emoji-picker {
    background-color: #27272a !important;
    border-color: #3f3f46 !important;
}

/* --- TEXTAREA İÇİNDE BAYRAK SORUNU ÇÖZÜMÜ --- */
/* Yazı yazılan alanlarda sadece ana fontu kullan */
.emoji-input,
.modern-input {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    /* Emoji fontunu buradan sildik */
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f4f7f6;
    overflow-x: hidden;
}

/* Sadece emoji seçilen panelin içindeki ikonlar emoji fontuyla görünsün */
.emoji-picker,
.emoji-picker__emoji,
.emoji-picker__custom-emoji {
    font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif !important;
}

/* PROGRESS BAR CSS */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10000;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4361ee 0%, #7209b7 50%, #f72585 100%);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.5);
    border-radius: 0 5px 5px 0;
    transition: width 0.1s ease-out;
}

.single-post-wrapper {
    padding: 40px 0;
    min-height: 90vh;
    position: relative;
    z-index: 1;
}

/* ANA MAKALE KARTI */
.post-main-card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-bottom: 40px;
}

/* OVAL GÖRSEL VE VİDEO MERKEZLEME */
.post-hero-image {
    width: 100% !important;
    /* Kutunun genişliğini tam kapla */
    height: 450px !important;
    /* Senin tasarımdaki ideal yükseklik */

    /* 'fill' resmin tamamını kutuya sığdırır, kesme yapmaz */
    object-fit: fill !important;

    /* Resmin merkezde durmasını garanti eder */
    object-position: center !important;

    display: block !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* İçerikle hafif ayırıcı line */
    transition: transform 0.5s ease;
}

/* Mobilde resim yayvan durmasın diye yüksekliği düşürüyoruz */
@media (max-width: 768px) {
    .post-hero-image {
        height: 250px !important;
        /* Telefonda daha kibar dursun */
        border-radius: 25px 25px 0 0 !important;
        /* Sadece üst köşeler oval */
    }
}

.article-body img,
.article-body video,
.article-body iframe {
    display: block;
    margin: 35px auto !important;
    max-width: 100%;
    border-radius: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* GAMING STYLE LİNKLER */
.article-body a {
    display: inline-block;
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    color: #fff !important;
    padding: 8px 25px;
    border-radius: 15px;
    text-decoration: none !important;
    font-weight: 700;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
}

.article-body a:hover {
    transform: translateY(-3px) scale(1.05) rotate(1deg);
}

.post-content-area {
    padding: 45px;
}

/* YENİ NESİL KATEGORİ BADGE */
.post-category-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%) !important;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-category-badge:hover {
    transform: scale(1.1) translateY(-3px);
    filter: brightness(1.1);
}

.post-category-badge:hover i {
    animation: iconShake 0.4s ease infinite alternate;
}

@keyframes iconShake {
    from {
        transform: rotate(-10deg);
    }

    to {
        transform: rotate(10deg);
    }
}

/*İÇERİK ALANI MODERNLEŞTİRME */
/* GENEL FONT VE MODERNİZASYON */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    /* Fontun daha keskin görünmesini sağlar */
}

/* BAŞLIK (BİR TIK KÜÇÜLTÜLDÜ VE KESKİNLEŞTİRİLDİ) */
.post-full-title {
    font-size: 2.2rem;
    /* Eskiden 2.8'di, daha kompakt hale getirildi */
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    margin-bottom: 25px;
    letter-spacing: -0.025em;
    /* Modern teknoloji sitelerindeki o sıkı görünüm */
}

/* İÇERİK METNİ (OKUMA KOLAYLIĞI İÇİN BİR TIK KÜÇÜLDÜ) */
.article-body {
    color: #334155;
    font-size: 17px;
    /* 19'dan 17'ye çekildi, daha dengeli durur */
    line-height: 1.75;
    /* Satır arası ferahlığı korundu */
    font-weight: 400;
}

/* Paragraf ve Liste Ayarları */
.article-body p {
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 8px;
    font-size: 17px;
}

/* Alt Başlıklar (H2, H3) */
.article-body h2 {
    font-size: 22px;
    /* İçerik başlıkları da bir tık küçüldü */
    font-weight: 700;
    color: #0f172a;
    margin-top: 35px;
    margin-bottom: 15px;
}

/* Kalın Yazılar (Strong) */
.article-body strong {
    font-weight: 700;
    color: #1e293b;
}

/*İÇERİK SAYFASI BİTİŞ*/

/* YORUMLAR */
/* MODERN YORUM ALANI TASARIMI */
.comments-section {
    background: #ffffff;
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 30px !important;
}

/* YORUM LİSTESİ */
.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: #f8fafc;
    border-radius: 25px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: #ffffff;
    border-color: #4361ee;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.08);
}

.user-avatar {
    width: 65px;
    /* Boyutu senin tasarıma göre hafif büyüttüm */
    height: 65px;
    /* Kare olması şart */
    border-radius: 50%;
    /* Tam yuvarlak yapan sihirli değnek */
    border: 3px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    /* RESMİ İÇERİYE SIĞDIRAN KRİTİK AYARLAR */
    object-fit: cover;
    /* Resmi bozmadan alanı doldurur */
    object-position: center;
    /* Resmi ortalar */
    display: block;
}

.comment-item h6 {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Kullanıcı Adı Yanına Renkli User İkonu */
.comment-item h6::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-size: 12px;
    color: #4361ee;
}

.comment-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* FORM ALANI VE INPUTLAR */
.comment-form-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #e2e8f0;
}

.modern-input {
    width: 100%;
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 20px;
    padding: 16px 22px 16px 55px !important;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Yaylanma efekti */
    outline: none;
    position: relative;
    z-index: 1;
}

/* KUTUNUN ÜZERİNE GELİNDİĞİNDE (HOVER) */
.modern-input:hover {
    transform: translateY(-3px) scale(1.02);
    /* Hafif yukarı kalkar ve büyür */
    background: #ffffff;
    border-color: #d1d9e6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* KUTUYA TIKLANDIĞINDA (FOCUS) */
.modern-input:focus {
    transform: translateY(-5px) scale(1.03);
    /* Tıklayınca biraz daha büyür */
    background: #ffffff;
    border-color: #4361ee;
    /* Senin o meşhur mavi rengin */
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
    /* Mavi gölge parlaması */
}

/* İkonların input ile birlikte hareket etmesi için */
.input-group-modern {
    transition: all 0.4s ease;
}

.input-group-modern:focus-within i {
    transform: scale(1.2) translateY(-5px);
    /* İkon da kutuyla beraber zıplar */
    filter: brightness(1.2);
}

/* YORUM YAP BUTONU (ICONLU) */
.submit-comment-btn {
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.25);
}

.submit-comment-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(114, 9, 183, 0.4);
    filter: brightness(1.1);
}

.submit-comment-btn i {
    font-size: 18px;
    /* İkonu butonda hafif oynatmak için animasyon */
    animation: paperPlane 2s infinite ease-in-out;
}

@keyframes paperPlane {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px) translateY(-2px);
    }
}

/* MODERN INPUTS & GAMING BUTTON */
.modern-input {
    width: 100%;
    border: 2px solid #eef2f6;
    border-radius: 20px;
    padding: 14px 22px;
    margin-bottom: 15px;
    font-weight: 600;
    outline: none;
    transition: 0.3s;
}

.modern-input:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.submit-comment-btn {
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 850;
    width: 100%;
    transition: 0.4s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-comment-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* REVEAL ŞELALE EFEKTİ */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-item.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Sidebar içindeki widgetların dış boşluğunu sıfırla ki sadece GAP konuşsun */
.sticky-sidebar>.widget,
.sticky-sidebar>div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* DİNAMİK STICKY SIDEBAR */
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky !important;
    top: 20px !important;
    transition: margin-top 0.3s ease, top 0.3s ease;
    align-self: flex-start;
    margin-top: -450px;
    z-index: 999 !important;
}

/* MODERN GAMING ETIKET TASARIMI */
.tag-cloud-single {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px dashed #e2e8f0;
}

/* "Etiketler:" Yazısı İçin */
.tag-label {
    font-weight: 800;
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Her Bir Etiket Kutusu */
.modern-tag-item {
    display: inline-block;
    background: #ffffff;
    color: #4361ee !important;
    /* Senin progress bar renginle uyumlu */
    padding: 8px 18px;
    border-radius: 14px;
    margin-right: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border: 1.5px solid #eef2f6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Hover Efekti: Parlama ve Yükselme */
.modern-tag-item:hover {
    background: #4361ee;
    color: #ffffff !important;
    border-color: #4361ee;
    transform: translateY(-5px) scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

/* Etiket İçindeki # İşareti İçin Opsiyonel Stil */
.modern-tag-item::before {
    content: '#';
    opacity: 0.5;
    margin-right: 4px;
    transition: 0.3s;
}

.modern-tag-item:hover::before {
    opacity: 1;
    color: #fff;
}

/* INPUT GROUP KAPSAYICI */
.input-group-modern {
    position: relative;
    margin-bottom: 5px;
}

/* GENEL İKON STİLİ */
.input-group-modern i {
    position: absolute;
    left: 20px;
    top: 18px;
    /* İnputun ortasına hizalamak için */
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Textarea için ikonu biraz daha yukarı alalım */
.input-group-modern textarea+i {
    top: 20px;
}

/* İSİM İKONU - Canlı Turuncu/Kırmızı */
.icon-name {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 154, 158, 0.3));
}

/* EMAIL İKONU - Parlak Mavi/Turkuaz */
.icon-email {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(79, 172, 254, 0.3));
}

/* MESAJ İKONU - Eflatun/Mor */
.icon-message {
    background: linear-gradient(135deg, #b721ff 0%, #21d4fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(183, 33, 255, 0.3));
}

/* MODERN INPUT GÜNCELLEME (İkona yer açmak için padding-left ekledik) */
.modern-input {
    width: 100%;
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 20px;
    padding: 16px 22px 16px 55px !important;
    /* Sol taraftan ikona yer açtık */
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
    outline: none;
}

.modern-input:focus {
    background: #ffffff;
    border-color: #4361ee;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.1);
}

/* Focus olduğunda ikonların parlaması */
.modern-input:focus+i {
    transform: scale(1.2);
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Resim Pop-UP */
.img-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-popup-overlay.active {
    display: flex !important;
    opacity: 1;
}

/* Resim Animasyonu */
.img-popup-content {
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-popup-overlay.active .img-popup-content {
    transform: scale(1);
}

/* Çarpı Butonu Hover Efekti */
.upc-close-btn:hover {
    transform: scale(1.2) rotate(90deg);
    background: #ff4757 !important;
}

/* Yanıt Formu Konteynırı */
.reply-form-container {
    display: none;
    /* Başlangıçta gizli */
    margin-top: 15px;
    margin-left: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 25px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.reply-btn-trigger {
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    color: #4361ee;
    background: #eff6ff;
    padding: 5px 15px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none !important;
}

.reply-btn-trigger:hover {
    background: #4361ee;
    color: #fff;
}

/* DAHA FAZLA GÖSTER BUTON TASARIMI */
.load-more-btn {
    background: #ffffff;
    color: #4361ee;
    border: 2px solid #4361ee;
    padding: 12px 35px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.load-more-btn:hover {
    background: #4361ee;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #64748b;
}

/* YENİ GELEN YORUMLAR İÇİN GİRİŞ ANİMASYONU */
@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-comment-animate {
    animation: fadeInUpCustom 0.6s ease forwards;
}

/* --- MESSENGER TARZI BALONCUKLAR --- */
.comment-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
}

.chat-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chat-bubble {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 0 20px 20px 20px;
    /* Sol üst köşe dik, diğerleri yuvarlak */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    position: relative;
    flex: 1;
}

/* Cevaplar (Yanıtlar) İçin Stil */
.reply-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    margin-left: 20px;
    /* İçeri girinti */
    padding-left: 15px;
    border-left: 3px solid #e2e8f0;
    /* Sol taraftaki ağaç çizgisi */
}

.reply-row .chat-avatar img {
    width: 35px;
    height: 35px;
}

.reply-row .chat-bubble {
    background: #f8fafc;
    /* Hafif gri arka plan */
    border-radius: 0 18px 18px 18px;
    font-size: 0.95rem;
}

/* İsim ve Başlık Alanı */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.chat-name {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.9rem;
}

.chat-date {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.chat-message {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

/* Yanıtla Butonu */
.chat-action-btn {
    font-size: 11px;
    color: #4361ee;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.chat-action-btn:hover {
    color: #2b45d4;
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .sticky-sidebar {
        margin-top: 0;
    }
}


/* =======================================================
   NEON FRAME & PERFECT CONNECTION TIMELINE (FINAL V3)
   ======================================================= */

/* 1. ANA KAPLAYICI */
#yorum-akisi {
    position: relative;
    padding-left: 10px;
    padding-top: 20px;
}

/* 2. YORUM GRUBU (Her bir başlık ve altındakiler) */
.comment-group {
    position: relative;
    margin-bottom: 30px !important;
    animation: slideInUpFade 0.5s ease forwards;
}

/* --- ANA OMURGA ÇİZGİSİ (Avatarın Tam Ortasından Aşağı İner) --- */
/* Bu çizgi, ana yorum avatarının merkezinden başlar ve aşağı, yanıtlara kadar uzanır */
.comment-group::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Avatarın hemen altından başlasın */
    left: 23px;
    /* Avatarın (45px) tam ortası */
    width: 2px;
    height: calc(100% - 70px);
    /* Grubun boyu kadar uzasın ama en altta dursun */
    background: linear-gradient(to bottom, #4361ee 0%, #e2e8f0 100%);
    /* Neon'dan griye geçiş */
    z-index: 0;
    opacity: 0.6;
}

/* Eğer hiç yanıt yoksa çizgiyi gizle */
.comment-group:not(:has(.reply-row))::before {
    display: none;
}

/* 1. Yorumlardaki Küçük Avatar Kapsayıcısı */
.chat-avatar {
    position: relative !important;
    display: block !important;
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0;
    align-self: flex-start !important;
    margin-right: 15px;
    line-height: 0;
    z-index: 5;
}

/* 2. Ana Avatar Resmi (Yorumlar) */
.chat-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    display: block !important;
    border: 2px solid #fff;
    box-shadow: 0 0 5px #4361ee, 0 0 10px #7209b7, 0 0 0 2px #4361ee;
    transition: all 0.3s ease;
}

/* 3. Yanıt Avatarı (Daha Küçük) */
.reply-row .chat-avatar {
    width: 35px !important;
    height: 35px !important;
}

.reply-row .chat-avatar img {
    box-shadow: 0 0 3px #4361ee, 0 0 0 1px #4361ee;
}

/* 4. GENEL IŞIK AYARLARI (Yorumlar İçin) */
.status-online-dot,
.status-offline-dot {
    position: absolute !important;
    bottom: -2px !important;
    /* Yorumlarda hafif dışarı taşsın */
    right: -2px !important;
    width: 14px !important;
    height: 14px !important;
    border: 2px solid #fff !important;
    border-radius: 50%;
    z-index: 20;
    pointer-events: none;
}

/* Yanıtlarda ışığı biraz küçültüyoruz */
.reply-row .status-online-dot,
.reply-row .status-offline-dot {
    width: 12px !important;
    height: 12px !important;
    bottom: -1px !important;
    right: -1px !important;
}

/* 5. POP-UP ÖZEL IŞIK AYARI */
/* Pop-up avatarı daha büyük olduğu için ışığın konumu farklı olmalı */
.upc-avatar .status-online-dot,
.upc-avatar .status-offline-dot {
    width: 22px !important;
    /* Işık daha büyük */
    height: 22px !important;
    bottom: 5px !important;
    /* Biraz daha yukarı */
    right: 5px !important;
    /* Biraz daha sola */
    border: 3px solid #fff !important;
    /* Çerçeve daha kalın */

    /* Önceki !important'ları ezmek için */
    left: auto !important;
    top: auto !important;
}

/* Işık Renkleri */
.status-online-dot {
    background-color: #22c55e !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 1), 0 0 8px rgba(34, 197, 94, 0.8);
    animation: pulse-green 2s infinite;
}

.status-offline-dot {
    background-color: #94a3b8 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* =========================================
       MOBİL UYUM (RESPONSIVE) AYARLARI
       ========================================= */
@media (max-width: 768px) {

    /* 1. Ana Yorum Avatarını Küçült */
    .chat-avatar {
        width: 38px !important;
        height: 38px !important;
        margin-right: 10px !important;
        /* Boşluğu biraz kıstık */
    }

    /* 2. Ana Işığı Küçült */
    .status-online-dot,
    .status-offline-dot {
        width: 11px !important;
        height: 11px !important;
        bottom: -1px !important;
        right: -1px !important;
        border-width: 1.5px !important;
        /* Çerçeveyi incelttik */
    }

    /* 3. Yanıt Avatarını Daha da Küçült */
    .reply-row .chat-avatar {
        width: 30px !important;
        height: 30px !important;
    }

    /* 4. Yanıt Işığını Minik Yap */
    .reply-row .status-online-dot,
    .reply-row .status-offline-dot {
        width: 9px !important;
        height: 9px !important;
        bottom: -1px !important;
        right: -1px !important;
    }

    /* 5. Pop-up Profilindeki Dev Işığı Mobilde Kibarlaştır */
    .upc-avatar .status-online-dot,
    .upc-avatar .status-offline-dot {
        width: 16px !important;
        height: 16px !important;
        bottom: 2px !important;
        right: 2px !important;
        border-width: 2px !important;
    }
}

/* 4. BALONCUK TASARIMI (MODERN & TEMİZ) */
.chat-bubble {
    position: relative;
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    border-top-left-radius: 0 !important;
    /* Sol üst köşe dik olsun (Konuşma balonu gibi) */
    padding: 15px 20px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
    width: 100%;
    z-index: 1;
}

/* İsim, Tarih, Badge Ayarları */
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f8fafc;
}

.chat-name {
    font-size: 14px !important;
    font-weight: 800;
    color: #1e293b;
}

.chat-date {
    font-size: 11px !important;
    color: #94a3b8;
}

/* 5. YANITLAR (AĞAÇ DALLARI - BAĞLANTI AYARI) */
.reply-row {
    /* HTML'deki inline marginleri eziyoruz */
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 20px !important;
    border: none !important;
    position: relative;

    /* Yanıtları içeri itiyoruz ama CSS ile */
    padding-left: 60px !important;
}

/* YANIT BAĞLANTI ÇİZGİSİ (L ŞEKLİ) */
.reply-row::before {
    content: '';
    position: absolute;

    /* Konumlandırma (Milimetrik Ayar) */
    top: -25px;
    /* Yukarıdaki avatarın hizasından başla */
    left: 23px;
    /* Ana omurga çizgisiyle (23px) tam çakışmalı */

    /* Şekil */
    width: 30px;
    /* Sağa doğru uzan (Avatarın yanına kadar) */
    height: 50px;
    /* Aşağı in */

    /* Çizgi Stili */
    border-left: 2px solid #e2e8f0;
    /* Dikey */
    border-bottom: 2px solid #e2e8f0;
    /* Yatay */

    /* Köşe Yuvarlama */
    border-bottom-left-radius: 15px;
    z-index: 0;
}

/* Yanıt Avatarı (Biraz daha küçük ve farklı neon) */
.reply-row .chat-avatar img {
    width: 36px !important;
    height: 36px !important;

    /* Yanıt Neonu (Daha pembemsi) */
    box-shadow:
        0 0 5px #f72585,
        0 0 0 2px #f72585;
}

/* Yanıt Balonu */
.reply-row .chat-bubble {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 16px !important;
    /* Yanıtlarda tam yuvarlak olsun */
}

/* 6. BUTONLAR */
.chat-action-btn {
    font-size: 11px !important;
    font-weight: 700;
    color: #4361ee !important;
    background: #eff6ff;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: 0.2s;
}

.chat-action-btn:hover {
    background: #4361ee;
    color: #fff !important;
}

/* "Daha Fazla Göster" Butonu */
#loadMoreBtn {
    background: #fff;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s;
}

#loadMoreBtn:hover {
    border-color: #4361ee;
    color: #4361ee;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.15);
}

/* 7. MOBİL DÜZELTMELERİ (Telefonda kaymasın diye) */
@media (max-width: 768px) {
    .reply-row {
        padding-left: 45px !important;
    }

    /* Mobilde girintiyi azalt */

    .comment-group::before {
        left: 19px;
    }

    /* Çizgiyi mobildeki avatara hizala */

    .reply-row::before {
        left: 19px;
        /* Ana çizgiye hizala */
        width: 20px;
        /* Kısal */
    }

    .chat-avatar img {
        width: 38px !important;
        height: 38px !important;
    }

    .reply-row .chat-avatar img {
        width: 30px !important;
        height: 30px !important;
    }
}

@keyframes slideInUpFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================================
   MOBİL YANIT FORMU DÜZELTMESİ (V3 - TAM ORTALI)
   ======================================================= */
@media (max-width: 768px) {

    /* 1. İsim ve Email yine alt alta */
    .replyForm .row {
        display: flex;
        flex-direction: column;
    }

    .replyForm .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px;
    }

    /* 2. KUTU POZİSYONU (SAĞA ÇEKME OPERASYONU) */
    .dynamic-form-container>div {
        padding: 15px !important;

        /* BURASI DEĞİŞTİ: -20px'den -5px'e çektik. */
        /* Bu işlem kutuyu sola yapıştırmayı bırakıp sağa doğru salar. */
        margin-left: -1px !important;

        /* Genişlik ayarı: Çok hafif taşırarak tam doluluk hissi */
        width: calc(100% + 5px) !important;

        border-radius: 15px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
        /* Mobilde havada dursun */
    }

    /* 3. Input ayarları */
    .modern-input {
        font-size: 13px !important;
        padding: 12px 15px 12px 45px !important;
    }

    .input-group-modern i {
        top: 15px !important;
        left: 15px !important;
        font-size: 16px !important;
    }

    /* 4. Butonlar */
    .submit-comment-btn {
        width: 100% !important;
        justify-content: center;
        padding: 12px !important;
        font-size: 13px !important;
    }
}


/* =========================================
   MODERN YORUM BAŞLIĞI (ULTRA ANIMATED V4)
   ========================================= */
.modern-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #e2e8f0;
    position: relative;
}

/* Sol Taraf */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- CANLI İKON KUTUSU (Pulse & Float) --- */
.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    /* Senin renklerin */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

/* İkonun Kendisi (Süzülme) */
.icon-box i {
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Arkadaki Dalga Efekti */
.icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    z-index: -1;
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    animation: pulseRing 2s infinite;
}

/* Hover Yapınca Hızlansın */
.modern-comment-header:hover .icon-box {
    transform: scale(1.05) rotate(-3deg);
    transition: all 0.4s ease;
}

.modern-comment-header:hover .icon-box i {
    animation-duration: 1.5s;
    /* Heyecanlanma efekti */
}

/* --- BAŞLIK VE ROZET --- */
.header-title {
    font-weight: 800;
    font-size: 22px;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

/* Sayı Rozeti (Badge) */
.count-badge {
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(114, 9, 183, 0.3);
    position: relative;
    top: 2px;
}

.count-badge:empty {
    display: none;
}

/* --- KEYFRAMES (ANİMASYONLAR) --- */

/* 1. İkon Süzülmesi */
@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* 2. Dalga Yayılması */
@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(67, 97, 238, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* 3. Sayı Artınca Zıplama (Live Counter İçin) */
@keyframes popScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.pop-anim {
    animation: popScale 0.3s ease-out;
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .header-title {
        font-size: 18px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .count-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
}

.chat-date {
    color: #f72585 !important;
    /* İstediğin pembe renk */
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chat-date i {
    font-size: 12px;
    color: #f72585;
}

/* CKEDITOR İÇERİK RESİMLERİNİ SABİTLEME */
.article-body img {
    /* Resim kutu genişliğini (100%) asla geçemez */
    max-width: 100% !important;

    /* Yüksekliği otomatik bırakıyoruz ki resim basık/yayvan durmasın */
    height: auto !important;

    /* Blok element yaparak ortalamayı garantiye alıyoruz */
    display: block !important;
    margin: 30px auto !important;

    /* Tasarımınla uyumlu oval köşeler */
    border-radius: 25px !important;

    /* Taşmayı fiziksel olarak engellemek için son kale */
    object-fit: contain !important;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobilde resimlerin nefes alması için */
@media (max-width: 768px) {
    .article-body img {
        border-radius: 15px !important;
        margin: 15px auto !important;
        /* Telefondaki dar ekranda resmi tam genişliğe zorlar */
        width: 100% !important;
    }
}

/* CKEDITOR LİNK RENKLERİNİ BEYAZA SABİTLEME */
.article-body a,
.article-body a * {
    color: #ffffff !important;
    /* Ne olursa olsun yazı beyaz kalır */
    text-decoration: none !important;
}

/* Linkin üzerine gelindiğinde (Hover) efektini koruyalım */
.article-body a:hover {
    filter: brightness(0.9);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05) rotate(1deg);
}

/* Eğer linkin içinde ikon falan varsa onlar da beyaz olsun */
.article-body a i {
    color: #ffffff !important;
}

.article-body {
    /* Win11'in temiz font yapısı */
    font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', sans-serif !important;
    color: #1a1a1a;
    /* Daha keskin bir siyah */
    font-size: 16px;
    /* Win11 sistem fontu ölçeği */
    line-height: 1.6;
    /* Okunabilirlik dengesi */
    letter-spacing: -0.011em;
    /* Segoe UI Variable'ın o karakteristik sıkılığı */
    font-weight: 450;
    /* Ne çok ince ne çok kalın */
}

/* Başlıkları daha 'Fluent' yapalım */
.post-full-title {
    font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', sans-serif;
    letter-spacing: -0.04em;
    /* Başlıklarda daha agresif sıkıştırma */
    font-weight: 700;
    color: #000;
}

/* CKEDITOR'DEN GELEN TÜM YAZILARI MEVCUT FONTA ZORLA */
.article-body,
.article-body p,
.article-body span,
.article-body div,
.article-body table,
.article-body li {
    font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', sans-serif !important;
    /* Font büyüklüğünü ve ağırlığını da Fluent standartlarına çekelim */
    font-weight: 450 !important;
    line-height: 1.7 !important;
    letter-spacing: -0.011em !important;
}

/* Başlık Etiketlerini (H1-H6) Daha Keskin Yap */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #000 !important;
}

/* Listeleri de Hizaya Sok */
.article-body ul,
.article-body ol {
    padding-left: 20px !important;
}

/* Kalın Yazıları (Strong/B) Kontrol Altına Al */
.article-body strong,
.article-body b {
    font-weight: 650 !important;
    color: #1a1a1a !important;
}

/* =======================================================
   ICERIK.PHP - YORUM VE YANIT FORMU DARK MODU
   ======================================================= */
body.dark-mode .comments-section,
body.dark-mode .comment-item,
body.dark-mode .reply-form-container,
body.dark-mode .dynamic-form-container>div {
    background-color: #27272a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Yanıt verirken çıkan "X kişisine yanıt veriyorsun" yazısı */
body.dark-mode .dynamic-form-container div[style*="color:#4361ee"] {
    color: #a5b4fc !important;
    /* Daha soft bir mavi/lavanta */
}

/* Messenger baloncukları */
body.dark-mode .chat-bubble {
    background: #27272a !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .reply-row .chat-bubble {
    background: #18181b !important;
    /* Yanıtlar bir tık daha koyu */
}

/* =======================================================
   CKEDITOR İÇERİK LİNKLERİ - SONSUZ BEYAZLIK SİSTEMİ
   ======================================================= */
/* 1. Hem Gündüz Hem Gece Link Yazılarını Beyaz Tutar */
.article-body a,
.article-body a *,
body.dark-mode .article-body a,
body.dark-mode .article-body a * {
    color: #ffffff !important;
    /* Arka plan ne olursa olsun yazı hep beyaz */
    text-decoration: none !important;
}

/* 2. Link İçindeki İkonların Rengini Sabitleme */
.article-body a i,
body.dark-mode .article-body a i {
    color: #ffffff !important;
}

/* 3. Hover (Üzerine Gelince) Efekti */
.article-body a:hover,
body.dark-mode .article-body a:hover {
    color: #ffffff !important;
    /* Hover yapınca da renk kaçmasın */
    filter: brightness(1.15);
    /* Hafif parlayarak tepki versin */
    transform: translateY(-3px) scale(1.05) rotate(1deg);
    /* Senin o meşhur zıplaman */
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4) !important;
}

/* Emoji panelinin kaybolmaması ve düzgün konumlanması için */
/* Kapsayıcının butonun konumlanacağı 'ev' olduğunu garanti eder */
.input-group-modern {
    position: relative !important;
    overflow: visible !important;
}

/* Textarea'nın alt kısmında butona yer açar */
.emoji-input {
    padding-bottom: 45px !important;
    display: block;
    width: 100%;
}

/* Yazının emoji butonunun altında kalmasını engeller */
/* Ana yorum ve yanıt textarea alanları için iç boşluk ayarı */
.emoji-input {
    padding-bottom: 55px !important;
    /* Alt tarafta buton için yer açar */
    padding-left: 40px !important;
    /* Sol taraftaki ikon yerini korur */
}

/* Emoji butonuna hover efekti */
.emoji-trigger:hover {
    background: #e2e8f0 !important;
    transform: scale(1.1);
}

/* Karanlık Mod Uyumu */
body.dark-mode .emoji-trigger {
    background: #18181b !important;
    border-color: #3f3f46 !important;
}

/* --- BUTON ODAKLANMA (OUTLINE) ENGELLEME --- */

.emoji-trigger,
.emoji-trigger:focus,
.emoji-trigger:active,
.chat-action-btn,
.load-more-replies-btn {
    outline: none !important;
    /* Beyaz çizgiyi tamamen kaldırır */
    box-shadow: none !important;
    /* Eğer gölge şeklinde çıkıyorsa onu da siler */
    -webkit-tap-highlight-color: transparent;
    /* Mobil cihazlardaki mavi/beyaz dokunma rengini kaldırır */
}

/* --- CANLI EMOJİ ANİMASYONU --- */

@keyframes emojiLife {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    /* Sağa bakış */
    10% {
        transform: translateX(3px) rotate(5deg);
    }

    /* Sola bakış */
    20% {
        transform: translateX(-3px) rotate(-5deg);
    }

    /* Göz kırpma efekti (Hızlıca küçülüp büyüme) */
    25% {
        transform: scaleY(0.1);
    }

    30% {
        transform: scaleY(1);
    }

    /* Normal duruş */
    50% {
        transform: scale(1.1);
    }

    /* Tekrar göz kırpma */
    70% {
        transform: scaleY(0.1);
    }

    75% {
        transform: scaleY(1);
    }
}

.emoji-trigger {
    display: inline-block;
    color: #ffa502 !important;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Fare üzerine geldiğinde bu döngü başlasın */
.emoji-trigger:hover {
    animation: emojiLife 2s infinite ease-in-out;
    color: #ffcc00 !important;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.7));
}

/* Tıklandığında heyecanlanma efekti */
.emoji-trigger:active {
    transform: scale(1.4) !important;
    transition: 0.1s;
}

/* 1. TWEMOJI (RESİM) BOYUT KONTROLÜ - EMOJİLERİN DEVLEŞMESİNİ ENGELLER */
img.emoji {
    height: 1.2em !important;
    width: 1.2em !important;
    margin: 0 .05em 0 .1em !important;
    vertical-align: -0.1em !important;
    display: inline-block !important;
}

/* Normal (Aydınlık) Tema Ayarları */
.chat-action-btn.reply-btn-trigger {
    color: #4361ee;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.chat-action-btn.reply-btn-trigger:hover {
    background: #4361ee;
    color: #ffffff;
}

/* DARK MODE AYARLARI */
body.dark-mode .chat-action-btn.reply-btn-trigger {
    background: #1e293b;
    /* Koyu Gri/Mavi arka plan */
    color: #818cf8;
    /* Yumuşak İndigo yazı rengi */
    border: 1px solid #334155;
}

body.dark-mode .chat-action-btn.reply-btn-trigger:hover {
    background: #312e81;
    /* Daha koyu indigo hover */
    color: #e0e7ff;
    border-color: #4361ee;
}

/* İkon için ufak bir boşluk */
.chat-action-btn.reply-btn-trigger i {
    margin-right: 5px;
}

/* DAHA FAZLA YANIT BUTON VE KONTEYNER */
/* Body'de .dark-mode class'ı olduğu varsayılmıştır */

body.dark-mode .load-more-replies-btn {
    background: #1e293b !important;
    /* Koyu Gri/Mavi arka plan */
    color: #818cf8 !important;
    /* Yumuşak İndigo yazı rengi */
    border: 1.5px dashed #334155 !important;
    /* Koyu kesikli kenarlık */
    transition: all 0.3s ease;
}

body.dark-mode .load-more-replies-btn:hover {
    background: #312e81 !important;
    /* Hover'da daha koyu indigo */
    color: #e0e7ff !important;
    /* Hover'da parlayan yazı */
    border-style: solid !important;
    /* Kesikli çizgiyi düze çevir */
    border-color: #4361ee !important;
}

/* Konteyner için ufak bir alt boşluk ayarı (Gerekirse) */
body.dark-mode [id^="more-replies-container-"] {
    background: transparent;
}

/* İkonun rengini de yazıya uyduralım */
body.dark-mode .load-more-replies-btn i {
    color: #818cf8 !important;
}

body.dark-mode .load-more-replies-btn:hover i {
    color: #ffffff !important;
}

/* --- İKON RENKLENDİRME --- */

/* Yanıtla İkonu (fa-reply) - Dikkat çeken bir kırmızı/turuncu tonu */
.reply-btn-trigger i {
    color: #ff4757 !important;
    /* Canlı Mercan Kırmızısı */
    filter: drop-shadow(0 0 2px rgba(255, 71, 87, 0.4));
    /* Hafif parlama efekti */
    transition: all 0.3s ease;
}

/* Daha Fazla Yanıt İkonu (fa-comments) - Güven veren bir turkuaz/mavi tonu */
.load-more-replies-btn i {
    color: #2e86de !important;
    /* Canlı Deniz Mavisi */
    filter: drop-shadow(0 0 2px rgba(46, 134, 222, 0.4));
    margin-right: 8px;
    transition: all 0.3s ease;
}

/* --- HOVER EFEKTLERİ (Üzerine Gelince) --- */

.reply-btn-trigger:hover i {
    color: #ff6b81 !important;
    /* Daha açık kırmızı */
    transform: rotate(-15deg) scale(1.2);
    /* Hafif yan yatma ve büyüme */
}

.load-more-replies-btn:hover i {
    color: #54a0ff !important;
    /* Daha açık mavi */
    transform: scale(1.2);
    /* Büyüme efekti */
}

/* --- DARK MODE UYUMU --- */
/* Karanlık modda renklerin daha patlak durması için */
body.dark-mode .reply-btn-trigger i {
    color: #ff7f50 !important;
    /* Daha yumuşak turuncu-kırmızı */
}

body.dark-mode .load-more-replies-btn i {
    color: #00d2d3 !important;
    /* Parlak Turkuaz */
}

/* --- İKON ANİMASYONLARI --- */

/* Yanıtla İkonu (fa-reply) - Hafif Geriye Sallanma */
@keyframes replyBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px) rotate(-10deg);
    }
}

.reply-btn-trigger:hover i {
    animation: replyBounce 0.6s ease infinite;
    color: #ff6b81 !important;
}

/* Daha Fazla Yanıt İkonu (fa-comments) - Hafif Zıplama Efekti */
@keyframes chatJump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px) scale(1.1);
    }
}

.load-more-replies-btn:hover i {
    animation: chatJump 0.8s ease-in-out infinite;
    color: #54a0ff !important;
}

/* --- EKSTRA --- */

/* Butona tıklandığında minik bir basılma efekti */
.chat-action-btn:active,
.load-more-replies-btn:active {
    transform: scale(0.95);
    transition: 0.1s;
}

/* İkonların renklerini ve parlamasını sabitleyelim */
.reply-btn-trigger i {
    color: #ff4757 !important;
    display: inline-block;
    /* Animasyonun çalışması için şart */
}

.load-more-replies-btn i {
    color: #2e86de !important;
    display: inline-block;
}

/* Google Noto Color Emoji'yi her yere mühürle */
.chat-message,
.modern-input,
.emoji-picker__emoji,
.emoji-face-base {
    font-family: 'Plus Jakarta Sans', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif !important;
    line-height: 1.5 !important;
    color: #050505 !important;
    word-wrap: break-word;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
}

/* Dark Mode için metin rengi zırhı */
body.dark-mode .chat-message {
    color: #e4e6eb !important;
}

/* =======================================================
   AUTOFILL YAZI RENGİ - DARK MODE UYUMLU
   ======================================================= */

/* 1. VARSAYILAN (AYDINLIK) MOD: Yazıları Siyah Yapar */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #000000 !important;
    /* Arka planın tarayıcı rengine (mavi/sarı) dönmesini engeller */
    transition: background-color 5000s ease-in-out 0s !important;
}

/* 2. KARANLIK MOD: Yazıları Beyaz Yapar */
/* Sitenin body etiketine eklediğimiz .dark-mode class'ını hedefliyoruz */
body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode textarea:-webkit-autofill,
body.dark-mode textarea:-webkit-autofill:hover,
body.dark-mode textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
}

/* =======================================================
   MODERN SOSYAL PAYLAŞIM PANELİ
   ======================================================= */
.tech-share-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: #ffffff;
    border-radius: 25px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.share-title {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Sosyal Renkler */
.btn-fb {
    background: #1877f2;
}

.btn-tw {
    background: #000000;
}

/* X (Twitter) Black */
.btn-wa {
    background: #25d366;
}

.btn-tg {
    background: #229ED9;
}

.btn-copy {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    cursor: pointer;
}

/* Dark Mode Uyumu */
body.dark-mode .tech-share-wrapper {
    background: #27272a !important;
    border-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .share-btn {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .tech-share-wrapper {
        padding: 20px 15px;
    }
}

/* =======================================================
   FOOTER STYLE PREMİUM SHARE PANEL
   ======================================================= */
.tech-share-wrapper {
    margin: 40px auto;
    padding: 20px 30px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    /* Yan yana dizilim */
    justify-content: space-between;
    gap: 20px;
    max-width: 850px;
    position: relative;
}

/* FOOTER'DAKİ SOL BÖLÜM VE ÇİZGİ YAPISI */
.share-left-zone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 15px rgba(67, 97, 238, 0.2);
}

/* FOOTER'DAKİ O MEŞHUR DİKEY ÇİZGİ (v-divider) */
.share-v-divider {
    width: 2px;
    height: 35px;
    background: #e2e8f0;
    border-radius: 10px;
}

.share-text-zone {
    display: flex;
    flex-direction: column;
}

.share-main-text {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-sub-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

/* PAYLAŞIM BUTONLARI GRİDİ */
.share-buttons-grid {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b !important;
    /* Başlangıçta soft gri */
    background: #f8fafc;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

/* Üstüne gelince Footer'daki sosyal ikon hover efekti */
.share-btn:hover {
    transform: translateY(-3px);
    color: #fff !important;
}

.btn-fb:hover {
    background: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.btn-tw:hover {
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-wa:hover {
    background: #25d366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-tg:hover {
    background: #229ED9;
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.3);
}

.btn-copy:hover {
    background: var(--main-grad);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* DARK MODE UYUMU (#27272a) */
body.dark-mode .tech-share-wrapper {
    background: #27272a !important;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .share-main-text {
    color: #fff;
}

body.dark-mode .share-v-divider {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .share-btn {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .tech-share-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .share-left-zone {
        flex-direction: column;
        gap: 10px;
    }

    .share-v-divider {
        width: 40px;
        height: 2px;
    }

    .share-buttons-grid {
        margin-top: 10px;
    }
}

/* =======================================================
   FORM AUTOFILL (OTOMATİK DOLDURMA) 
   ======================================================= */

/* 1. INPUT VE TEXTAREA İÇİN ORTAK AYAR (.modern-input sınıfına özel) */
.modern-input:-webkit-autofill,
.modern-input:-webkit-autofill:hover,
.modern-input:-webkit-autofill:focus,
.modern-input:-webkit-autofill:active {

    /* HİLE BURADA: Arka planı değiştirmek yerine içini BEYAZ gölgeyle dolduruyoruz */
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;

    /* Yazı rengini zorla KOYU GRİ yapıyoruz */
    -webkit-text-fill-color: #334155 !important;

    /* Arka plan değişimini sonsuza kadar geciktirip tarayıcıyı kandırıyoruz */
    transition: background-color 5000s ease-in-out 0s;

    /* İmleç rengi */
    caret-color: #334155;

    /* Kenarlıkları koru */
    border: 1px solid #e2e8f0 !important;
}

/* 2. DARK MODE (GECE MODU) İÇİN AYAR */
/* Eğer body'de dark-mode varsa inputun içi koyu olsun */
body.dark-mode .modern-input:-webkit-autofill,
body.dark-mode .modern-input:-webkit-autofill:hover,
body.dark-mode .modern-input:-webkit-autofill:focus,
body.dark-mode .modern-input:-webkit-autofill:active {

    /* Dark mod arka plan renginle (örn: #1e293b veya #18181b) içini boya */
    -webkit-box-shadow: 0 0 0 1000px #18181b inset !important;

    /* Yazı rengi BEYAZ olsun */
    -webkit-text-fill-color: #ffffff !important;

    caret-color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* =========================================
   RÜTBE ROZETLERİ (4 ROL + MİSAFİR)
   ========================================= */
.user-role-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 8px;
    letter-spacing: 0.5px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid transparent;
}

/* 4: YÖNETİCİ (Kırmızı - Admin) */
.badge-admin {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* 3: EDİTÖR (Mavi) */
.badge-editor {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

/* 2: YAZAR (Yeşil) */
.badge-author {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

/* 1: ÜYE (Turuncu) */
.badge-member {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

/* 0: MİSAFİR (Gri) */
.badge-guest {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

/* Dark Mode Uyumu */
body.dark-mode .badge-guest {
    background: #27272a;
    border-color: #3f3f46;
    color: #a1a1aa;
}

/* PREMIUM KIRMIZI ONAY BUTONU (Giriş Yap) */
.swal-red-confirm {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 14px 30px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3) !important;
    border: none !important;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 5px;
}

.swal-red-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 71, 87, 0.5) !important;
    filter: brightness(1.1);
}

.swal-grey-cancel {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 14px !important;
    padding: 14px 25px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 5px;
}

.swal-grey-cancel:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
    transform: translateY(-1px);
}

/* Dark Mode Uyumu */
body.dark-mode .swal-grey-cancel {
    background: #27272a !important;
    color: #a1a1aa !important;
    border-color: #3f3f46 !important;
}

body.dark-mode .swal-grey-cancel:hover {
    background: #3f3f46 !important;
    color: #fff !important;
}

/* SweetAlert Odaklanma (Siyah Çizgi) Temizliği */
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus,
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3) !important;
    /* Siyah yerine hafif mavi hare */
}

/* Modalı açarken çıkan genel çerçeveyi de siler */
div:where(.swal2-container) div:where(.swal2-popup):focus {
    outline: none !important;
}

/* --- 1. KONTEYNER --- */
.fav-btn-container {
    position: relative !important;
    display: inline-block !important;
    z-index: 10;
}

/* --- 2. ANA PILL YAPISI (Kapsül Şekli) --- */
.status-pill-notify {
    /* KONUM: Butonun hemen altı */
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    z-index: 999;

    /* MİNİMAL GÖRÜNÜM */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600 !important;
    /* Çok kalın değil, okunaklı */
    font-size: 12px !important;
    /* Kibar font boyutu */
    white-space: nowrap;

    padding: 6px 16px !important;
    /* Daha kompakt boşluklar */
    border-radius: 99px !important;
    /* Tam yuvarlak (Hap şeklinde) */

    /* Animasyon */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
    /* Hızlı ve akıcı geçiş */

    /* Hafif Gölge (Neon değil, doğal gölge) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- 3. MİNİK OK İŞARETİ --- */
.status-pill-notify::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #334155 transparent;
    /* Varsayılan renk */
}

/* --- 4. DURUM RENKLERİ (MAT & DÜZ) --- */

/* ⏳ İŞLENİYOR (Gri/Mavi Mat) */
.pill-processing {
    background: #334155 !important;
    /* Slate rengi */
    color: #fff !important;
}

.pill-processing::after {
    border-color: transparent transparent #334155 transparent !important;
}

/* ✅ EKLENDİ (Soft Yeşil - Göz almaz) */
.pill-added {
    background: #10b981 !important;
    /* Düz Zümrüt Yeşili */
    color: #fff !important;
}

.pill-added::after {
    border-color: transparent transparent #10b981 transparent !important;
}

/* ❌ ÇIKARILDI (Soft Kırmızı - Mat) */
.pill-removed {
    background: #ef4444 !important;
    /* Düz Mat Kırmızı */
    color: #fff !important;
}

.pill-removed::after {
    border-color: transparent transparent #ef4444 transparent !important;
}

/* --- 5. GÖRÜNME EFEKTİ (Hafif Kayma) --- */
.status-pill-notify.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- İKON AYARI --- */
.status-pill-notify i {
    margin-right: 5px;
    font-size: 12px;
}

/* =======================================================
    USER PROFILE MODAL
   ======================================================= */

/* 1. Arka Plan Perdesi */
.upc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    /* Panel koyu tonu */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upc-overlay.active {
    display: flex;
    opacity: 1;
}

/* 2. Kartın Kendisi (Genişletilmiş ve Panel Tarzı) */
.user-popup-card {
    position: relative;
    width: 420px;
    /* KARTI BÜYÜTTÜK */
    background: #ffffff;
    border-radius: 30px;
    /* Paneldeki gibi yuvarlak köşeler */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.upc-overlay.active .user-popup-card {
    transform: scale(1) translateY(0);
}

/* 3. Header (Panel Gradyanı) */
.upc-header {
    height: 110px;
    /* Headerı biraz yükselttik */
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header deseni (Opsiyonel estetik) */
.upc-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* 4. Kapatma Butonu */
.upc-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 30;
    transition: 0.2s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.upc-close-btn:hover {
    background: #fff;
    color: #4361ee;
    transform: rotate(90deg);
}

/* 5. Avatar (SABİTLENDİ VE ORTALANDI) */
.upc-avatar {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    position: absolute;

    /* Header Boyu (110px) - (Avatar Boyu (100px) / 2) = 60px */
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    /* Tam ortala */

    padding: 5px;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    z-index: 20;
}

.upc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* 6. İçerik Alanı */
.upc-content {
    padding: 65px 30px 30px 30px;
    /* Avatar payı bırakıldı */
    text-align: center;
    /* Her şeyi ortala */
}

/* İsim ve Rütbe Alanı */
.upc-name-box {
    margin-bottom: 20px;
}

.upc-name {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.upc-username {
    font-size: 14px;
    color: #4361ee;
    font-weight: 700;
    opacity: 0.8;
}

/* Panel Tarzı Rütbe Rozetleri */
.upc-role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    border: 1px solid transparent;
}

/* Biyografi (Panel Kapsülü Gibi) */
.upc-bio-box {
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.upc-bio-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 10px;
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upc-bio {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* =======================================================
SOSYAL MEDYA BUTONLARI (SOFT GRAY ZEMİN & RENKLİ İKON)
======================================================= */

.upc-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.upc-social-btn {
    width: 45px;
    height: 45px;
    background: #f1f5f9 !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px dashed #cbd5e1 !important;
    position: relative;
    overflow: hidden;
}

/* --- MARKA RENKLERİ (NORMAL HALİ) --- */

.btn-insta {
    color: #E1306C !important;
}

.btn-twitter {
    color: #000000 !important;
}

.btn-discord {
    color: #5865F2 !important;
}

.btn-steam {
    color: #171a21 !important;
}

/* --- HOVER EFEKTLERİ (RENKLİ GEÇİŞLER) --- */

.btn-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #fff !important;
    border-style: solid !important;
    /* Hover'da çizgiyi düz yapalım */
    border-color: transparent !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.btn-twitter:hover {
    background: #000000 !important;
    color: #fff !important;
    border-style: solid !important;
    border-color: transparent !important;
    transform: translateY(-5px);
}

.btn-discord:hover {
    background: #5865F2 !important;
    color: #fff !important;
    border-style: solid !important;
    border-color: transparent !important;
    transform: translateY(-5px);
}

.btn-steam:hover {
    background: #171a21 !important;
    color: #fff !important;
    border-style: solid !important;
    border-color: transparent !important;
    transform: translateY(-5px);
}

/* --- DARK MODE AYARI --- */

/* --- DARK MODE SOSYAL BUTONLAR (TAM UYUM) --- */

body.dark-mode .upc-social-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px dashed rgba(255, 255, 255, 0.1) !important;

    color: #94a3b8 !important;
    box-shadow: none;
}

/* --- DARK MODE HOVER (SADECE ÜSTÜNE GELİNCE RENKLENSİN) --- */

body.dark-mode .btn-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #fff !important;
    border-style: solid !important;
}

body.dark-mode .btn-twitter:hover {
    background: #ffffff !important;
    /* X logosu beyaz zeminde siyah daha şık durur */
    color: #000000 !important;
    border-style: solid !important;
}

body.dark-mode .btn-discord:hover {
    background: #5865F2 !important;
    color: #fff !important;
    border-style: solid !important;
}

body.dark-mode .btn-steam:hover {
    background: #171a21 !important;
    color: #fff !important;
    border-style: solid !important;
}

/* Footer (Katılım Tarihi) */
.upc-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upc-footer i {
    color: #4361ee;
}

/* Dark Mode Uyumu */
body.dark-mode .user-popup-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .upc-name {
    color: #fff;
}

body.dark-mode .upc-bio-box {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .upc-bio {
    color: #cbd5e1;
}

body.dark-mode .upc-avatar {
    background: #1e293b;
}

body.dark-mode .upc-bio-label {
    background: #1e293b;
    color: #64748b;
}

body.dark-mode .upc-footer {
    border-color: #334155;
    color: #94a3b8;
}

/* =========================================
   PO-PUP İÇİ KOPYALAMA BİLDİRİMİ (TOAST)
   ========================================= */
.upc-copy-toast {
    position: absolute;
    /* Aşağı Yukarı Hizalanma */
    bottom: 0px;
    /* Eskiden 85px idi. 20px yaparsan en alta iner */
    /* Sosyal medya ikonlarının hemen üstünde/ortasında çıksın */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* Hafif aşağıdan başla */

    background: rgba(15, 23, 42, 0.9);
    /* Koyu Lacivert/Siyah Zemin */
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;

    display: flex;
    align-items: center;
    gap: 6px;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    pointer-events: none;
    /* Tıklamayı engelle */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.upc-copy-toast i {
    color: #4ade80;
    /* Yeşil onay ikonu */
    font-size: 12px;
}

/* Aktif Class'ı Gelince Görünür */
.upc-copy-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dark Mode Uyumu */
body.dark-mode .upc-copy-toast {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
}


/* =========================================
   🟢 ONLINE / OFFLINE DURUM İNDİKATÖRÜ
   ========================================= */
.upc-status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #fff;
    /* Avatarla kaynaşması için beyaz çerçeve */
    z-index: 25;
    /* Resmin üstünde dursun */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Çevrimiçi (Online) - Yanıp Sönen Yeşil */
.status-online {
    background: #22c55e;
    /* Canlı Yeşil */
    animation: pulse-green 2s infinite;
}

/* Çevrimdışı (Offline) - Gri */
.status-offline {
    background: #94a3b8;
    /* Mat Gri */
    border-color: #f1f5f9;
}

/* Nefes Alma Efekti */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Dark Mode Uyumu */
body.dark-mode .upc-status-dot {
    border-color: #1e293b;
    /* Dark modda avatar çerçeve rengi */
}

/* =======================================================
        PROFİL KARTI FİNAL TASARIM 
       ======================================================= */

/* 1. "HAKKINDA" Kapsülü (Gökkuşağı Hap) */
.upc-bio-badge {
    display: table;
    margin: 20px auto 10px auto;
    padding: 5px 20px;

    /* Light Mode: Pastel Gökkuşağı */
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.2) 0%, rgba(254, 207, 239, 0.2) 50%, rgba(161, 140, 209, 0.2) 100%);
    border: 1px solid rgba(255, 154, 158, 0.3);
    color: #70a1ff;

    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(142, 197, 252, 0.3);
}

/* 2. Biyografi Kutusu (İçerik) */
.upc-bio-content {
    display: block;
    background: #ffffff;

    border: 1px solid #f1f5f9;
    border-left-width: 4px;
    /* Renkli çizgi */
    border-style: solid !important;

    border-radius: 12px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 25px 25px 25px 35px;
    min-height: 90px;
    position: relative;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    margin: 0 10px 20px 10px;
}

.upc-bio-content .fa-quote-right {
    display: none !important;
}

/* 3. İstatistik Grid Yapısı */
.upc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

/* 4. İstatistik Kartları */
.stat-card {
    border-radius: 16px;
    padding: 12px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    border-style: solid !important;
    /* Asla dashed olamaz */
    border-width: 1px !important;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-val {
    font-size: 16px;
    letter-spacing: -0.5px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-lbl {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

.stat-icon {
    font-size: 16px;
    margin-bottom: 6px;
}

/* Light Mode Renkleri */
.card-join {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.card-join .stat-val {
    color: #475569;
    font-size: 13px;
}

.card-join .stat-lbl {
    color: #94a3b8;
}

.card-join .stat-icon {
    color: #f472b6;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    /* %20 oranında büyür */
    100% {
        transform: scale(1);
    }
}

/* GENEL İKON AYARI */
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
    /* 2 saniyede bir nefes alır */
    transition: all 0.3s ease;
}

/* Yanıt kartındaki ikon biraz gecikmeli başlasın */
.card-reply .stat-icon {
    animation-delay: 0.5s;
}

/* --- YORUM KARTI (MAVİ) --- */
.card-topic {
    background: #eff6ff;
    border-color: #dbeafe;
    border-radius: 12px;
}

.card-topic .stat-val {
    color: #2563eb;
    font-weight: 800;
}

.card-topic .stat-lbl {
    color: #60a5fa;
}

.card-topic .stat-icon {
    color: #3b82f6;
}

/* --- YANIT KARTI (TURUNCU) --- */
.card-reply {
    background: #fff7ed;
    border-color: #ffedd5;
    border-radius: 12px;
}

.card-reply .stat-val {
    color: #ea580c;
    font-weight: 800;
}

.card-reply .stat-lbl {
    color: #fb923c;
}

.card-reply .stat-icon {
    color: #f97316;
}

/* 5. Sosyal Medya */
.upc-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 30px 0;
}

.upc-social-btn {
    width: 46px;
    height: 46px;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    /* Düz Çizgi */
    border-style: solid !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #94a3b8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
}

.upc-social-btn:hover {
    transform: translateY(-5px);
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Marka Renkleri */
.btn-insta:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888) !important;
}

.btn-twitter:hover {
    background: #000000 !important;
}

.btn-discord:hover {
    background: #5865F2 !important;
}

.btn-steam:hover {
    background: #171a21 !important;
}

.upc-no-social {
    display: inline-block;
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

/* =======================================================
       DARK MODE
       ======================================================= */

/* 1. Hakkında Kapsülü */
body.dark-mode .upc-bio-badge {
    background: transparent !important;
    border: 1px solid rgba(163, 191, 250, 0.3) !important;
    color: #a3bffa !important;
    box-shadow: none !important;
}

/* 2. Biyografi Kutusu */
body.dark-mode .upc-bio-content {
    background: #2b2b2b !important;
    color: #e2e2e2 !important;
    border-color: #3d3d3d !important;
    border-style: solid !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

/* 3. İstatistik Kartları  */
body.dark-mode .card-join,
body.dark-mode .card-topic,
body.dark-mode .card-reply {
    border-style: solid !important;
    border-width: 1px !important;
    background: #2b2b2b !important;
    /* Koyu Mat Gri */
}

/* Katılım */
body.dark-mode .card-join {
    border-color: #3d3d3d !important;
}

body.dark-mode .card-join .stat-val {
    color: #e2e8f0 !important;
}

body.dark-mode .card-join .stat-lbl {
    color: #9ca3af !important;
}

/* Yorum (Artık Mavi Vurgulu) */
body.dark-mode .card-topic {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

body.dark-mode .card-topic .stat-val {
    color: #60a5fa !important;
}

body.dark-mode .card-topic .stat-lbl {
    color: #1d4ed8 !important;
}

/* Yanıt (Artık Turuncu Vurgulu) */
body.dark-mode .card-reply {
    border-color: rgba(249, 115, 22, 0.3) !important;
}

body.dark-mode .card-reply .stat-val {
    color: #fb923c !important;
}

body.dark-mode .card-reply .stat-lbl {
    color: #c2410c !important;
}

/* 4. Sosyal Medya (KESİK ÇİZGİ YOK) */
body.dark-mode .upc-social-btn {
    background: #2b2b2b !important;
    /* Premium Mat Gri */
    border: 1px solid #3d3d3d !important;
    /* Solid Çizgi */
    border-style: solid !important;
    color: #a1a1aa !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .upc-social-btn:hover {
    border-color: transparent !important;
    color: #fff !important;
}

body.dark-mode .btn-twitter:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

body.dark-mode .upc-no-social {
    background: #2b2b2b !important;
    border: 1px solid #3d3d3d !important;
    color: #a1a1aa !important;
}

/* 5. Pop-up Arka Planı (Bütünleşik Görünüm) */
body.dark-mode .user-popup-card {
    background: #2b2b2b !important;
    border-color: #3d3d3d !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .upc-avatar {
    background: #2b2b2b !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .upc-name {
    color: #ffffff !important;
}

body.dark-mode .upc-username {
    color: #a1a1aa !important;
}

body.dark-mode .upc-footer {
    border-top: 1px solid #3d3d3d !important;
    color: #94a3b8 !important;
}

/* =======================================================
        POP-UP ARKA PLANI
       ======================================================= */

/* 1. Ana Kart Arka Planı (Dark Mode) */
body.dark-mode .user-popup-card {
    background: #2b2b2b !important;
    /* Kutularla Aynı Mat Gri */
    border-color: #3d3d3d !important;
    /* İnce Gri Çerçeve */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6) !important;
    /* Daha derin gölge */
}

/* 2. Avatar Arkasındaki Yuvarlak (Dark Mode) */
/* Resmin arkası beyaz kalmasın, kartla bütünleşsin */
body.dark-mode .upc-avatar {
    background: #2b2b2b !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* 3. İsim ve Kullanıcı Adı Rengi (Garanti Olsun) */
body.dark-mode .upc-name {
    color: #ffffff !important;
}

body.dark-mode .upc-username {
    color: #a1a1aa !important;
    /* Hafif soluk gri */
}

/* 4. Footer Çizgisi (Dark Mode) */
body.dark-mode .upc-footer {
    border-top: 1px solid #3d3d3d !important;
    /* Kart rengiyle uyumlu çizgi */
    color: #94a3b8 !important;
}

/* Favori Modalını Genel Toast CSS'lerinden Kurtarma Operasyonu */

/* 1. İkonu Orijinal Boyutuna Döndür */
.fav-modal-override .swal2-icon {
    display: flex !important;
    width: 80px !important;
    /* Küçülmesini engelle */
    height: 80px !important;
    margin: 20px auto !important;
    /* Ortala */
}

/* 2. Başlığı ve Yazıları Serbest Bırak */
.fav-modal-title {
    display: block !important;
    font-size: 22px !important;
    /* Okunaklı büyük font */
    white-space: normal !important;
    /* Tek satıra zorlamayı iptal et */
    padding: 0 10px !important;
}

.fav-modal-text {
    display: block !important;
    font-size: 15px !important;
    margin-top: 10px !important;
    color: inherit !important;
}

/* 3. Kapsayıcıyı Normale Döndür (Yatay Sıralamayı Boz) */
.fav-modal-override {
    flex-direction: column !important;
    /* Alt alta dizilim */
    align-items: center !important;
    padding: 30px !important;
    width: 400px !important;
    /* Genişlik ver */
    border-radius: 20px !important;
}

/* --- KIDEM ROZETİ VE AKILLI TARİH PİLİ --- */

/* 1. Rozet İkonu (Renkli ve Parlak) */
.tenure-badge-icon {
    font-size: 26px;
    margin-bottom: 4px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* İkonun rengini JS veriyor, biz parlamasını verelim */
    filter: drop-shadow(0 0 8px rgba(var(--badge-color-rgb), 0.4));
}

.stat-card:hover .tenure-badge-icon {
    transform: scale(1.2) rotate(-10deg);
}

/* =======================================================
   KIDEM ROZETİ VE TARİH PİLİ
   ======================================================= */

@keyframes joinIconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    /* %15 büyüme */
    100% {
        transform: scale(1);
    }
}

/* 1. KAPSAYICI KART (Hover Tetikleyici) */
.card-join {
    position: relative !important;
    overflow: visible !important;
    cursor: help;
    z-index: 10;
    transition: transform 0.3s ease;
}

/* Kartın kendisine de hafif bir hover efekti (Opsiyonel) */
.card-join:hover {
    transform: translateY(-3px);
}

/* İKONU CANLANDIR */
.card-join .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: joinIconPulse 2.5s ease-in-out infinite;
    /* Biraz daha sakin bir tempo */
}

body.dark-mode .rank-date-pill {
    background: rgba(32, 32, 32, 0.95) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

body.dark-mode .rank-date-pill::before {
    border-color: transparent transparent rgba(32, 32, 32, 0.95) transparent !important;
}

/* 2. TARİH PİLİ (GİZLİ DURUM) */
.exact-date-pill {
    position: absolute;
    top: 105%;
    /* Kartın %115 altında başlasın */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    /* Hafif yukarıdan aşağı süzülerek gelsin */
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 99999 !important;
}

/* 3. MOUSE ÜZERİNE GELİNCE AÇIL*/
.card-join:hover .exact-date-pill {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* İkon ve Yazı Ayarları */
.exact-date-pill i {
    color: #ec4899 !important;
    /* Neon Pembe */
    font-size: 10px !important;
    margin-right: 3px !important;
    vertical-align: middle;
}

.exact-date-pill span {
    font-size: 9px !important;
    opacity: 0.8;
    vertical-align: middle;
}

/* Okçuk (Üçgen) */
.exact-date-pill::before {
    content: '';
    position: absolute;
    bottom: 100%;
    /* Balonun üstünde çıksın */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    /* Alt tarafı beyaz (balonla aynı renk) */
}

/* --- GECE MODU AYARLARI --- */
body.dark-mode .exact-date-pill {
    background: #2b2b2b !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tenure-badge-icon i,
.stat-icon {
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

body.dark-mode .exact-date-pill::before {
    border-color: transparent transparent #2b2b2b transparent !important;
}

/* Rütbe İsmi (Katılım'ın Altındaki Yazı) */
.rank-label {
    display: block;
    /* Alt satıra indirir */
    font-size: 10px;
    /* Küçük font */
    font-weight: 800;
    /* Kalın */
    margin-top: 2px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    /* Hepsi büyük harf olsun havalı durur */
    opacity: 0.9;
}

/* Sidebar'ın kaymasını engellemeden zıplamayı bitirir */
body.swal2-shown {
    padding-right: 0px !important;
    /* Sağa kaymayı engeller */
    overflow: visible !important;
    /* Sidebar JS'inin çalışması için ŞART */
}

html {
    scrollbar-gutter: stable;
    /* Scrollbar gitse bile yerini ayırır, sayfa titremez */
}

/* 3. Animasyon optimizasyonunu CSS ile en baştan mühürle (JS beklemez) */
[data-aos],
.wow,
.animated {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

@keyframes spinHourglass {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

.pop-anim-badge {
    animation: popBadge 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.fav-counter {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.favori-btn.is-active .fav-counter {
    background: #fff;
    color: #ff4757;
}

.btn-reaction:hover {
    transform: translateY(-5px);
    background: #fff;
    border-color: #4361ee;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.1);
}

.btn-reaction.voted {
    background: #eff6ff !important;
    border-color: #4361ee !important;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
    transform: scale(1.05);
}

.btn-reaction {
    transition: all 0.4s ease;
}

.btn-reaction:active {
    transform: scale(0.9);
}

.already-voted .btn-reaction {
    opacity: 0.7;
    cursor: default;
}

body.dark-mode .reaction-container {
    background-color: #27272a !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .reaction-container h6 {
    color: #e2e8f0 !important;
}

body.dark-mode .btn-reaction {
    background: #161618 !important;
    border: 1px solid #3f3f46 !important;
    color: #d1d1d6 !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.dark-mode .btn-reaction:hover {
    background: #2d2d30 !important;
    border-color: #4361ee !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .react-count {
    color: #cbd5e1 !important;
}

body.dark-mode .already-voted .btn-reaction {
    opacity: 0.5;
}

body.dark-mode .btn-reaction.voted {
    background: rgba(67, 97, 238, 0.15) !important;
    border-color: #4361ee !important;
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.3) !important;
}

body.dark-mode.swal2-shown,
html.dark-mode.swal2-shown {
    background-color: #121212 !important;
    min-height: 100vh !important;
    height: auto !important;
}

body.dark-mode .swal2-popup {
    background: #27272a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f4f4f5 !important;
}

body.dark-mode .swal2-title,
body.dark-mode .swal2-content,
body.dark-mode .swal2-html-container {
    color: #f4f4f5 !important;
}

html {
    scrollbar-gutter: stable;
}

/*ICERIK BITIS*/