/* skin/css/index.css */

/* Banner */
.main-swiper {
    margin: 15px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md); /* 柔和投影 */
}
.main-swiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 18px;
    border-radius: 4px;
}

/* Card List */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.list-card {
    display: flex;
    align-items: center;
    background: var(--bg-card); /* 纯白 */
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    border: 1px solid transparent;
}
.list-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.list-card img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.list-card .info {
    flex: 1;
}
.list-card .info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}
.list-card .info p {
    font-size: 12px;
    color: var(--text-sub);
}

.list-card .btn-area span {
    display: block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Rank Strip (Home version) */
.rank-container {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 0 10px;
}
.rank-strip {
    display: flex;
    align-items: center;
    padding: 14px 5px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}
.rank-strip:last-child { border-bottom: none; }

.r-num {
    width: 24px;
    text-align: center;
    margin-right: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #cbd5e1; /* 浅灰数字 */
}
/* 前三名变色 */
.r-num.top {
    color: var(--primary-color);
    font-size: 18px;
}

.r-name { flex: 1; font-size: 14px; color: var(--text-main); font-weight: 500; }
.r-hot { font-size: 12px; color: var(--text-sub); }

@media (min-width: 768px) {
    .card-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}