:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --secondary: #00b894;
    --accent: #fd79a8;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 用户卡片 */
.user-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.user-status {
    font-size: 0.8rem;
    color: var(--text-light);
    position: relative;
    padding-left: 12px;
}

.user-status::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary);
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
}

.stat-content h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
}

/* 领奖台样式 */
.podium {
    padding-top: 10px;
}

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 80px;
    margin-bottom: 10px;
}

.podium-place {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px 5px 0 0;
}

.first {
    height: 70px;
    background: linear-gradient(to bottom, #ffd700, #ffc107);
    margin: 0 5px;
}

.second {
    height: 50px;
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
}

.third {
    height: 30px;
    background: linear-gradient(to bottom, #cd7f32, #a67c52);
}

/* 游戏区域 */
.games-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.game-card {
    height: 120px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.game-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    z-index: 2;
}

.game-card h2 {
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 2;
}

.multiplayer {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.singleplayer {
    background: linear-gradient(135deg, #00b894, #55efc4);
}

/* 内容区域 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.content-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 120px;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--primary);
}

.content-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.content-card h2 {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .games-section {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
}