
.music-page {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    overflow-y: auto;
    min-height: 100vh;
}

.music-main {
    position: relative;
    z-index: 1;
}

.archive-frame {
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px 60px;
    background: linear-gradient(145deg, #fde4f0 0%, #d36a9c 40%, #fde4f0 100%);
    border: 1px solid rgba(183, 129, 158, 1);
    border-radius: 40px;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.5),
        inset 0 0 100px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: visible;
}

.archive-frame::before {
    content: '✦ · ˚ ✧ · ˚ ✦ · ˚ ✧ · ˚ ✦ · ˚ ✧ · ˚ ✦';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #000000;
    letter-spacing: 0.3em;
    white-space: nowrap;
}

.archive-frame::after {
    content: '✦ · ˚ ✧ · ˚ ✦ · ˚ ✧ · ˚ ✦ · ˚ ✧ · ˚ ✦';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #000000;
    letter-spacing: 0.3em;
    white-space: nowrap;
}

.fairy-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.fairy-star {
    position: absolute;
    color: #000000;
    font-size: 1.2rem;
    animation: twinkle 3s ease-in-out infinite;
}

.fairy-star:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.fairy-star:nth-child(2) { top: 20%; right: 8%; animation-delay: 0.5s; }
.fairy-star:nth-child(3) { bottom: 25%; left: 3%; animation-delay: 1s; }
.fairy-star:nth-child(4) { bottom: 15%; right: 5%; animation-delay: 1.5s; }
.fairy-star:nth-child(5) { top: 50%; left: 2%; animation-delay: 2s; }
.fairy-star:nth-child(6) { top: 40%; right: 3%; animation-delay: 2.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.archive-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.archive-title {
    font-family: 'DreamerTM', 'Times New Roman', Georgia, serif;
    font-size: 4rem;
    color: #000000;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(183, 129, 158, 1);
}

.archive-header::after {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 20px auto 0;
}

.music-subnav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(183, 129, 158, 0.3);
    position: relative;
}

.music-subnav-link {
    font-family: 'OffsetTM', 'Pestetrial', sans-serif;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.music-subnav-link:hover {
    color: #000000;
}

.music-subnav-link.active {
    color: #000000;
    font-weight: 500;
}

.music-subnav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(183, 129, 158, 0.6), transparent);
}

.archive-content {
    position: relative;
}

.music-section {
    padding: 20px 0 40px;
}

.music-section.hidden {
    display: none;
}

.section-title {
    font-family: 'DreamerTM', 'Unique Bold', sans-serif;
    font-size: 3.2rem;
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(183, 129, 158, 0.15);
}

.section-title::before {
    content: '✧';
    margin-right: 20px;
    font-size: 1.5rem;
    color: #000000;
}

.section-title::after {
    content: '✧';
    margin-left: 20px;
    font-size: 1.5rem;
    color: #000000;
}

.music-content {
    background: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, rgba(253, 228, 240, 0.3) 100%);
    border-radius: 25px;
    padding: 35px;
    border: 1px solid rgba(183, 129, 158, 0.2);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5);
}

.singles-gallery {
    flex: 1;
    min-width: 0;
}

