/* ============ Lists Layout ============ */
.lists-section {
    padding: 60px 0;
}

.lists-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ============ Sidebar ============ */
.sidebar {
    position: sticky;
    top: 200px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 0, 102, 0.2);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 102, 0.2);
    position: relative;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 5px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-gray);
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
    background: rgba(255, 0, 102, 0.1);
    color: var(--neon-pink);
}

.category-list a .count {
    background: rgba(255, 0, 102, 0.2);
    color: var(--neon-pink);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* ============ Search Box ============ */
.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--neon-pink);
}

.search-box button {
    padding: 10px 15px;
    background: var(--neon-pink);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--neon-purple);
}

/* ============ Hot News ============ */
.hot-list {
    list-style: none;
}

.hot-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
    transition: var(--transition);
}

.hot-list a:hover {
    color: var(--neon-pink);
}

.hot-list .rank {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.hot-list li:nth-child(1) .rank {
    background: var(--neon-pink);
    color: var(--text-white);
}

.hot-list li:nth-child(2) .rank {
    background: var(--neon-orange, #ff6600);
    color: var(--text-white);
}

.hot-list li:nth-child(3) .rank {
    background: var(--neon-blue);
    color: var(--text-white);
}

/* ============ News List ============ */
.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 0, 102, 0.2);
}

.news-list-header h2 {
    font-size: 24px;
    color: var(--text-white);
}

.news-list-header h2 .highlight {
    color: var(--neon-pink);
}

.news-count {
    color: var(--text-gray);
    font-size: 14px;
}

.news-count strong {
    color: var(--neon-pink);
}

.news-list {
    list-style: none;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover .news-title {
    color: var(--neon-pink);
}

.news-thumb {
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 102, 0.2);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.news-meta i {
    margin-right: 5px;
    color: var(--neon-pink);
}

.news-title {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.news-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 0, 102, 0.1);
    color: var(--neon-pink);
    font-size: 12px;
    border-radius: 4px;
    margin-right: 10px;
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 102, 0.2);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--neon-pink);
    color: var(--text-white);
    border-color: var(--neon-pink);
}

.pagination .current {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: var(--text-white);
    border-color: var(--neon-pink);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .lists-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-thumb {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .news-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-title {
        font-size: 16px;
    }
}
