/* 基础样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', 'Indie Flower', cursive, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
}

.hidden {
    display: none !important;
}


/* 调试按钮 */

.debug-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 159, 243, 0.4);
    transition: all 0.3s ease;
}

.debug-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 159, 243, 0.6);
}


/* 倒计时容器 - 全屏居中 */

#countdown-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0c0c0c, #1a1a2e, #16213e);
    text-align: center;
}


/* 呼吸灯效果 */

.breathing-text {
    font-size: 3em;
    text-align: center;
    margin-bottom: 3rem;
    animation: breathingLight 4s ease-in-out infinite;
    line-height: 1.4;
}

@keyframes breathingLight {
    0%,
    100% {
        color: #ff6b6b;
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }
    33% {
        color: #ffa726;
        text-shadow: 0 0 15px rgba(255, 167, 38, 0.6);
    }
    66% {
        color: #ffd93d;
        text-shadow: 0 0 20px rgba(255, 217, 61, 0.7);
    }
}


/* 倒计时样式 */

#countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-unit {
    text-align: center;
}

.time-unit span {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: inline-block;
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.3);
}

.time-unit .label {
    margin-top: 1rem;
    font-size: 1.2em;
    color: #74b9ff;
    font-weight: bold;
}


/* 全屏字幕容器 - 纯蓝黑色背景 */

#subtitle-container {
    width: 100%;
    height: 100vh;
    background: #0a0a2a;
    /* 纯蓝黑色 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}


/* 网易云风格歌词容器 */

.netease-lyrics-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.lyrics-scroll-view {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.lyrics-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 50vh 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}


/* 歌词项基础样式 */

.lyric-item {
    text-align: center;
    padding: 1.5rem 2rem;
    margin: 0.5rem 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.3;
    transform: scale(0.8);
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}


/* 普通歌词样式 */

.lyric-item .chinese-line {
    font-size: 2.2em;
    color: #6c757d;
    margin-bottom: 0.4em;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.6s ease;
}

.lyric-item .english-line {
    font-size: 1.5em;
    color: #6c757d;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.6s ease;
}


/* 前一句歌词 */

.lyric-item.prev {
    opacity: 0.5;
    transform: scale(0.9);
}

.lyric-item.prev .chinese-line {
    font-size: 2.5em;
    color: #adb5bd;
}

.lyric-item.prev .english-line {
    font-size: 1.7em;
    color: #adb5bd;
}


/* 当前歌词 - 居中高亮 */

.lyric-item.current {
    opacity: 1;
    transform: scale(1);
}

.lyric-item.current .chinese-line {
    font-size: 4.2em;
    /* 超大字体 */
    color: #ffffff;
    margin-bottom: 0.5em;
    font-weight: bold;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.lyric-item.current .english-line {
    font-size: 2.5em;
    /* 超大字体 */
    color: #ffd93d;
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}


/* 下一句歌词 */

.lyric-item.next {
    opacity: 0.5;
    transform: scale(0.9);
}

.lyric-item.next .chinese-line {
    font-size: 2.5em;
    color: #adb5bd;
}

.lyric-item.next .english-line {
    font-size: 1.7em;
    color: #adb5bd;
}


/* 进入按钮 */

.enter-button-container {
    text-align: center;
    z-index: 10;
}

.enter-link {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
    text-decoration: none;
    padding: 30px 50px;
    border-radius: 35px;
    font-family: 'Comic Neue', cursive;
    text-align: center;
    box-shadow: 0 15px 45px rgba(255, 107, 107, 0.6);
    transition: all 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.7);
    min-width: 300px;
}

.enter-link:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 55px rgba(255, 107, 107, 0.8);
}

.bold-text {
    font-weight: bold;
}

.enter-link .chinese-line {
    font-size: 2.2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.enter-link .english-line {
    font-size: 1.6em;
    opacity: 0.9;
    font-weight: bold;
}

.enter-arrow {
    font-size: 2.5em;
    margin-top: 0.8em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* 双语文本样式 */

.bilingual {
    line-height: 1.6;
}


/* 响应式设计 - 手机适配 */

@media (max-width: 768px) {
    .breathing-text {
        font-size: 1.8em;
        padding: 0 1rem;
    }
    #countdown {
        gap: 1rem;
    }
    .time-unit span {
        font-size: 2em;
        min-width: 80px;
        padding: 0.8rem 1rem;
    }
    .time-unit .label {
        font-size: 1em;
    }
    /* 手机端字幕调整 */
    .lyric-item.current .chinese-line {
        font-size: 2.8em;
    }
    .lyric-item.current .english-line {
        font-size: 1.8em;
    }
    .lyric-item .chinese-line {
        font-size: 1.6em;
    }
    .lyric-item .english-line {
        font-size: 1.2em;
    }
    .lyric-item.prev .chinese-line,
    .lyric-item.next .chinese-line {
        font-size: 1.8em;
    }
    .lyric-item.prev .english-line,
    .lyric-item.next .english-line {
        font-size: 1.3em;
    }
    .lyric-item {
        padding: 1rem;
    }
    .enter-link {
        padding: 20px 30px;
        min-width: 250px;
    }
    .enter-link .chinese-line {
        font-size: 1.8em;
    }
    .enter-link .english-line {
        font-size: 1.3em;
    }
    .debug-button {
        padding: 8px 16px;
        font-size: 14px;
        top: 10px;
        right: 10px;
    }
}


/* 超小屏幕适配 */

@media (max-width: 480px) {
    .lyric-item.current .chinese-line {
        font-size: 2.2em;
    }
    .lyric-item.current .english-line {
        font-size: 1.5em;
    }
    .lyric-item .chinese-line {
        font-size: 1.4em;
    }
    .lyric-item .english-line {
        font-size: 1em;
    }
    .breathing-text {
        font-size: 1.5em;
    }
    .time-unit span {
        font-size: 1.8em;
        min-width: 70px;
    }
}