/* Dashboard 特定样式 */
.dashboard-title {
    font-size: 3rem;
    margin: 30px 0;
    text-align: center;
    background: linear-gradient(45deg, #ffffff, #d4d4d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.wakatime-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wakatime-embed {
    margin-top: 30px;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.charts-container figure {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wakatime-embed figure h3 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.wakatime-embed figure p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.wakatime-embed figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.wakatime-embed embed {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.stats-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stats-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.stats-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.stats-card h3 i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.stats-card li i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.stats-card li:hover i {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.stats-card ul {
    list-style: none;
    padding: 0;
}

.stats-card li {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    position: relative;
}

.stats-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }

    .wakatime-embed {
        grid-template-columns: 1fr;
    }

    .wakatime-embed embed {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.8rem;
    }

    .nav {
        flex-direction: column;
        align-items: center;
    }

    .wakatime-section,
    .stats-section {
        padding: 15px;
    }
}