/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'KnewaveRegular', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    height: 100vh;
}

/* ===== HEADER STYLES ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.header-visible {
    transform: translateY(0);
}

/* 顶部触发区域提示 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 999;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover::before {
    opacity: 1;
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'KnewaveRegular', cursive, sans-serif;
}

.navbar-brand:hover {
    color: #007bff !important;
    text-shadow: 0 2px 12px rgba(0, 123, 255, 0.5);
}

.nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-family: 'KnewaveRegular', cursive, sans-serif;
}

.nav-link:hover {
    color: #007bff !important;
    text-shadow: 0 1px 8px rgba(0, 123, 255, 0.5);
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/neige.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4) blur(1px);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

/* ===== PLAY BUTTON STYLES ===== */
.play-button-container {
    margin-bottom: 2rem;
}

.play-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, 1);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button.playing {
    border-color: rgba(0, 255, 127, 0.8);
    color: rgba(0, 255, 127, 0.9);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        border-color: rgba(0, 255, 127, 0.8);
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.4);
    }
    50% { 
        border-color: rgba(0, 255, 127, 1);
        box-shadow: 0 0 0 10px rgba(0, 255, 127, 0);
    }
    100% { 
        border-color: rgba(0, 255, 127, 0.8);
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0);
    }
}

/* ===== LYRICS STYLES ===== */
.lyrics-container {
    min-height: 300px;
    margin: 2rem 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.lyrics-container.visible {
    opacity: 1;
}

.lyrics-control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.lyrics-status {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'KnewaveRegular', cursive, sans-serif;
}

.lyrics-reset-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lyrics-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lyrics-display {
    position: relative;
    height: 300px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.lyrics-viewport {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.lyrics-content {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.lyrics-line {
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    opacity: 0.6;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lyrics-line:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.lyrics-line.active {
    opacity: 1;
    color: #00ff7f;
    font-weight: bold;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.lyrics-line.current-playing {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 127, 0.1), transparent);
    border-radius: 10px;
}



/* Manual scroll mode indicators */
.lyrics-container.manual-mode .lyrics-control-panel {
    background: rgba(255, 127, 0, 0.2);
    border: 1px solid rgba(255, 127, 0, 0.3);
}

.lyrics-container.manual-mode #lyricsMode {
    color: #ff7f00;
    font-weight: bold;
}

/* ===== ALBUM COVER STYLES ===== */
.album-cover {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.album-cover.visible {
    opacity: 1;
    transform: scale(1);
}

.rotating-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rotating-cover.playing {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== CONTROL BUTTONS STYLES ===== */
.control-buttons {
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.control-buttons.visible {
    opacity: 1;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.control-btn.active {
    background: rgba(0, 123, 255, 0.8);
    border-color: #007bff;
}

/* ===== VOLUME CONTROL STYLES ===== */
.volume-control {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
    width: 200px;
    height: 20px;
}

.volume-control.visible {
    opacity: 1;
}

.volume-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-top: 7px;
}

.volume-bar:hover {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
}

.volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 3px;
    width: 50%;
    transition: all 0.2s ease;
    position: relative;
}

.volume-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: grab;
}

.volume-handle:active {
    cursor: grabbing;
}

.volume-bar:hover .volume-handle {
    opacity: 1;
    width: 16px;
    height: 16px;
    right: -8px;
}

.volume-indicator {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'KnewaveRegular', cursive, sans-serif;
    pointer-events: none;
}

.volume-control:hover .volume-indicator {
    opacity: 1;
}

/* ===== CONTENT SECTION STYLES ===== */
.content-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.content-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.content-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-title {
    color: #007bff;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
    font-family: 'KnewaveRegular', cursive, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.content-body {
    line-height: 1.8;
}

.content-body h3 {
    color: #007bff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'KnewaveRegular', cursive, sans-serif;
    font-size: 1.5rem;
}

.content-body ul {
    margin-bottom: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

/* ===== FOOTER STYLES ===== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

footer.footer-visible {
    transform: translateY(0);
}

/* 底部触发区域提示 */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 999;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover::after {
    opacity: 1;
}

.footer-links {
    text-align: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-family: 'KnewaveRegular', cursive, sans-serif;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #007bff;
    text-shadow: 0 1px 8px rgba(0, 123, 255, 0.5);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== MODAL STYLES ===== */
.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'KnewaveRegular', cursive, sans-serif;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #007bff;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .play-button {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .lyrics-display {
        font-size: 1.2rem;
    }
    
    .album-cover {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }
    
    .volume-control {
        right: 10px;
        width: 150px;
    }
    
    .volume-indicator {
        right: -40px;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .hero-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .play-button {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .lyrics-display {
        font-size: 1rem;
    }
    
    .album-cover {
        width: 60px;
        height: 60px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 5px;
    }
    
    .content-card {
        padding: 1.5rem 1rem;
    }
    
    .volume-control {
        width: 120px;
    }
    
    .volume-indicator {
        right: -35px;
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #007bff;
} 