/*POPULER.CSS*/
/* 1. ORTAK CONTAINER */
.populer-yazilar-container {
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 20px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    margin-top: 40px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100% !important;
}

/* 2. BAŞLIK STİLLERİ */
.widget-header-v3 {
    margin-bottom: 20px;
}

.header-main-row-v3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.icon-box-fire {
    width: 38px;
    height: 38px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glow-fire {
    color: #ff4757 !important;
    filter: drop-shadow(0 0 5px rgba(255, 71, 87, 0.4));
    font-size: 1.1rem;
    z-index: 2;
}

.fire-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ff4757;
    border-radius: 12px;
    opacity: 0.15;
    animation: fire-pulse 2s infinite;
    z-index: 1;
}

.modern-title-text-v3 {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #1e293b !important;
    margin: 0 !important;
    transition: color 0.3s;
}

.modern-subtitle-text-v3 {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.modern-progress-bar-v3 {
    width: 60px;
    height: 4px;
    margin-left: 55px;
    background: transparent !important;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-v3 {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #7209b7, #ff4757);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: neon-akisi 3s linear infinite;
}

/* 3. HERO KART */
.pop-hero-card {
    display: block;
    position: relative;
    margin-bottom: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
}

.pop-hero-image-wrap {
    position: relative;
    width: 100%;
    height: 190px;
}

.pop-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pop-hero-card:hover .pop-hero-img {
    transform: scale(1.1);
}

.hero-eye-overlay {
    position: absolute;
    inset: 0;
    background: rgba(114, 9, 183, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
    z-index: 3;
}

.pop-hero-card:hover .hero-eye-overlay {
    opacity: 1;
}

.hero-eye-overlay i {
    font-size: 3rem;
    color: #fff;
    transform: scale(0.5);
    transition: 0.4s;
}

.pop-hero-card:hover .hero-eye-overlay i {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 5;
}

.hero-cat-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.hero-meta i {
    color: #FFD700;
    margin-right: 4px;
}

/* 4. HERO AYIRACI */
.pop-list-divider {
    height: 0;
    border-top: 2px dashed #cbd5e1;
    /* #cbd5e1 = Belirgin Gri (Day Mode) */
    margin: 15px 10px 20px 10px;
    opacity: 0.8;
}

/* 5. LİSTE KARTLARI */
.pop-card-v2 {
    display: block;
    text-decoration: none !important;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pop-card-inner {
    display: flex;
    align-items: center;
    padding: 8px;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    transition: background 0.3s, border 0.3s, box-shadow 0.3s;
}

.pop-card-v2:hover {
    transform: translateX(5px);
}

.pop-card-v2:hover .pop-card-inner {
    background: #ffffff;
    border-color: #7209b720;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.pop-img-container {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.pop-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: 0.4s;
}

.pop-card-v2:hover .pop-img-v2 {
    transform: scale(1.1);
}

.img-purple-overlay {
    position: absolute;
    inset: 0;
    background: rgba(114, 9, 183, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: #fff;
    z-index: 4;
}

.pop-card-v2:hover .img-purple-overlay {
    opacity: 1;
}

.pop-content-side-v2 {
    padding-left: 10px;
    flex-grow: 1;
    min-width: 0;
}

.pop-category-mini-v2 {
    font-size: 9px !important;
    font-weight: 850 !important;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: transform 0.3s;
    width: fit-content;
}

.pop-category-mini-v2:hover {
    transform: scale(1.15) translateX(3px);
}

.pop-title-v2 {
    font-size: clamp(0.68rem, 1.2vw, 0.78rem) !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    margin: 4px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 2.4em !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.3s;
}

.pop-stats-row-v2 {
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: 700;
    transition: color 0.3s;
    display: flex;
    gap: 8px;
}

.pop-stat-fire-v2 i {
    color: #ff4757 !important;
}

.pop-stat-time-v2 i {
    color: #ff4d94 !important;
}

.pop-stat-sep-v2 {
    color: #cbd5e1;
}

.pop-rank-badge-v3 {
    position: absolute;
    top: 0;
    left: 0;
    background: #7209b7;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 0;
    z-index: 5;
}

.pop-rank-badge-v3.rank-2 {
    background: linear-gradient(135deg, #E0E0E0, #BDBDBD) !important;
    color: #333 !important;
}

.pop-rank-badge-v3.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D) !important;
}

/* 6. SOSYAL MEDYA */
.widget-header-v2 {
    margin-bottom: 15px;
    position: relative;
}

.header-main-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.icon-box-modern {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(114, 9, 183, 0.15);
    box-shadow: inset 0 0 10px rgba(114, 9, 183, 0.05), 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.icon-box-modern i {
    background: linear-gradient(45deg, #7209b7, #4361ee, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem !important;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(114, 9, 183, 0.2));
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 2px solid #7209b7;
    opacity: 0;
    animation: premium-pulse 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

.widget-header-v2:hover .icon-box-modern {
    transform: rotate(5deg) scale(1.05);
    border-color: rgba(114, 9, 183, 0.4);
    box-shadow: 0 0 20px rgba(114, 9, 183, 0.15);
}

.title-text-group {
    display: flex;
    flex-direction: column;
}

.modern-title-text {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #1e293b !important;
    margin: 0 !important;
    transition: color 0.3s;
}

.modern-subtitle-text {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.modern-progress-bar {
    width: 60px;
    height: 4px;
    background: transparent !important;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 55px;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #7209b7, #ff4757);
    background-size: 200% 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.4);
    animation: neon-akisi 3s linear infinite;
}

.social-embedded-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.social-grid-item {
    text-decoration: none !important;
    min-width: 0;
}

.item-content {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #f1f5f9 !important;
    gap: 8px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden !important;
}

.item-content i {
    font-size: 0.95rem !important;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.3s;
}

.fb i {
    color: #1877f2 !important;
}

.tw i {
    color: #000000 !important;
}

.ig i {
    color: #e4405f !important;
}

.yt i {
    color: #ff0000 !important;
}

.item-content span {
    font-size: 0.65rem !important;
    font-weight: 850 !important;
    color: #475569 !important;
    text-transform: uppercase;
    letter-spacing: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.social-grid-item:hover .item-content {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05) !important;
}

.social-grid-item.fb:hover .item-content {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
}

.social-grid-item.tw:hover .item-content {
    background: #000000 !important;
    border-color: #000000 !important;
}

.social-grid-item.ig:hover .item-content {
    background: linear-gradient(45deg, #f09433, #bc1888) !important;
    border-color: #bc1888 !important;
}

.social-grid-item.yt:hover .item-content {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

.social-grid-item:hover .item-content i,
.social-grid-item:hover .item-content span {
    color: #ffffff !important;
}

/* 7. DARK MODE UYUMU */
body.dark-mode .populer-yazilar-container {
    background: #27272a !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .modern-title-text-v3,
body.dark-mode .modern-title-text {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

body.dark-mode .modern-subtitle-text-v3,
body.dark-mode .modern-subtitle-text {
    color: #64748b !important;
}

body.dark-mode .pop-hero-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

/* DARK MODE ÇİZGİ RENGİ */
body.dark-mode .pop-list-divider {
    border-color: rgba(255, 255, 255, 0.15) !important;
    opacity: 0.5;
}

body.dark-mode .pop-card-inner {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .pop-card-v2:hover .pop-card-inner {
    background: #3f3f46 !important;
    border-color: rgba(114, 9, 183, 0.4) !important;
    box-shadow: 0 22px 45px -12px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .pop-title-v2 {
    color: #f1f5f9 !important;
}

body.dark-mode .pop-stats-row-v2 {
    color: #94a3b8 !important;
}

body.dark-mode .pop-stat-sep-v2 {
    color: #475569 !important;
}

body.dark-mode .pop-img-container {
    background: #18181b !important;
}

body.dark-mode .item-content {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .item-content span {
    color: #f1f5f9 !important;
}

body.dark-mode .social-grid-item:hover .item-content {
    box-shadow: 0 22px 45px -12px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .tw i {
    color: #ffffff !important;
}

@media (max-width: 991px) {

    /* İkinci kutu (Sosyal Medya) yukarıdakine daha yakın olsun */
    .populer-yazilar-container+.populer-yazilar-container {
        margin-top: 25px !important;
        /* Normalde 40px, mobilde 25px yaptık */
    }
}

/*POPULER.CSS BITIS*/