/*AKIS.CSS*/
/* 1. KÖK DEĞİŞKENLER (DİĞER SAYFALARLA AYNI) */
:root {
    --main-grad: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    --pink-clock: #ff4d94;
    --soft-bg: #f8fafc;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.flow-main-wrapper :not(i) {
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.015em !important;
}

/* 2. ANA YAPI */
.flow-main-wrapper {
    padding: 0 5px;
    font-family: 'Inter', sans-serif;
    min-height: 80vh;
}

/* REVEAL ANİMASYONU */
.reveal-flow {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 3. HEADER (YAYIN AKIŞINA ÖZEL TASARIM KORUNDU) */
.flow-header-clean {
    margin-bottom: 25px;
}

.flow-main-title {
    font-size: 1.3rem;
    /* MEVCUT BOYUT KORUNDU */
    font-weight: 900;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-icon-bolt {
    color: #ffca28;
    filter: drop-shadow(0 0 8px rgba(255, 202, 40, 0.4));
}

.flow-header-grad-line {
    width: 60px;
    height: 4px;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #7209b7, #4361ee, #f72585, #7209b7);
    background-size: 300% 100%;
    animation: gradientMoveLine 3s linear infinite;
}

@keyframes gradientMoveLine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* 4. KART YAPISI (MEVCUT 165px YATAY YAPI KORUNDU) */
.flow-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-flow-card {
    background: #fff;
    border-radius: 18px;
    display: flex;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    position: relative;
    height: 165px;
    /* SABİT YÜKSEKLİK KORUNDU */
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
}

.modern-flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.15);
    border-color: #4361ee;
}

/* RESİM ALANI */
.flow-img-wrapper {
    width: 220px;
    min-width: 220px;
    /* MEVCUT GENİŞLİK KORUNDU */
    position: relative;
    overflow: hidden;
}

.flow-post-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: 0.6s ease;
}

.modern-flow-card:hover .flow-post-img {
    transform: scale(1.1);
}

/* OVERLAY VE GÖZ */
.flow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.modern-flow-card:hover .flow-overlay {
    opacity: 1;
}

