* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: white;
    overflow: hidden;
    height: 100vh;
    background: url('/images/yinianji/background.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}


/* 启动页面样式 */
#startPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/yinianji/index.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* 标题区域样式 */
.title-area {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
}

.chinese-title {
    font-size: 70px;
    color: white;
    margin-bottom: 25px;
    letter-spacing: 60px;
}

.english-title {
    font-size: 30px;
    color: yellow;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
    margin-right: 112px;
}

.click-guide {
    position: absolute;
    animation: pulse 2s infinite;
    cursor: pointer;
    text-align: center;
    top: 55.2vh;
}

.click-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2em;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px #00ffff;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* 视频页面样式 */
#videoPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    background: transparent;
}

.video-container {
    position: relative;
    width: 80%;
    height: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    /*backdrop-filter: blur(5px);*/
    box-shadow: 0 0 50px rgba(0, 150, 255, 0.7);
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
}

#videoPlayer {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
    object-fit: contain;
}

/* 视频结束后的覆盖层 */
.video-end-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 25;
    border-radius: 10px;
}

.end-message {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 15px #00ffff;
    color: #00ffff;
    font-weight: bold;
}



/* 视频覆盖控制按钮 */
.video-overlay-controls {
    position: absolute;
    /*bottom: 40px;*/
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    z-index: 30;
}

.overlay-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, #156CAF, #2E94D6);
    border: 1px solid yellow;
    border-radius: 25px;
    color: #efdd08;
    font-size: 2.1em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px #fff700;
    animation: pulse 2s infinite;


}


/* 新增箭头动画 */
@keyframes arrow-bounce {
    0% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(5px);
    }
}

.overlay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 102, 255, 0.7);
}



.bunny-decoration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="30" r="25" fill="white"/><circle cx="40" cy="25" r="5" fill="black"/><circle cx="60" cy="25" r="5" fill="black"/><ellipse cx="50" cy="35" rx="10" ry="6" fill="pink"/><path d="M30,20 Q20,10 30,5" stroke="white" stroke-width="3" fill="none"/><path d="M70,20 Q80,10 70,5" stroke="white" stroke-width="3" fill="none"/></svg>') no-repeat center center;
    background-size: contain;
    z-index: 5;
}

/* 倒计时样式 - 整合到视频结束覆盖层 */
.countdown-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    font-weight: bold;
    color: #4d94ff;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    display: none;
    z-index: 35;
    animation: pulseCountdown 1s infinite;
}

@keyframes pulseCountdown {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}