:root {
    --main-bg: #1a1a1a;
    --card-bg: #262626;
    --accent: #ff4757;
}


.streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.streamer-card2 {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.streamer-card2:hover {
    transform: translateY(-5px);
}

.thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.streamer-card2:hover .thumbnail img {
    transform: scale(1.05);
}

.info {
    padding: 1.2rem;
    position: relative;
}

.stats {
    display: flex;
    gap: 1rem;
    margin: 0.8rem 0;
    color: #ccc;
}

.live-id {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9em;
}

.follow-btn {
    margin-top: -45px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    float: right;
    transition: transform 0.2s ease;
}

.follow-btn:hover {
    transform: scale(1.05);
}

/* 热度指示条 */
.heat-bar {
    height: 3px;
    background: rgba(255,255,255,0.1);
    margin-top: 1rem;
    position: relative;
}

.heat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 75%; /* 根据实际热度调整 */
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}