.eye-circle-animated {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4361ee;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.5);
    transform: scale(0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-flow-card:hover .eye-circle-animated {
    transform: scale(1);
    animation: eyePulse 1.5s infinite;
}

@keyframes eyePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ALEV ROZETİ (DARK MODE UYUMLU YAPILDI) */
.flow-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.flow-icon-fire {
    color: #ff4d4d;
}

/* 5. İÇERİK VE META (AYRAÇ VE BÜYÜME EKLENDİ) */
.flow-content-side {
    padding: 12px 18px;
    /* MEVCUT PADDING KORUNDU */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.flow-meta {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* KATEGORİ HAPI (BÜYÜME EFEKTİ EKLENDİ) */
.animated-meta-cat {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background-color: var(--dyn-color, #f1f5f9);
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 50px;
    /* HAP */
    font-size: 9px;
    font-weight: 800;
    /* MEVCUT BOYUT */
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animated-meta-cat:hover {
    transform: scale(1.15);
    /* BÜYÜME */
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.animated-meta-cat i {
    font-size: 10px;
    color: #fff !important;
}

/* YENİ AYRAÇ */
.meta-separator-line {
    width: 1px;
    height: 12px;
    background-color: #cbd5e1;
    margin: 0 10px;
    display: inline-block;
}

/* ZAMAN KUTUSU (MEVCUT KUTU YAPISI KORUNDU) */
.meta-date {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

.flow-icon-clock {
    color: #ff4d94 !important;
    filter: drop-shadow(0 2px 4px rgba(255, 77, 148, 0.2)) !important;
}

/* BAŞLIK (MEVCUT BOYUT) */
.flow-post-title {
    font-size: 1.1rem;
    font-weight: 850;
    line-height: 1.3;
    margin: 0;
}

.flow-post-title a {
    color: #1e293b;
    text-decoration: none;
    transition: 0.3s;
}

.flow-post-title a:hover {
    color: #4361ee;
}

/* 6. FOOTER VE ADMIN (RGB HALKA EKLENDİ) */
.flow-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.flow-user {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* RGB ÇERÇEVE */
.admin-avatar-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.admin-avatar-wrapper::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4361ee, #f72585, #4cc9f0, #4361ee);
    animation: spinBorder 4s linear infinite;
    z-index: -1;
}

@keyframes spinBorder {
    from {
        transform: rotate(0deg);
    }

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

/* 🟢 ONLINE NOKTASI (RGB ÜSTÜNE) */
.admin-avatar-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: #22c55e;
    /* Canlı Yeşil */
    border: 1.5px solid #fff;
    /* Çerçeveden ayrışması için beyaz kenarlık */
    border-radius: 50%;
    z-index: 5;
    /* RGB çerçevenin üstünde kalması için */
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
    animation: onlinePulse 2s infinite;
}

/* Gece modunda beyaz kenarlığı koyulaştır */
html.dark-mode .admin-avatar-wrapper::after {
    border-color: #1e293b;
}

@keyframes onlinePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }

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

.admin-avatar-box {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid #fff;
}

.user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-text {
    font-size: 9px;
    font-weight: 900;
    color: #475569;
    letter-spacing: 0.3px;
}

/* Buton */
.flow-read-more {
    background: #f8fafc;
    color: #4361ee;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 9px;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.flow-read-more:hover {
    background: #4361ee;
    color: #fff;
    border-color: #4361ee;
}

/* 7. SAYFALAMA (WIN11 STİLİ AMA KÜÇÜK BOYUT) */
.modern-pagination-container {
    margin: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination-wrapper,
.pagination-wrapper ul {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper a,
.pagination-wrapper strong,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: #fff;
    color: #4361ee;
    font-weight: 850;
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pagination-wrapper strong,
.pagination-wrapper li.active a {
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%);
    color: #fff;
    border-color: transparent;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.25);
    z-index: 2;
}

.pagination-wrapper a:hover {
    transform: translateY(-5px);
    color: #7209b7;
    border-color: #7209b7;
}

/* 5. DARK MODE */
body.dark-mode .modern-flow-card {
    background: #27272a !important;
    /* Header ve Mobil Menü Rengi */
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
    border-bottom: 3px solid transparent;
}

body.dark-mode .modern-flow-card:hover {
    background: #3f3f46 !important;
    /* Hover'da hafif açılma */
    border-bottom: 3px solid #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 22px 45px -12px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .flow-post-title a {
    color: #fff !important;
}

/* Meta Alanı Dark Mode */
body.dark-mode .meta-date {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .meta-separator-line {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer Dark Mode */
body.dark-mode .flow-footer {
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .admin-text {
    color: #cbd5e1;
}

body.dark-mode .flow-read-more {
    background: transparent;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .flow-read-more:hover {
    background: #4361ee;
    border-color: #4361ee;
    color: #fff;
}

body.dark-mode .flow-badge {
    background: rgba(30, 41, 59, 0.95);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* MOBİL */
@media (max-width: 768px) {
    .modern-flow-card {
        flex-direction: column;
        height: auto;
    }

    .flow-img-wrapper {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }

    .flow-content-side {
        padding: 15px;
    }
}

/* 1. Kapsayıcı ve Genel Dizilim */
.modern-pagination,
.modern-pagination ul {
    margin: 10px 0 40px 0 !important;
    /* Kartlara yakın (10px) */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    gap: 5px !important;
    width: 100% !important;
    flex-wrap: wrap !important;
}

.modern-pagination li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Butonların Temel Hali  */
.modern-pagination a,
.modern-pagination strong,
.modern-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 50px !important;
    min-width: 50px !important;

    background: #ffffff !important;
    color: #4361ee !important;
    font-weight: 850 !important;
    font-size: 15px !important;

    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03) !important;

    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 3. Önceki/Sonraki Butonları */
.modern-pagination a[rel="next"],
.modern-pagination a[rel="prev"] {
    width: auto !important;
    padding: 0 25px !important;
}

/* 4. Aktif Sayfa */
.modern-pagination strong,
.modern-pagination .active span,
.modern-pagination li.active a {
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: scale(1.1) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.25) !important;
    z-index: 2 !important;
}

/* 5. Hover Efekti */
.modern-pagination a:hover {
    transform: translateY(-5px) !important;
    color: #7209b7 !important;
    border-color: #7209b7 !important;
    box-shadow: 0 15px 25px rgba(114, 9, 183, 0.12) !important;
}

/* 6. DARK MODE */
body.dark-mode .modern-pagination a,
body.dark-mode .modern-pagination span {
    /* Header.php'deki navbar rengiyle aynı */
    background: #27272a !important;

    /* İnce silik çerçeve */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;

    /* Premium Gri Yazı */
    color: #94a3b8 !important;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Dark Mode Hover */
body.dark-mode .modern-pagination a:hover {
    background: #3f3f46 !important;
    /* Üstüne gelince bir tık açılır */
    border-color: #64748b !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

/* ============================================================ */
/* GECE MODU: SADECE AKTİF GRADYAN VE NEON EFEKT  */
/* ============================================================ */

/* 1. Gece Modunda Aktif (Mevcut) Buton: Mavi-Mor Gradyan Mührü */
body.dark-mode .modern-pagination strong,
body.dark-mode .modern-pagination .active span,
body.dark-mode .modern-pagination li.active a {
    background: linear-gradient(135deg, #7209b7 0%, #4361ee 100%) !important;
    color: #ffffff !important;
    border: none !important;
    /* Gradyan varken çerçeveye gerek yok */
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.5) !important;
    transform: scale(1.1) translateY(-3px) !important;
}

/* 2. Gece Modunda Pasif Butonlar: Sadece Alt Neon Işık (Hover) */
body.dark-mode .modern-pagination a:not(.active):hover {
    /* Çerçeve rengine dokunmuyoruz (mevcut neyse o kalır) */
    color: #ffffff !important;

    box-shadow: 0 12px 25px -8px rgba(114, 9, 183, 0.9) !important;

    /* Hafif yukarı zıplama efekti */
    transform: translateY(-8px) !important;
}

/*AKIS.CSS BITIS*/