.singles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.single-cover {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single-cover:hover {
    transform: translateY(-5px);
}

.single-cover:hover .cover-placeholder {
    border-color: rgba(183, 129, 158, 0.5);
    box-shadow: 0 8px 25px rgba(183, 129, 158, 0.15);
}

.single-cover.active .cover-placeholder {
    border-color: rgba(183, 129, 158, 0.6);
    box-shadow: 0 8px 25px rgba(183, 129, 158, 0.25);
    background: linear-gradient(145deg, rgba(253, 228, 240, 0.8) 0%, rgba(245, 208, 227, 0.6) 100%);
}

.single-cover.active .single-label {
    color: #000000;
    font-weight: 500;
}

.cover-placeholder {
    aspect-ratio: 1;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, rgba(253, 228, 240, 0.5) 100%);
    border: 1px solid rgba(183, 129, 158, 0.2);
    box-shadow: 0 4px 15px rgba(183, 129, 158, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cover-placeholder img,
.single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.single-label {
    font-family: 'OffsetTM', 'Pestetrial', sans-serif;
    font-size: 0.85rem;
    color: #000000;
    letter-spacing: 0.03em;
}

.album-layout {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.album-cover {
    flex: 1;
    min-width: 0;
}

.album-cover img {
    width: 90%;
    border-radius: 22px;
    box-shadow: 
        0 10px 40px rgba(183, 129, 158, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.4);
    display: block;
}

.cover-placeholder-large {
    aspect-ratio: 1;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, rgba(253, 228, 240, 0.5) 100%);
    border: 1px solid rgba(183, 129, 158, 0.2);
    box-shadow: 
        0 10px 40px rgba(183, 129, 158, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #000000;
    overflow: hidden;
}

.cover-placeholder-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.album-player {
    width: 320px;
    flex-shrink: 0;
}

.player-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, rgba(253, 228, 240, 0.5) 100%);
    border-radius: 25px;
    padding: 25px;
    border: 1px solid rgba(183, 129, 158, 0.25);
    box-shadow: 
        0 10px 40px rgba(183, 129, 158, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.5);
    text-align: center;
}

.player-artwork {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    background: linear-gradient(145deg, #fde4f0 0%, #f5d0e3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(183, 129, 158, 0.15);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.player-artwork-small {
    aspect-ratio: 1;
}

.player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.player-artwork-icon {
    font-size: 2.5rem;
    color: #000000;
}

.player-info {
    margin-bottom: 15px;
}

.player-track-title {
    font-family: 'DreamerTM', 'Times New Roman', Georgia, serif;
    font-size: 1.4rem;
    color: #000000;
    margin: 0 0 4px 0;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.player-artist {
    font-family: 'OffsetTM', 'Pestetrial', sans-serif;
    font-size: 0.85rem;
    color: #000000;
    margin: 0;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 15px;
}

.player-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(183, 129, 158, 0.3);
    background: rgba(255, 255, 255, 0.6);
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.player-btn:hover {
    background: rgba(253, 228, 240, 0.8);
    border-color: rgba(183, 129, 158, 0.5);
    transform: scale(1.1);
}

.player-btn.play-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: linear-gradient(145deg, rgba(253, 228, 240, 0.9) 0%, rgba(245, 208, 227, 0.9) 100%);
    border: 1px solid rgba(183, 129, 158, 0.4);
    box-shadow: 0 4px 15px rgba(183, 129, 158, 0.15);
}

.player-btn.play-btn:hover {
    box-shadow: 0 6px 20px rgba(183, 129, 158, 0.25);
}

.player-progress {
    padding: 0 5px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(183, 129, 158, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #b7819e, #d4a0bb);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-family: 'OffsetTM', 'Pestetrial', sans-serif;
    font-size: 0.75rem;
    color: #000000;
}

.track-list {
    margin-top: 15px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, rgba(253, 228, 240, 0.3) 100%);
    border: 1px solid rgba(183, 129, 158, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 6px;
}

.track-item:last-child {
    margin-bottom: 0;
}

.track-item:hover {
    background: rgba(253, 228, 240, 0.5);
    border-color: rgba(183, 129, 158, 0.3);
    transform: translateX(5px);
}

.track-item.active {
    background: rgba(253, 228, 240, 0.6);
    border-color: rgba(183, 129, 158, 0.4);
    box-shadow: 0 2px 10px rgba(183, 129, 158, 0.1);
}

.track-number {
    font-family: 'DreamerTM', 'Times New Roman', Georgia, serif;
    font-size: 1rem;
    color: #000000;
    min-width: 22px;
    text-align: center;
}

.track-name {
    font-family: 'OffsetTM', 'Pestetrial', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    letter-spacing: 0.03em;
}

.discography-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.discography-player {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.discography-tracklist {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.discography-tracklist::-webkit-scrollbar {
    width: 6px;
}

.discography-tracklist::-webkit-scrollbar-track {
    background: rgba(253, 228, 240, 0.3);
    border-radius: 3px;
}

.discography-tracklist::-webkit-scrollbar-thumb {
    background: rgba(183, 129, 158, 0.4);
    border-radius: 3px;
}

.discography-tracklist::-webkit-scrollbar-thumb:hover {
    background: rgba(183, 129, 158, 0.6);
}

.disco-group {
    margin-bottom: 20px;
}

.disco-group:last-child {
    margin-bottom: 0;
}

.disco-group-title {
    font-family: 'DreamerTM', 'Unique Bold', sans-serif;
    font-size: 1.1rem;
    color: #000000;
    margin: 0 0 10px 0;
    padding: 8px 15px;
    background: linear-gradient(145deg, rgba(253, 228, 240, 0.6) 0%, rgba(245, 208, 227, 0.4) 100%);
    border-radius: 12px;
    border: 1px solid rgba(183, 129, 158, 0.2);
    letter-spacing: 0.05em;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .album-layout {
        flex-direction: column;
        align-items: center;
    }

    .album-cover {
        width: 100%;
        max-width: 400px;
    }

    .singles-gallery {
        width: 100%;
    }

    .singles-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .album-player {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .archive-frame {
        margin: 15px;
        padding: 30px 25px;
        border-radius: 25px;
    }

    .music-subnav {
        flex-wrap: wrap;
        gap: 12px 25px;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .archive-frame::before,
    .archive-frame::after {
        font-size: 0.6rem;
    }

    .archive-title {
        font-size: 2.5rem;
    }

    .singles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .music-content {
        padding: 25px 20px;
    }

    .album-player {
        max-width: 300px;
    }

    .player-box {
        padding: 20px;
    }

    .player-track-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .archive-frame {
        margin: 10px;
        padding: 25px 18px;
    }

    .music-subnav {
        gap: 10px 20px;
    }

    .music-subnav-link {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .archive-title {
        font-size: 2rem;
    }

    .music-content {
        padding: 20px 15px;
    }

    .singles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .single-label {
        font-size: 0.75rem;
    }

    .album-player {
        max-width: 260px;
    }

    .player-box {
        padding: 15px;
    }
}
