/* skin/css/index.css */

.main-swiper {
    margin: 20px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card); /* 轮播图阴影 */
}
.main-swiper img {
    width: 100%;
    height: auto;
}
/* 分页器改为圆点 */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}
.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
    width: 20px;
    border-radius: 5px;
}

/* Card List */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.list-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card); /* DNA: 投影 */
    position: relative;
    overflow: hidden;
}

.list-card img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.list-card .info {
    flex: 1;
}
.list-card .info h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.list-card .info p {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 5px;
}

.list-card .tags {
    display: flex;
    gap: 5px;
}
.list-card .tags span {
    font-size: 10px;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.list-card .btn-area {
    background: linear-gradient(135deg, var(--primary-color), #ff8e8e);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: var(--shadow-btn);
}

/* Rank Box (Modern Style) */
.rank-box {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 10px 20px;
}
.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}
.rank-item:last-child { border-bottom: none; }

.rank-num {
    width: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #b2bec3;
    margin-right: 15px;
    text-align: center;
}
.rank-num.c-1 { color: #ff7675; font-size: 20px; }
.rank-num.c-2 { color: #fab1a0; font-size: 18px; }
.rank-num.c-3 { color: #ffeaa7; font-size: 18px; }

.rank-item img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 12px;
}
.rank-item .name { flex: 1; font-weight: 500; font-size: 14px; }
.rank-item .hot { font-size: 12px; color: #fab1a0; }

@media (min-width: 768px) {
    .card-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}