/* ===================================
   MOST READ SECTION
   Pure view count ranking (not time-weighted)
   =================================== */

.most-read-section {
    padding: 4rem 0;
    background: var(--bg-secondary, #0f1419);
}

.most-read-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.most-read-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.most-read-section .section-title i {
    color: var(--accent-primary, #00e5ff);
}

.most-read-section .section-subtitle {
    color: var(--text-muted, #8b9dc3);
    font-size: 1.1rem;
}

.most-read-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.most-read-card {
    position: relative;
    background: var(--card-bg, rgba(255, 255, 255, 0.03));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.most-read-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
    border-color: var(--accent-primary, #00e5ff);
}

.most-read-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.most-read-rank {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-number {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.hot-badge {
    font-size: 1.2rem;
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.most-read-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.most-read-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.most-read-card:hover .most-read-card-image img {
    transform: scale(1.1) rotate(2deg);
}

.most-read-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.most-read-card:hover .most-read-overlay {
    opacity: 0.4;
}

.most-read-views-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 229, 255, 0.9);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.most-read-card-content {
    padding: 1.5rem;
}

.most-read-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.most-read-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted, #8b9dc3);
    font-weight: 600;
}

.most-read-category i {
    color: var(--accent-primary, #00e5ff);
}

.most-read-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.most-read-card:hover .most-read-title {
    color: var(--accent-primary, #00e5ff);
}

.most-read-excerpt {
    color: var(--text-muted, #8b9dc3);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.most-read-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.most-read-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted, #8b9dc3);
    font-size: 0.85rem;
}

.most-read-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary, #00e5ff);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.most-read-card:hover .most-read-read-more {
    gap: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .most-read-section {
        padding: 2.5rem 0;
    }
    
    .most-read-section .section-title {
        font-size: 2rem;
    }
    
    .most-read-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
