* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    color: #fff;
    overflow-x: hidden;
}

.dashboard {
    min-height: 100vh;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.header h1 {
    font-size: 2.2em;
    background: linear-gradient(45deg, #FF6600, #FF9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.header-right {
    text-align: right;
}

.time {
    font-size: 1.4em;
    color: #FF6600;
    margin-bottom: 5px;
}

.update-info {
    font-size: 0.9em;
    color: #ccc;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-row, .bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.middle-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.additional-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 158, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(64, 158, 255, 0.2);
}

.chart-container h3 {
    margin-bottom: 15px;
    color: #FF6600;
    font-size: 1.1em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icon {
    font-size: 1.2em;
}

.chart {
    width: 100%;
    height: 280px;
}

.chart-container.large .chart {
    height: 350px;
}

.stats-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 40px 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 10px;
    margin: 8px 0;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.stat-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #FF6600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1em;
    color: #ccc;
}

.stat-trend {
    font-size: 0.9em;
    color: #67C23A;
    margin-top: 5px;
}

.refresh-btn {
    background: linear-gradient(45deg, #FF6600, #FF9900);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: linear-gradient(45deg, #FF9900, #FFCC00);
    transform: translateY(-2px);
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #FF6600;
    font-size: 1.1em;
}

#reviewWordCloud {
    background: rgba(255, 102, 0, 0.05);
    border-radius: 10px;
    position: relative;
}

#reviewWordCloud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 102, 0, 0.1) 100%);
    pointer-events: none;
}

@media (max-width: 1200px) {
    .top-row, .bottom-row, .additional-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .middle-row {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-row, .bottom-row, .additional-row {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.6em;
    }
    
    .stats-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
