@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

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

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: hidden
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05)
}

header h1 {
    font-size: 20px;
    color: #111;
    font-weight: 700
}

nav a {
    color: #444;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s
}

nav a:hover {
    color: #0077ff
}

main {
    margin-top: 120px;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px
}

.intro {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease forwards
}

.intro h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #111
}

.intro p {
    color: #555;
    max-width: 600px;
    margin: 0 auto 20px
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px
}

.card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer
}

.card:hover {
    transform: translateY(-5px)
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover
}

.card h3 {
    padding: 16px 12px;
    font-size: 18px;
    color: #111
}

.card p {
    padding: 0 12px 16px;
    color: #555;
    font-size: 14px
}

footer {
    margin-top: auto;
    padding: 20px;
    color: #666;
    font-size: 14px
}

audio {
    margin-top: 20px;
    width: 80%;
    border-radius: 10px
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:600px) {
    header {
        flex-direction: column;
        gap: 6px
    }

    .intro {
        padding: 24px
    }

    .intro h2 {
        font-size: 22px
    }
}