* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: url('../img/main-bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

#app {
    width: 100%;
    min-height: 100vh;
    padding: 10px;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    position: relative;
    min-height: 120px;
}

.header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 150px;
    background: url('../img/title-decoration.png') no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.header > * {
    position: relative;
    z-index: 1;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #ffffff;
}

.weather-icon-large {
    font-size: 45px;
    animation: weather-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.4));
}

@keyframes weather-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.weather-datetime {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-date {
    font-size: 16px;
    font-weight: normal;
    color: #ffffff;
}

.weather-week {
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
}

.weather-divider {
    font-size: 35px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 100;
    line-height: 1;
}

.weather-time-large {
    font-size: 25px;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}

.title h1 {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(180deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    letter-spacing: 4px;
}

.placeholder {
    width: 200px;
}

/* 主体容器 */
.main-container {
    display: grid;
    grid-template-columns: 380px 1fr 380px;
    gap: 20px;
    padding: 20px;
    margin-top: 10px;
}

/* 面板卡片通用样式 */
.panel-card {
    /* background: linear-gradient(135deg, rgba(13, 35, 80, 0.6) 0%, rgba(13, 35, 80, 0.4) 100%);
    border: 1px solid rgba(0, 162, 255, 0.3); */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.panel-title {
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    padding-left: 20px;
    background: url('../img/lanmu.png') no-repeat left center;
    background-size: 424px 21px;
    border: none;
    font-weight: bold;
    font-style: italic;
    transform: skewX(-1deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    height: 21px;
    line-height: 21px;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

/* 左侧面板 */
.left-panel {
    display: flex;
    flex-direction: column;
}

/* 注册图表 */
.register-chart {
    height: 280px;
}

/* 特质列表 */
.traits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trait-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trait-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.trait-name {
    width: 80px;
    font-size: 14px;
    color: #fff;
}

.trait-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.trait-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.trait-value {
    width: 40px;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    color: #00d4ff;
}

/* 成就图表 */
.achievement-chart {
    height: 250px;
}

/* 中间面板 */
.center-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 性别统计 */
.gender-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 35, 80, 0.6) 0%, rgba(13, 35, 80, 0.4) 100%);
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: 10px;
}

.stat-box {
    text-align: center;
}

.stat-label {
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.flip-numbers {
    display: flex;
    gap: 8px;
}

.flip-number {
    display: inline-block;
    width: 45px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2340 100%);
    border: 2px solid #00a2ff;
    border-radius: 8px;
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.5), inset 0 0 10px rgba(0, 162, 255, 0.2);
    animation: flipAnimation 0.6s ease;
}

@keyframes flipAnimation {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

.center-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 100%;
    height: 100%;
    background: url('../img/center-logo.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(0, 212, 255, 1)); }
}

/* 行业分布 */
.industry-distribution {
    position: relative;
    height: 500px;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-distribution::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 650px;
    background: url('../img/industry-center-decoration.png') no-repeat center;
    background-size: contain;
    z-index: 0;
}

.industry-center-text {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.industry-center-text span {
    font-size: 20px;
    font-weight: bold;
    color: white;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.industry-labels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.industry-label {
    position: absolute;
}

.industry-label-top {
    top: 15%;
    left: 15%;
}

.industry-label-right-top {
    top: 15%;
    right: 15%;
}

.industry-label-right-bottom {
    bottom: 15%;
    right: 20%;
}

.industry-label-bottom {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.industry-label-left {
    top: 45%;
    left: 10%;
}

.industry-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: url('../img/industry-circle.png') no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.5);
    position: relative;
}

.percentage {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
}

.industry-name {
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}

/* 用户卡片 */
.user-cards {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.user-cards-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    animation: scrollLeft 1s ease-in-out;
}

@keyframes scrollLeft {
    from {
        transform: translateX(100px);
        opacity: 0.5;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.user-card {
    background: linear-gradient(135deg, rgba(13, 35, 80, 0.8) 0%, rgba(13, 35, 80, 0.6) 100%);
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 162, 255, 0.4);
}

/* Vue transition 动画 */
.slide-enter-active {
    transition: all 0.8s ease;
}

.slide-leave-active {
    transition: all 0.8s ease;
    position: absolute;
}

.slide-enter-from {
    transform: translateX(100%);
    opacity: 0;
}

.slide-leave-to {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-move {
    transition: transform 0.8s ease;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00a2ff;
    margin-bottom: 10px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-info {
    width: 100%;
}

.user-name-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.user-badge {
    font-size: 12px;
    padding: 2px 8px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 10px;
    color: #fff;
}

.user-details {
    font-size: 12px;
    color: #a0d4ff;
    line-height: 1.8;
}

.user-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-icon {
    font-size: 14px;
}

/* 右侧面板 */
.right-panel {
    display: flex;
    flex-direction: column;
}

/* 年龄图表 */
.age-chart {
    height: 250px;
}

/* 匹配统计 */
/* 匹配统计 */
.match-stats {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.match-circle-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.match-circle-bg {
    width: 260px;
    height: 260px;
    background: url('../img/match-circle-bg.png') no-repeat center;
    background-size: contain;
    /* border-radius: 50%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* box-shadow: 0 0 60px rgba(0, 162, 255, 0.6), 0 0 100px rgba(0, 162, 255, 0.3); */
    
}

.match-rate-ring {
    width: 150px;
    height: 150px;
    background: url(../img/match-rate-ring.png) no-repeat center;
    background-size: contain;
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 80px;
}

.match-rate-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.rate-number {
    font-size: 28px;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.rate-percent {
    font-size: 18px;
    font-weight: normal;
    color: #00d4ff;
}

.match-label {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: #ffffff;
    background: rgba(0, 162, 255, 0.3);
    padding: 6px 16px;
    border-radius: 15px;
    border: 1px solid rgba(0, 162, 255, 0.5);
}

.match-info {
    text-align: center;
}

.match-total-section {
    margin-bottom: 20px;
}

.total-label {
    font-size: 14px;
    color: #a0d4ff;
    display: block;
    margin-bottom: 8px;
}

.total-value {
    font-size: 42px;
    font-weight: bold;
    color: #00d4ff;
    display: block;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.unit {
    font-size: 28px;
}

.match-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: rgba(0, 162, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid #00a2ff;
}

.detail-label {
    font-size: 13px;
    color: #a0d4ff;
}

.detail-value {
    font-size: 14px;
    font-weight: bold;
    color: #ffb74d;
}

/* 排名列表 */
.ranking-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.ranking-list::-webkit-scrollbar {
    width: 6px;
}

.ranking-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.ranking-list::-webkit-scrollbar-thumb {
    background: #00a2ff;
    border-radius: 3px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgba(0, 162, 255, 0.1) 0%, rgba(0, 162, 255, 0.05) 100%);
    border-left: 3px solid #00a2ff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: linear-gradient(90deg, rgba(0, 162, 255, 0.2) 0%, rgba(0, 162, 255, 0.1) 100%);
    transform: translateX(5px);
}

.rank {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    background: #1a3a5c;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.rank-1, .rank-2, .rank-3 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.rank-name {
    flex: 1;
    font-size: 14px;
    color: #fff;
}

.rank-value {
    font-size: 16px;
    font-weight: bold;
    color: #00d4ff;
}

.rank-unit {
    font-size: 12px;
    margin-left: 2px;
}

.rank-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(255, 183, 77, 0.3);
    border-radius: 10px;
    color: #ffb74d;
}

/* 响应式调整 */
@media (max-width: 1600px) {
    .main-container {
        grid-template-columns: 350px 1fr 350px;
    }
    
    .title h1 {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .user-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

