:root {
    --primary-color: #00a1d6;
    --secondary-color: #fb7299;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.description {
    opacity: 0.9;
    font-size: 1.1rem;
}

.stats-container {
    display: flex;
    padding: 30px;
    gap: 30px;
    flex-wrap: wrap;
}

.up-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.up-card:hover {
    transform: translateY(-5px);
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.up-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.up-id {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.follower-count {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--text-color);
}

.comparison-section {
    padding: 30px;
    background: #f8f9fa;
}

.comparison-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.trend {
    text-align: center;
    font-size: 1.3rem;
    margin: 25px 0;
    font-weight: 600;
}

.chart-container {
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: #f0f2f5;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.update-info {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    color: #666;
    background: #f0f2f5;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
    }

    h1 {
        font-size: 1.8rem;
    }

    .follower-count {
        font-size: 1.8rem;
    }
}
