/* 基础全屏样式 */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    transition: opacity 0.5s, transform 0.5s;
    overflow: auto;
}

/* 图片容器基础样式 */
.logo-container,
.cp-container {
    flex-shrink: 0;
    margin: 20px auto;
    text-align: center;
}

.logo-container img,
.cp-container img {
    width: 80vw;
    max-width: 400px;
    height: auto;
    max-height: 280px; /* 限制图片高度 */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    object-fit: contain;
}

/* 滑动按钮核心样式 */
.slide-container {
    position: relative;
    width: 90vw;
    max-width: 500px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 4px 10px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    will-change: transform;
    flex-shrink: 0;
    margin: 30px auto;
}

.slide-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #00c6ff 0%, #0072ff 100%);
    border-radius: 40px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: width;
}

.slide-button {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.5),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    cursor: grab;
    touch-action: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-button:active {
    cursor: grabbing;
    transform: scale(0.92) translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.slide-icon::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #00a1ff;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.unlocked .slide-icon::before {
    transform: translate(-50%, -50%) rotate(180deg);
    color: white;
    text-shadow: none;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
    pointer-events: none;
    transition: all 0.4s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    z-index: 5;
    width: 85%;
    text-align: center;
}

.unlocked .slide-text {
    color: white;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.9;
}

.status-indicator {
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
}

.unlocked .status-indicator {
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

/* 底层内容样式 */
#content-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: none;
    background: white;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes particle {
    0% { 
        transform: translate(-50%, -50%) scale(0); 
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(3); 
        opacity: 0;
    }
}

/* 响应式调整 - 关键优化点 */
@media (min-width: 769px) {
    /* 电脑端顶部图片调整 */
    .logo-container {
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .cp-container {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    /* 滑动容器底部空间调整 */
    .slide-container {
        margin-top: 60px;
        margin-bottom: 80px;
        height: 90px;
    }
    
    /* 按钮尺寸和位置调整 */
    .slide-button {
        width: 70px;
        height: 70px;
        left: 15px;
    }
    
    .slide-text {
        font-size: 20px;
    }
    
    .status-indicator {
        top: -50px;
        font-size: 18px;
    }
    
    /* 图片高度限制 */
    .logo-container img,
    .cp-container img {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    /* 移动端保持原有样式 */
    .slide-container {
        width: 90vw;
        height: 70px;
        min-width: 280px;
    }
    
    .slide-button {
        width: 55px;
        height: 55px;
    }
    
    .slide-text {
        font-size: 16px;
    }
}

/* 修复滚动条问题 */
body.unlocked {
    overflow: auto !important;
    height: auto !important;
}