@font-face {
    font-family: "STZhongsong";
    src: url("../fonts/STZhongsong.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --text-main: #333333;
    --text-muted: #888888;
    --accent-color: #6a7985;
}

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

body {
    font-family: "STZhongsong", "PingFang SC", "Microsoft YaHei", "Songti SC", serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../images/bg.jpg") no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header {
    margin: 50px 0 30px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    letter-spacing: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    padding: 20px 0 60px 0;
    position: relative;
    z-index: 1;
}

.audio-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.35);
}

.card-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
}

audio {
    width: 100%;
    outline: none;
    margin-top: auto;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(241, 243, 244, 0.8);
}

footer {
    text-align: center;
    padding: 32px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    header h1 { font-size: 1.8rem; letter-spacing: 4px; }
    .grid-container { grid-template-columns: 1fr; gap: 20px; }
}
