body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.module {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #6e8efb;
    border-bottom: 2px solid #a777e3;
    padding-bottom: 10px;
}

.music-player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

audio {
    width: 100%;
    margin-top: 15px;
}

.game-container {
    text-align: center;
}

canvas {
    background-color: #e8f4ff;
    border-radius: 10px;
    cursor: pointer;
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #a777e3;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: breathe 6s infinite ease-in-out;
}

@keyframes breathe {
    0% { 
        transform: scale(1); 
        background-color: #a777e3;
    }
    50% { 
        transform: scale(1.2); 
        background-color: #6e8efb;
    }
    100% { 
        transform: scale(1); 
        background-color: #a777e3;
    }
}

.controls {
    text-align: center;
    margin-top: 20px;
}

button {
    background-color: #6e8efb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5a7df4;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .breathing-circle {
        width: 150px;
        height: 150px;
        font-size: 18px;
    }
    
    canvas {
        width: 100%;
    }
}