body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #232526 0%, #0f2027 100%);
    color: #f3f6fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

:root {
    --vp-glow-soft: 0 0 0 1px rgba(0,255,240,0.14), 0 10px 28px rgba(0,255,240,0.12);
    --vp-glow-strong: 0 0 0 1px rgba(0,255,240,0.28), 0 14px 36px rgba(0,255,240,0.22);
}

:focus-visible {
    outline: 2px solid #00fff0;
    outline-offset: 2px;
}
header {
    background: linear-gradient(90deg, #00fff0 0%, #00bfff 100%);
    color: #232526;
    padding: 2.2rem 0 1.2rem 0;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,255,255,0.10);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}
header h1 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.header-title-link {
    color: inherit;
    text-decoration: none;
}

.header-title-link:hover,
.header-title-link:focus-visible {
    text-decoration: underline;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 2vw 2rem 2vw;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.iframe-container {
    width: 100%;
    margin-bottom: 2.2rem;
    background: rgba(0,0,0,0.35);
    box-shadow: 0 6px 32px rgba(0,255,255,0.10);
    border-radius: 18px;
    position: relative;
    transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    border: 1.5px solid rgba(0,255,255,0.10);
}
.iframe-container:hover {
    box-shadow: var(--vp-glow-strong);
    background: rgba(0,0,0,0.45);
    border-color: rgba(0,255,240,0.36);
}
iframe {
    width: 100%;
    border: none;
    display: block;
    border-radius: 18px;
}
footer {
    text-align: center;
    padding: 1.2rem 0 0.7rem 0;
    font-size: 1.08rem;
    color: #b2eaff;
    background: rgba(0,0,0,0.18);
    margin-top: 2.5rem;
    letter-spacing: 0.5px;
}
.pre-footer-social {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1.2rem auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.1rem 0 0.2rem 0;
    border-radius: 18px;
    background: rgba(0,255,255,0.07);
    box-shadow: var(--vp-glow-soft);
    border: 1px solid rgba(0,255,255,0.14);
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
    border: 2px solid rgba(0,255,255,0.10);
}
.social-icon:hover {
    background: rgba(0,255,255,0.22);
    box-shadow: 0 0 0 1px rgba(0,255,240,0.35), 0 8px 24px rgba(0,255,240,0.24);
    border-color: #00fff0;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.social-icon svg {
    display: block;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px;
    max-height: 38px;
    margin: auto;
}
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }
    main {
        padding: 1rem 0.5rem;
    }
    .iframe-container {
        margin-bottom: 1rem;
    }
    footer {
        font-size: 0.95rem;
        padding: 0.7rem 0 0.5rem 0;
    }
}

html, body {
    width: 100vw;
    min-width: 0;
    overflow-x: hidden;
}
.song-history-list, .iframe-container, .pre-footer-social, .song-history-list h2, .song-history-item {
    box-sizing: border-box;
}
.song-history-list, .iframe-container, .pre-footer-social {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1.2rem auto;
    box-sizing: border-box;
    padding-left: 2vw;
    padding-right: 2vw;
}
@media (max-width: 700px) {
}
@media (max-width: 320px) {
    main {
        max-width: 99vw;
        padding: 0.5rem 0.01rem 0.5rem 0.01rem;
    }
    .song-history-list, .iframe-container, .pre-footer-social {
        max-width: 100vw;
        padding-left: 0.01rem;
        padding-right: 0.01rem;
    }
    .song-history-list {
        max-height: 28vh;
        padding: 0.5rem 0.01rem;
    }
    .song-history-title, .song-history-artist {
        font-size: 0.82rem;
    }
    .song-history-art {
        width: 22px;
        height: 22px;
    }
}
@media (max-width: 900px) {
    main {
        max-width: 98vw;
        padding: 2.5rem 1vw 2rem 1vw;
    }
    .song-history-list, .iframe-container, .pre-footer-social {
        max-width: 98vw;
        padding-left: 2vw;
        padding-right: 2vw;
        margin-left: auto;
        margin-right: auto;
    }
}
