/* 用户信息卡片 */
.user-card {
    margin: 60px 16px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
    margin-right: 16px;
}

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

.user-info {
    flex: 1;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-class {
    font-size: 14px;
    opacity: 0.9;
}

.user-points {
    text-align: center;
}

.points-value {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 4px;
}

.points-label {
    font-size: 12px;
    opacity: 0.9;
}

/* 快速入口 */
.quick-actions {
    margin: 0 16px 16px;
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.action-item:active {
    transform: scale(0.95);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.action-item:nth-child(2) .action-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.action-item:nth-child(3) .action-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.action-item:nth-child(4) .action-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.action-item:nth-child(5) .action-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.action-text {
    font-size: 12px;
    color: #666;
}

/* 最近获得的卡片 */
.recent-cards {
    margin: 0 16px 16px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cards-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.card-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-item:active {
    transform: scale(0.95);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.card-name {
    font-size: 12px;
    text-align: center;
}

.card-points {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 4px;
}

.cards-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

/* 维度分析 */
.dimension-analysis {
    margin: 0 16px 16px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dimension-chart {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dimension-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dimension-item {
    display: flex;
    align-items: center;
}

.dimension-label {
    width: 80px;
    font-size: 14px;
    color: #666;
}

.dimension-bar {
    flex: 1;
    height: 24px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.dimension-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.dimension-value {
    font-size: 12px;
    color: white;
    font-weight: 600;
}

/* 卡片颜色变化 */
.card-item:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-item:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-item:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.card-item:nth-child(6) {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}
