:root {
    /* 继承主题变量 */
    --primary-pink: #ff69b4;
    --primary-lightpink: #ffb6c1;
    --gradient-1: linear-gradient(135deg, #ff69b4 0%, #ffb6c1 100%);
    --gradient-2: linear-gradient(45deg, rgba(255,105,180,0.2) 0%, rgba(255,182,193,0.2) 100%);
    
    --text-primary: #5a2a3a;
    --text-secondary: #8b4d5e;
    
    --bg-primary: #fff0f5;
    --bg-secondary: #ffe4e9;
    --bg-overlay: rgba(255, 240, 245, 0.95);
}

.media-main {
    padding: 100px 5% 50px;
    background-color: var(--bg-primary);
}

.media-main h1 {
    text-align: center;
    color: var(--primary-pink);
    margin: 30px 0;
    font-size: 2.5rem;
}

/* 音乐区域样式 */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.music-card {
    background: var(--bg-overlay);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.1);
    transition: transform 0.3s ease;
}

.music-card:hover {
    transform: translateY(-5px);
}

.music-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.music-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 1.5rem;
    color: var(--primary-pink);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-card:hover .play-btn,
.video-card:hover .play-btn {
    opacity: 1;
}

.music-info {
    padding: 15px;
}

.music-info h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.music-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 视频区域样式 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.video-card {
    background: var(--bg-overlay);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.video-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 视频弹窗样式 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
}

.modal-content video {
    width: 100%;
    display: block;
}

/* 音乐专区样式 */
.music-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 音乐播放器部分 */
.music-player {
    background: var(--bg-overlay);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.1);
}

.player-header {
    text-align: center;
    margin-bottom: 2rem;
}

.player-title {
    color: var(--primary-pink);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.player-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.player-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.album-cover {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-cover:hover img {
    transform: scale(1.1);
}

.player-controls {
    flex: 1;
}

.song-info {
    margin-bottom: 1.5rem;
}

.song-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.song-artist {
    font-size: 1.1rem;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: #f0f0f0;
    border-radius: 2.5px;
    margin: 1rem 0;
    cursor: pointer;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background: #ff69b4;
    border-radius: 2.5px;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.control-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #ff69b4;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-button:hover {
    transform: scale(1.1);
    background: #ff4da6;
}

.control-button.play-pause {
    width: 60px;
    height: 60px;
}

/* 歌单列表部分 */
.playlist-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.playlist-title {
    color: #ff69b4;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.playlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.playlist-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.playlist-item:hover {
    transform: translateY(-5px);
}

.playlist-item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.playlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-item:hover .playlist-item-image img {
    transform: scale(1.1);
}

.playlist-item-info {
    padding: 1rem;
}

.playlist-item-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.playlist-item-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* 通用样式 */
.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin: 50px 0 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff69b4;
    margin: 10px auto;
}

/* 专辑展示 */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.album-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.album-cover {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff69b4;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.album-info {
    padding: 20px;
}

.album-info h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.album-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.album-stats {
    display: flex;
    justify-content: space-between;
    color: #ff69b4;
    font-size: 0.9em;
}

/* 热门歌曲 */
.songs-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.song-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.song-item:hover {
    transform: translateX(10px);
}

.song-rank {
    font-size: 2em;
    font-weight: bold;
    color: #ff69b4;
    width: 80px;
    text-align: center;
}

.song-info {
    flex: 1;
    padding: 0 20px;
}

.song-info h3 {
    color: #333;
    margin-bottom: 5px;
}

.song-info p {
    color: #666;
    font-size: 0.9em;
}

.song-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.song-stats span {
    color: #666;
}

.play-song {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff69b4;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-song:hover {
    transform: scale(1.1);
}

/* 乐器介绍 */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.instrument-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.instrument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.instrument-image {
    height: 250px;
    overflow: hidden;
}

.instrument-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instrument-card:hover .instrument-image img {
    transform: scale(1.1);
}

.instrument-info {
    padding: 20px;
}

.instrument-info h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.instrument-owner {
    color: #ff69b4;
    font-weight: bold;
    margin-bottom: 10px;
}

.instrument-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.instrument-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.instrument-specs span {
    color: #666;
    font-size: 0.9em;
    padding: 5px 10px;
    background: #f8f8f8;
    border-radius: 5px;
}

/* 音乐教室 */
.classroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lesson-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.lesson-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lesson-card:hover .lesson-image img {
    transform: scale(1.1);
}

.lesson-level {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,105,180,0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.lesson-content {
    padding: 20px;
}

.lesson-content h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.lesson-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.lesson-points {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.lesson-points li {
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.lesson-points li i {
    color: #ff69b4;
    margin-right: 10px;
}

.start-lesson {
    width: 100%;
    padding: 12px;
    background: #ff69b4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.start-lesson:hover {
    background: #ff4da6;
}

/* 动画效果 */
.album-card, .song-item, .instrument-card, .lesson-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.album-card.animate, .song-item.animate, .instrument-card.animate, .lesson-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .albums-grid, .instruments-grid, .classroom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .albums-grid, .instruments-grid, .classroom-grid {
        grid-template-columns: 1fr;
    }

    .song-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .song-rank {
        margin-bottom: 10px;
    }

    .song-info {
        margin-bottom: 15px;
    }

    .song-stats {
        justify-content: center;
    }

    .instrument-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2em;
    }

    .album-cover {
        height: 200px;
    }

    .instrument-image {
        height: 200px;
    }
}

/* 精选歌单部分 */
.playlist-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.playlist-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.playlist-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.playlist-card:hover {
    transform: translateY(-5px);
}

.playlist-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.playlist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.playlist-card:hover .playlist-image img {
    transform: scale(1.1);
}

.playlist-info {
    padding: 20px;
}

.playlist-info h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.playlist-info p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.playlist-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff69b4;
    font-size: 0.9em;
}

.play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff69b4;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .playlist-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .playlist-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .playlist-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
}

/* 页面基础样式 */
.page-content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 2rem;
}

/* 音乐演出区域 */
.performances-section {
    margin-bottom: 4rem;
}

.performances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.performance-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.performance-video {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
}

.performance-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.performance-info {
    padding: 1.5rem;
}

.performance-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.performance-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.performance-stats {
    display: flex;
    gap: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

/* 温馨日常区域 */
.daily-moments-section {
    margin-bottom: 4rem;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.moment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.moment-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 比例 */
}

.moment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moment-content {
    padding: 1.5rem;
}

.moment-content h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.moment-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 感动瞬间区域 */
.touching-moments-section {
    margin-bottom: 4rem;
}

.touching-moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.touching-moment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.moment-quote {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #ff69b4;
    font-style: italic;
    color: #666;
}

/* 名场面回顾区域 */
.classic-scenes-section {
    margin-bottom: 4rem;
}

.scenes-timeline {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.scene-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.scene-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.scene-date {
    color: #ff69b4;
    font-weight: bold;
    padding-top: 0.5rem;
}

.scene-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.scene-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
}

.scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-description h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.scene-description p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 通用标题样式 */
.section-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff69b4;
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .scene-content {
        grid-template-columns: 1fr;
    }
    
    .scene-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scene-date {
        padding-top: 0;
    }
    
    .scene-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .performance-info,
    .moment-content {
        padding: 1rem;
    }
} 