/* 移除损坏的字体定义，使用系统字体 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
}

.hidden {
    display: none !important;
}

/* 初始进入页面 */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column; /* Stack logo and button */
    justify-content: center;
    align-items: center;
    z-index: 5000; /* 降低z-index，确保用户信息表单在其之上 */
}

/* 确保进入页面的glitch-text不会干扰用户信息表单 */
.enter-screen .glitch-text::before,
.enter-screen .glitch-text::after {
    z-index: 5001; /* 确保不会超过用户信息表单的z-index */
}

.enter-logo {
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    font-size: 5vw; /* Responsive font size */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 80px;
    /* Liquid Glass Effect */
    background: linear-gradient(
        120deg,
        rgba(0, 255, 255, 0.7),
        rgba(255, 0, 255, 0.7),
        rgba(255, 255, 0, 0.7),
        rgba(0, 255, 0, 0.7),
        rgba(0, 255, 255, 0.7)
    );
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    animation: liquidFlow 8s ease-in-out infinite;
}

@keyframes liquidFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 旧的移动端样式已整合到新的响应式设计中 */

.cyber-button {
    font-family: 'Orbitron', monospace;
    font-size: 2em;
    font-weight: bold;
    color: #00ffff;
    background: transparent;
    border: 3px solid #00ffff;
    padding: 20px 50px;
    text-transform: uppercase;
    cursor: pointer;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    box-shadow: 0 0 10px #00ffff inset, 0 0 20px #00ffff;
    transition: all 0.3s ease;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.cyber-button:hover {
    color: #000;
    background: #00ffff;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
}

/* 密码保护页面 */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); /* 增加背景透明度 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* 确保在所有其他元素之上 */
}

/* 当密码屏幕显示时，隐藏可能干扰的其他元素 */
.password-screen:not(.hidden) ~ .enter-screen,
.password-screen:not(.hidden) ~ #main-content {
    display: none !important;
}

.glitch-container {
    position: relative;
    z-index: 10;
}

.glitch-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(255, 0, 255, 0.1) 50%, 
        rgba(0, 255, 0, 0.1) 100%);
    animation: glitchBg 3s infinite;
}

/* 用户信息表单时禁止body滚动 */
body.user-info-open {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    z-index: 10000 !important;
}

/* 用户信息表单样式 - 全屏模式（统一桌面端和移动端） */
.user-info-form {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 30, 0.95) 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    max-height: none !important;
    z-index: 10001 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overscroll-behavior: contain !important;
    -ms-scroll-chaining: none !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
}

/* 用户信息表单内的glitch-text样式，避免与其他页面冲突 */
.user-info-form .glitch-text {
    position: relative;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: none; /* 移除动画避免干扰 */
}

.user-info-form .glitch-text::before,
.user-info-form .glitch-text::after {
    display: none; /* 完全隐藏伪元素 */
}

.form-header {
    position: relative !important;
    background: transparent !important;
    padding: 8px 0 !important;
    margin-bottom: 8px !important;
    z-index: 10001 !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
}

.user-info-form h1 {
    font-size: 1.4em !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-align: center !important;
    color: #00ffff;
    position: relative;
    z-index: 1;
}

.close-btn {
    width: 25px !important;
    height: 25px !important;
    font-size: 14px !important;
    top: 10px !important;
    right: 10px !important;
    position: absolute !important;
    z-index: 10002 !important;
    background: rgba(255, 68, 68, 0.1) !important;
    border: 1px solid #ff4444 !important;
    color: #ff4444 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff6666;
    color: #ff6666;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.form-container {
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 400px !important;
    flex-grow: 1 !important;
    align-content: center !important;
    margin: 30px 0;
}

.input-group {
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(0, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    transition: all 0.3s ease !important;
    text-align: left;
}

.input-group:hover {
    background: rgba(0, 255, 255, 0.1) !important;
    border-color: rgba(0, 255, 255, 0.4) !important;
}

.input-group.full-width {
    grid-column: 1 / -1 !important;
}

.input-group label {
    font-size: 10px !important;
    margin-bottom: 4px !important;
    display: block !important;
    color: #00ffff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Orbitron', monospace;
}

.input-group input,
.input-group select {
    padding: 8px !important;
    font-size: 12px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border-radius: 4px !important;
    outline: none !important;
    font-family: 'Orbitron', monospace;
}

.input-group input:focus,
.input-group select:focus {
    background: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
    transform: scale(1.02) !important;
    outline: none;
}

.input-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}

.input-group select option {
    background: #000 !important;
    color: #fff !important;
    padding: 10px !important;
}

.button-group {
    margin-top: 12px !important;
    padding: 0 !important;
    border-top: 1px solid rgba(0, 255, 255, 0.3) !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 8px !important;
    grid-column: 1 / -1 !important;
    padding-top: 12px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
    justify-content: center;
}

.button-group button {
    width: 100% !important;
    padding: 12px 8px !important;
    font-size: 12px !important;
    min-height: 40px !important;
    margin-bottom: 0 !important;
    border: 1px solid #00ffff !important;
    background: rgba(0, 255, 255, 0.1) !important;
    color: #00ffff !important;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.button-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
}

.button-group .skip-btn {
    background: linear-gradient(45deg, #666666, #999999);
    color: #fff;
}

.button-group .skip-btn:hover {
    background: linear-gradient(45deg, #999999, #cccccc);
    box-shadow: 0 0 20px rgba(153, 153, 153, 0.5);
}

.message {
    margin-top: 8px !important;
    padding: 8px !important;
    border-radius: 4px !important;
    text-align: center !important;
    min-height: 20px !important;
    margin-bottom: 0 !important;
    font-size: 10px !important;
    grid-column: 1 / -1 !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
    color: #00ffff;
    font-family: 'Orbitron', monospace;
}

/* 旧的用户信息表单样式已整合到新的响应式设计中 */

/* 弹窗提示样式 */
.prompt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.prompt-modal:not(.hidden) {
    animation: modalFadeIn 0.5s ease-out forwards;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    animation: modalSlideIn 0.5s ease-out;
}

.modal-header h2 {
    color: #00ffff;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.modal-subtitle {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 25px;
    font-family: 'Orbitron', monospace;
}

.modal-body {
    margin: 30px 0;
    line-height: 1.6;
}

.modal-description {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
}

.modal-question {
    color: #00ffff;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 0;
    font-family: 'Rajdhani', sans-serif;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.modal-btn {
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    padding: 20px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modal-btn:hover::before {
    left: 100%;
}

.modal-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.modal-btn.primary-btn {
    border-color: #00ffff;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.2));
}

.modal-btn.primary-btn:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.3));
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.modal-btn.secondary-btn {
    border-color: #666666;
    color: #999999;
}

.modal-btn.secondary-btn:hover {
    border-color: #999999;
    background: rgba(153, 153, 153, 0.1);
    box-shadow: 0 0 20px rgba(153, 153, 153, 0.3);
}

.btn-text {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.btn-subtitle {
    display: block;
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: normal;
}

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

.keyboard-tips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: #888888;
    font-family: 'Orbitron', monospace;
}

.tip-text {
    color: #666666;
}

.tip-key {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    margin: 0 5px;
}

/* 动画效果 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 旧的弹窗响应式样式已整合到新的响应式设计中 */

/* 粒子背景 */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 赛博朋克背景效果 */
.cyberpunk-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* 动态光污染效果 */
.cyber-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(0, 255, 0, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 100, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0, 150, 255, 0.3) 0%, transparent 50%);
    animation: cyberLightsFlow 15s ease-in-out infinite;
}

/* 扫描线效果 */
.cyber-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        rgba(0, 255, 255, 0.1) 1px,
        transparent 2px,
        transparent 4px
    );
    animation: scanlineMove 8s linear infinite;
}

/* 网格效果 */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridPulse 6s ease-in-out infinite;
}

/* 流动光球 */
.cyber-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 光污染流动动画 */
@keyframes cyberLightsFlow {
    0% {
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 40% 70%, rgba(0, 255, 0, 0.25) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(255, 100, 0, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 10% 90%, rgba(0, 150, 255, 0.3) 0%, transparent 50%);
    }
    25% {
        background: 
            radial-gradient(circle at 70% 20%, rgba(0, 255, 255, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 30% 60%, rgba(255, 0, 255, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 255, 0, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 20% 40%, rgba(255, 100, 0, 0.25) 0%, transparent 50%),
            radial-gradient(circle at 90% 10%, rgba(0, 150, 255, 0.2) 0%, transparent 50%);
    }
    50% {
        background: 
            radial-gradient(circle at 90% 70%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 10% 80%, rgba(255, 0, 255, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 60% 20%, rgba(0, 255, 0, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 90%, rgba(255, 100, 0, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(0, 150, 255, 0.25) 0%, transparent 50%);
    }
    75% {
        background: 
            radial-gradient(circle at 30% 80%, rgba(0, 255, 255, 0.35) 0%, transparent 50%),
            radial-gradient(circle at 90% 30%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 70% 70%, rgba(255, 100, 0, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 50% 20%, rgba(0, 150, 255, 0.2) 0%, transparent 50%);
    }
    100% {
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 40% 70%, rgba(0, 255, 0, 0.25) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(255, 100, 0, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 10% 90%, rgba(0, 150, 255, 0.3) 0%, transparent 50%);
    }
}

/* 扫描线移动动画 */
@keyframes scanlineMove {
    0% {
        transform: translateY(-100%);
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.1;
    }
}

/* 网格脉冲动画 */
@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* 主要内容 */
.main-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7); /* 恢复半透明黑色背景，保持页面可读性 */
}

.page-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.page.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.page-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.page-number {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 4em;
    color: rgba(0, 255, 255, 0.3);
    font-weight: 900;
    font-family: 'Orbitron', monospace;
}

/* 特效文字 */
.glitch-text {
    position: relative;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: #ff00ff;
    animation: glitch-1 0.5s infinite;
}

.glitch-text::after {
    color: #00ff00;
    animation: glitch-2 0.5s infinite;
}

.neon-text {
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00ffff,
        0 0 80px #00ffff;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

/* 页面1样式 */
.company-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

.main-title {
    font-family: 'ZCOOL KuaiLe', 'Orbitron', monospace;
    font-size: 3.5em;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.company-name {
    font-family: 'ZCOOL KuaiLe', 'Orbitron', monospace;
    font-size: 2.5em;
    margin-top: 40px;
}

/* 页面2样式 */
.slogan {
    font-size: 4em;
    font-style: italic;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ff00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorShift 3s ease-in-out infinite;
}

/* 页面3样式 */
.page-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* 内容网格变为黑客数据节点布局 */
.content-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    perspective: 800px; /* 为3D变换提供视角 */
    transition: all 0.5s ease;
}

.content-item {
    position: relative;
    padding: 24px;
    background: linear-gradient(145deg, rgba(0, 50, 70, 0.4), rgba(0, 15, 25, 0.6));
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #e0fcff;
    cursor: pointer;
    transition: all 0.3s ease-out;
    will-change: transform, box-shadow;
    clip-path: polygon(0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
    animation: fadeIn 0.5s ease-out forwards;
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 255, 255, 0.3), transparent 30%);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    animation: scanline 3s linear infinite;
    clip-path: inherit; /* inherit the clip-path */
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    50%, 100% { transform: translateY(100%); }
}

.content-item:hover::before {
    opacity: 1;
}

.content-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #ff00ff;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.4);
}

.content-desc-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #ff00ff;
    margin-bottom: 10px;
    text-align: center;
}

.content-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #00ffff;
}

.content-desc-cursor {
    display: inline-block;
    width: 10px;
    height: 1rem;
    background: #00ffff;
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
}

.content-text {
    font-size: 1.4em;
    text-shadow: 0 0 8px #00ffff;
    position: relative;
    z-index: 2; /* To be above the ::before pseudo-element */
}

/* 聚焦效果 */
.content-grid.has-focus .content-item:not(.selected) {
    opacity: 0.15;
    filter: blur(6px);
    transform: scale(0.85);
    pointer-events: none;
}

.content-item.selected {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1); /* Slightly smaller scale */
    width: 90%;
    max-width: 600px; /* Wider */
    border-color: #00ff00;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.5);
    z-index: 100;
    cursor: default;
    clip-path: polygon(0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
}

/* 终端风格描述框 */
.content-desc-wrapper {
    margin-top: 24px;
    padding: 20px;
    background: rgba(0, 10, 15, 0.95);
    border: 1px solid #00ff00;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.content-desc-title {
    color: #00ff00;
    font-size: 1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.content-desc {
    color: #99ff99; /* Lighter green */
    font-size: 1.1em;
    line-height: 1.7;
    white-space: pre-wrap;
}
.content-desc-cursor {
    display: inline-block;
    width: 10px;
    height: 1.3em;
    background-color: #99ff99;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 5px #99ff99;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    from, to { background-color: transparent; }
    50% { background-color: #99ff99; }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* 视频右键菜单样式 */
.video-context-menu {
    animation: fadeIn 0.2s ease-out;
}

.video-context-menu .context-menu-item {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.video-context-menu .context-menu-item:last-child {
    border-bottom: none;
}

.video-context-menu .context-menu-item:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 600px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .content-item.selected {
        width: 95%;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 视频容器样式 */
.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.video-container.horizontal {
    flex-direction: row;
}

.video-container.single {
    flex-direction: column;
}

.video-container.double {
    flex-direction: row;
    gap: 50px;
}

.video-container video {
    max-width: 100%;
    height: auto;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #000;
    display: block;
}

.video-container.horizontal video {
    max-width: 30%;
    min-width: 280px;
    width: 100%;
}

.video-container.single video {
    max-width: 80%;
    min-width: 320px;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.video-container.double video {
    max-width: 40%;
    min-width: 300px;
    width: 100%;
}

.video-container video:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

/* 确保视频封面图片正确显示 */
.video-container video[poster] {
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 确保封面图片完全覆盖视频区域 */
    position: relative;
    overflow: hidden;
}

/* 为视频容器添加封面遮罩层 */
.video-container {
    position: relative;
}

.video-container video[poster]:not([data-playing="true"]) {
    /* 在未播放状态下，确保封面图片完全覆盖 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    object-fit: cover !important;
}

/* 视频控件样式优化 - 移除可能导致遮挡的样式 */
.video-container video::-webkit-media-controls {
    /* 移除可能导致遮挡的滤镜效果 */
    filter: none;
}

.video-container video::-webkit-media-controls-panel {
    /* 移除背景和边框，避免遮挡视频内容 */
    background: none;
    border: none;
}

.video-container video::-webkit-media-controls-play-button,
.video-container video::-webkit-media-controls-volume-slider,
.video-container video::-webkit-media-controls-timeline {
    /* 移除可能导致遮挡的滤镜效果 */
    filter: none;
}

/* 显示全屏按钮 */
.video-container video::-webkit-media-controls-fullscreen-button {
    display: block !important;
    /* 移除可能导致遮挡的滤镜效果 */
    filter: none;
}

/* 显示非 WebKit 浏览器中的全屏按钮 */
video::-moz-fullscreen-button {
    display: block !important;
}
video::-ms-fullscreen-button {
    display: block !important;
}

/* 移除视频hover效果，避免播放时的视觉干扰 */
.video-container video:hover {
    /* 移除可能导致遮挡的变换和阴影效果 */
    transform: none;
    box-shadow: none;
    cursor: pointer;
}

/* 确保视频播放时poster背景被完全清除 */
.video-container video[poster] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 视频开始播放时清除poster背景 */
.video-container video:not([poster]),
.video-container video[data-playing="true"] {
    background-image: none !important;
    background: none !important;
    background-color: transparent !important;
    object-fit: contain !important;
}

/* 强制清除所有播放状态视频的背景 */
.video-container video[data-playing="true"],
.video-container video:not([poster]) {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    object-fit: contain !important;
}

/* 全屏状态下的视频样式 */
video:fullscreen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
    background-image: none !important;
}

video:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
    background-image: none !important;
}

video:-moz-full-screen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
    background-image: none !important;
}

video:-ms-fullscreen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
    background-image: none !important;
}

/* 页面9样式 */
.infographic-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infographic-content {
    width: 100%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.infographic-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(255, 0, 255, 0.1) 50%, 
        rgba(0, 255, 0, 0.1) 100%);
    animation: flowingGradient 4s linear infinite;
}

.chart-container {
    position: relative;
    z-index: 2;
}

.chart-title {
    font-size: 2em;
    color: #00ffff;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.chart-elements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.chart-node {
    background: rgba(255, 0, 255, 0.2);
    border: 2px solid #ff00ff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chart-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.chart-node:hover::before {
    transform: translateX(100%);
}

.chart-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
}

/* 页面10样式 */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.cooperation-item {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cooperation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.cooperation-item:hover::before {
    transform: translateX(100%);
}

.cooperation-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    border-color: #ff00ff;
}

.cooperation-text {
    font-size: 1.2em;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* 导航指示器 */
.nav-indicator {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.nav-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.3);
    border: 2px solid #00ffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    transform: scale(1.3);
}

.dot:hover {
    background: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

/* 动画效果 */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0% { clip: rect(0, 900px, 0, 0); }
    5% { clip: rect(0, 900px, 0, 0); }
    10% { clip: rect(0, 900px, 0, 0); }
    15% { clip: rect(0, 900px, 0, 0); }
    20% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(0, 900px, 0, 0); }
    30% { clip: rect(0, 900px, 0, 0); }
    35% { clip: rect(0, 900px, 0, 0); }
    40% { clip: rect(0, 900px, 0, 0); }
    45% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(0, 900px, 0, 0); }
    55% { clip: rect(0, 900px, 0, 0); }
    60% { clip: rect(0, 900px, 0, 0); }
    65% { clip: rect(0, 900px, 0, 0); }
    70% { clip: rect(0, 900px, 0, 0); }
    75% { clip: rect(0, 900px, 0, 0); }
    80% { clip: rect(0, 900px, 0, 0); }
    85% { clip: rect(0, 900px, 0, 0); }
    90% { clip: rect(0, 900px, 0, 0); }
    95% { clip: rect(0, 900px, 0, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

@keyframes glitch-2 {
    0% { clip: rect(0, 900px, 0, 0); }
    5% { clip: rect(0, 900px, 0, 0); }
    10% { clip: rect(0, 900px, 0, 0); }
    15% { clip: rect(0, 900px, 0, 0); }
    20% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(0, 900px, 0, 0); }
    30% { clip: rect(0, 900px, 0, 0); }
    35% { clip: rect(0, 900px, 0, 0); }
    40% { clip: rect(0, 900px, 0, 0); }
    45% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(0, 900px, 0, 0); }
    55% { clip: rect(0, 900px, 0, 0); }
    60% { clip: rect(0, 900px, 0, 0); }
    65% { clip: rect(0, 900px, 0, 0); }
    70% { clip: rect(0, 900px, 0, 0); }
    75% { clip: rect(0, 900px, 0, 0); }
    80% { clip: rect(0, 900px, 0, 0); }
    85% { clip: rect(0, 900px, 0, 0); }
    90% { clip: rect(0, 900px, 0, 0); }
    95% { clip: rect(0, 900px, 0, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

@keyframes neonPulse {
    0% {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff,
            0 0 40px #00ffff,
            0 0 80px #00ffff;
    }
    100% {
        text-shadow: 
            0 0 2px #00ffff,
            0 0 5px #00ffff,
            0 0 8px #00ffff,
            0 0 12px #00ffff,
            0 0 25px #00ffff,
            0 0 50px #00ffff;
    }
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes flowingGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glitchBg {
    0% { opacity: 0.1; }
    20% { opacity: 0.3; }
    40% { opacity: 0.1; }
    60% { opacity: 0.4; }
    80% { opacity: 0.2; }
    100% { opacity: 0.1; }
}

@keyframes errorPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 黑客故障特效 - 已禁用红色蒙版效果 */
.hacker-glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(255, 0, 255, 0.05) 50%, 
        rgba(0, 255, 0, 0.05) 100%);
    animation: glitchLayer 0.1s infinite;
}

.glitch-layer-0 {
    animation-delay: 0s;
    background: rgba(0, 255, 255, 0.05);
}

.glitch-layer-1 {
    animation-delay: 0.02s;
    background: rgba(0, 255, 0, 0.05);
}

.glitch-layer-2 {
    animation-delay: 0.04s;
    background: rgba(0, 0, 255, 0.05);
}

.glitch-layer-3 {
    animation-delay: 0.06s;
    background: rgba(255, 255, 0, 0.05);
}

.glitch-layer-4 {
    animation-delay: 0.08s;
    background: rgba(255, 0, 255, 0.05);
}

/* 屏幕闪烁效果 - 已禁用 */
.screen-flicker {
    /* animation: screenFlicker 0.1s infinite; */
}

/* 色彩分离效果 - 已禁用红色蒙版 */
.color-separation {
    position: relative;
}

.color-separation::before,
.color-separation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
    pointer-events: none;
}

.color-separation::before {
    background: rgba(0, 255, 255, 0.05);
    animation: colorSeparation1 0.1s infinite;
}

.color-separation::after {
    background: rgba(0, 255, 255, 0.05);
    animation: colorSeparation2 0.1s infinite;
}



/* 增强的故障效果 - 已减少红色相关效果 */
.glitch-intense {
    animation: glitchIntense 0.3s ease-in-out;
}

.data-corruption {
    animation: dataCorruption 0.3s ease-in-out;
}

.signal-interference {
    animation: signalInterference 0.3s ease-in-out;
}

.quantum-fluctuation {
    animation: quantumFluctuation 0.3s ease-in-out;
}

/* 新增动画 */
@keyframes glitchLayer {
    0% { transform: translateX(0); opacity: 1; }
    10% { transform: translateX(-5px); opacity: 0.8; }
    20% { transform: translateX(5px); opacity: 0.6; }
    30% { transform: translateX(-3px); opacity: 0.9; }
    40% { transform: translateX(3px); opacity: 0.7; }
    50% { transform: translateX(-2px); opacity: 1; }
    60% { transform: translateX(2px); opacity: 0.5; }
    70% { transform: translateX(-1px); opacity: 0.8; }
    80% { transform: translateX(1px); opacity: 0.9; }
    90% { transform: translateX(0); opacity: 0.6; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes screenFlicker {
    0% { opacity: 1; }
    2% { opacity: 0.9; }
    4% { opacity: 1; }
    6% { opacity: 0.8; }
    8% { opacity: 1; }
    10% { opacity: 0.9; }
    12% { opacity: 1; }
    14% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes colorSeparation1 {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

@keyframes colorSeparation2 {
    0% { transform: translateX(0); }
    20% { transform: translateX(3px); }
    40% { transform: translateX(-3px); }
    60% { transform: translateX(2px); }
    80% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}



@keyframes glitchIntense {
    0% { transform: translate(0); filter: hue-rotate(0deg); }
    10% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    20% { transform: translate(2px, -2px); filter: hue-rotate(180deg); }
    30% { transform: translate(-1px, 1px); filter: hue-rotate(270deg); }
    40% { transform: translate(1px, -1px); filter: hue-rotate(360deg); }
    50% { transform: translate(-1px, 1px); filter: hue-rotate(90deg); }
    60% { transform: translate(1px, -1px); filter: hue-rotate(180deg); }
    70% { transform: translate(-0.5px, 0.5px); filter: hue-rotate(270deg); }
    80% { transform: translate(0.5px, -0.5px); filter: hue-rotate(360deg); }
    90% { transform: translate(0, 0); filter: hue-rotate(0deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

@keyframes dataCorruption {
    0% { 
        transform: scale(1); 
        text-shadow: 0 0 3px currentColor;
    }
    25% { 
        transform: scale(1.02); 
        text-shadow: 0 0 6px currentColor, 0 0 12px currentColor;
    }
    50% { 
        transform: scale(0.98); 
        text-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
    }
    75% { 
        transform: scale(1.01); 
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
    }
    100% { 
        transform: scale(1); 
        text-shadow: 0 0 3px currentColor;
    }
}

@keyframes signalInterference {
    0% { opacity: 1; }
    10% { opacity: 0.8; }
    20% { opacity: 0.2; }
    30% { opacity: 0.9; }
    40% { opacity: 0.1; }
    50% { opacity: 0.7; }
    60% { opacity: 0.3; }
    70% { opacity: 0.8; }
    80% { opacity: 0.4; }
    90% { opacity: 0.9; }
    100% { opacity: 1; }
}

@keyframes quantumFluctuation {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    20% { 
        transform: scale(1.1) rotate(1deg);
        filter: blur(1px);
    }
    40% { 
        transform: scale(0.9) rotate(-1deg);
        filter: blur(2px);
    }
    60% { 
        transform: scale(1.05) rotate(0.5deg);
        filter: blur(1px);
    }
    80% { 
        transform: scale(0.95) rotate(-0.5deg);
        filter: blur(0.5px);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

/* 视频状态动画 */
@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.8); }
    20% { opacity: 1; transform: scale(1.1); }
    80% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); }
}

/* 响应式设计 - 由 mobile.css 处理移动端样式 */ 

/* 赛博朋克页面切换效果 */
.cyberpunk-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(255, 0, 255, 0.1) 50%, 
        rgba(0, 255, 0, 0.1) 100%);
    animation: cyberpunkTransition 0.8s ease-in-out;
}

.cyberpunk-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00ffff 50%, 
        transparent 100%);
    animation: scanLine 0.8s ease-in-out;
}

.cyberpunk-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 0.8s ease-in-out;
}

.cyberpunk-data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: dataStream 0.8s ease-in-out;
}

.cyberpunk-data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 1%,
        transparent 2%
    );
    animation: dataFlow 0.8s ease-in-out;
}

.cyberpunk-hologram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    animation: hologramPulse 0.8s ease-in-out;
}

.cyberpunk-hologram::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: hologramRing 0.8s ease-in-out;
}

.cyberpunk-hologram::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    animation: hologramRing2 0.8s ease-in-out;
}

/* 赛博朋克动画关键帧 */
@keyframes cyberpunkTransition {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
        filter: hue-rotate(0deg) brightness(0.5);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(180deg) brightness(1);
    }
    75% {
        opacity: 0.8;
        transform: scale(0.95) rotate(-1deg);
        filter: hue-rotate(270deg) brightness(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2) rotate(0deg);
        filter: hue-rotate(360deg) brightness(0.8);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes gridPulse {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes dataStream {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes dataFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes hologramPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
    }
}

@keyframes hologramRing {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

@keyframes hologramRing2 {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* 页面内容赛博朋克进入动画 */
.page.cyberpunk-enter {
    animation: cyberpunkPageEnter 0.6s ease-out;
}

@keyframes cyberpunkPageEnter {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px) brightness(0.5);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05);
        filter: blur(5px) brightness(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px) brightness(1);
    }
}

/* 赛博朋克文字发光效果 */
.cyberpunk-text-glow {
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff;
    }
    100% {
        text-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 40px #00ffff;
    }
} 

/* 优化双视频容器布局，保证视频完整展示 */
.video-container.double {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3vw;
    width: 100%;
    height: auto;
    min-height: 50vh;
    padding: 2vw 0;
    box-sizing: border-box;
}

.video-container.double video {
    max-width: 40vw;
    min-width: 320px;
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    border: 2px solid #00ffff;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(0,255,255,0.4);
    background: #000;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .video-container.double {
        /* 保持横向排列，不再切换为纵向 */
        flex-direction: row;
        gap: 2vw;
        min-height: 60vh;
    }
    .video-container.double video {
        max-width: 45vw;
        min-width: 140px;
        aspect-ratio: 9/16;
    }
}

/* 旧的视频容器样式已整合到新的响应式设计中 */ 

/* 让双视频横向排列，参考horizontal样式 */
.video-container.double {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    height: auto;
    min-height: 50vh;
    padding: 2vw 0;
    box-sizing: border-box;
}

.video-container.double video {
    max-width: 30%;
    min-width: 300px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: 2px solid #00ffff;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(0,255,255,0.4);
    background: #000;
    object-fit: contain;
}

/* 优化第8页标题为左侧竖排 */
#page8 .page-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2vw;
}

#page8 .page-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 2.2em;
    color: #00ffff;
    margin-right: 2vw;
    margin-left: 1vw;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 0 12px #00ffff;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page8 .video-container.double {
    flex: 1;
    min-width: 0;
}

/* 移动端样式由 mobile.css 处理 */ 

/* 优化第8页双视频外框与视频比例一致，且与第4页一样大 */
#page8 .video-container.double {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    width: 100%;
    padding: 2vw 0;
    box-sizing: border-box;
}
#page8 .video-container.double video {
    max-width: 360px;
    min-width: 300px;
    width: 100%;
    height: 640px;
    aspect-ratio: 9/16;
    border: 2px solid #00ffff;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(0,255,255,0.4);
    background: #000;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* 移动端样式由 mobile.css 处理 */ 

/* === 概念图：赛博朋克机械芯片视觉 === */
.concept-diagram {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

/* 桌面端默认显示桌面版本，隐藏移动端版本 */
.desktop-diagram {
    display: block;
}

.mobile-diagram {
    display: none;
}

.mobile-concept-simple {
    display: none;
}

.concept-diagram .node rect {
    fill: rgba(0, 20, 30, 0.85);
    stroke: #00ffff;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px #00ffff) drop-shadow(0 0 12px #00ffff55);
    transition: stroke 0.3s ease, filter 0.3s ease;
}

.concept-diagram .node:hover rect {
    stroke: #ff00ff;
    filter: drop-shadow(0 0 8px #ff00ff) drop-shadow(0 0 16px #ff00ff66);
}

.concept-diagram .node text {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    fill: #e0fcff;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: 0 0 6px #00ffff;
}

/* 连线样式及流动动画 */
.concept-diagram path {
    stroke: #00ffff;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 8 6;
    animation: dashFlow 4s linear infinite;
    filter: drop-shadow(0 0 4px #00ffff88);
}

@keyframes dashFlow {
    to { stroke-dashoffset: -200; }
} 

/* Page9 concept diagram container override */
#page9 .infographic-content {
    background: transparent;
    border: none;
    box-shadow: none;
} 

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11000;
    overflow: hidden;
}

/* 轻量版赛博朋克背景 */
.loading-cyberpunk-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* 光污染效果 - 简化版 */
.loading-cyber-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 20%, rgba(0, 255, 0, 0.08) 0%, transparent 50%);
    animation: loadingLightsFlow 8s ease-in-out infinite;
}

/* 扫描线效果 - 简化版 */
.loading-cyber-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.1) 100%),
        linear-gradient(180deg, transparent 98%, rgba(0, 255, 255, 0.05) 100%);
    background-size: 50px 50px;
    animation: loadingScanlineMove 6s linear infinite;
}

/* 网格效果 - 简化版 */
.loading-cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: loadingGridPulse 4s ease-in-out infinite;
}

/* 简化的动画 */
@keyframes loadingLightsFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0);
        opacity: 0.6;
    }
    50% { 
        transform: translateX(10px) translateY(-10px);
        opacity: 0.8;
    }
}

@keyframes loadingScanlineMove {
    0% { 
        background-position: 0 0, 0 0;
    }
    100% { 
        background-position: 50px 50px, 50px 50px;
    }
}

@keyframes loadingGridPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.loader {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(0, 255, 255, 0.3);
    border-top: 8px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.loading-text {
    font-family: 'Orbitron', monospace;
    margin-top: 20px;
    font-size: 1.2em;
    color: #00ffff;
    letter-spacing: 2px;
    animation: neonPulse 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* 二维码悬浮按钮样式 */
.qr-float-btn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1); /* 半透明背景 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001; /* 提高 z-index */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
}

.qr-float-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.qr-float-btn.dragging {
    transform: scale(1.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.qr-btn-icon {
    width: 30px;
    height: 30px;
    color: white; /* 图标颜色保持清晰 */
    pointer-events: none;
}

.qr-btn-icon svg {
    width: 100%;
    height: 100%;
}

/* 呼吸动画 */
@keyframes breathe {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }
}

.qr-float-btn {
    animation: breathe 2s ease-in-out infinite;
}

.qr-float-btn:hover {
    animation: none;
}

/* 二维码弹窗样式 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10002; /* 确保在最上层 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.qr-modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
    border: 2px solid rgba(0, 255, 136, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.qr-modal.show .qr-modal-content {
    transform: scale(1);
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.qr-name {
    font-size: 28px;
    font-weight: bold;
    color: #00ff88;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    letter-spacing: 2px;
}

.qr-close-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #00ff88;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-close-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: rotate(90deg);
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    border: 2px solid rgba(0, 255, 136, 0.5);
    overflow: hidden;
    position: relative;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-tips {
    text-align: center;
}

.qr-tip-text {
    font-size: 16px;
    color: #00ff88;
    margin: 10px 0;
    font-weight: bold;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.qr-subtitle {
    font-size: 14px;
    color: #8892b0;
    margin: 5px 0;
}

/* 二维码扫描动画已移除，避免影响截图 */

/* 旧的QR码样式已整合到新的响应式设计中 */

/* Contact Info on Page 10 */
.contact-info-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(16, 22, 42, 0.5);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15) inset;
    width: 60%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-name {
    font-family: 'Orbitron', monospace;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.contact-qr-container {
    position: relative;
    width: 140px;
    height: 140px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00ffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    overflow: hidden;
}

.contact-qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.qr-scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #fff;
    animation: scanAnimation 3.5s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

@keyframes scanAnimation {
    0% {
        transform: translateY(0px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(138px);
        opacity: 1;
    }
    100% {
        transform: translateY(0px);
        opacity: 0.8;
    }
}

/* 移动端弹窗样式 */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay-content {
    position: relative;
    background: rgba(0, 20, 30, 0.9);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 30px 20px 20px;
    max-width: 90%;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-overlay-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.mobile-overlay-close:hover,
.mobile-overlay-close:active {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    transform: scale(1.1);
}

.mobile-overlay-title {
    color: #00ffff;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px #00ffff;
    padding-right: 30px;
}

.mobile-overlay-desc {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 20px 0;
}

.mobile-overlay-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    text-align: center;
    margin-top: 15px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 0.7; }
    25%, 75% { opacity: 1; }
}

/* Hide on mobile */
/* 第10页底部行动区域 */
.action-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

/* ================================================
   响应式设计 - 基于桌面端重新适配移动端
   ================================================ */

/* 平板设备 */
@media (max-width: 1024px) {
    .main-title {
        font-size: 3em;
    }
    
    .company-name {
        font-size: 2.2em;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .slogan {
        font-size: 3.5em;
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    /* 基础样式 - 彻底重构 */
    html, body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow-x: hidden;
        position: relative;
        overscroll-behavior: contain;
    }
    
    /* 触摸优化 */
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        box-sizing: border-box;
    }
    
    /* 强制所有容器不溢出 */
    *, *::before, *::after {
        max-width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* 背景视频优化 */
    #bg-video {
        object-fit: cover;
        /* 保持居中变换，确保视频铺满屏幕 */
        transform: translateX(-50%) translateY(-50%);
        /* 确保视频完全覆盖屏幕 */
        width: 100vw;
        height: 100vh;
        min-width: 100%;
        min-height: 100%;
    }
    
    /* 进入页面适配 */
    .enter-logo {
        font-size: 12vw;
        margin-bottom: 40px;
    }
    
    .cyber-button {
        font-size: 1.4em;
        padding: 15px 35px;
    }
    
    /* 用户信息表单优化 - iOS滚动修复 */
    .password-screen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: -webkit-fill-available !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important; /* 阻止body滚动 */
        z-index: 10000 !important;
    }
    
    .user-info-form {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 10px !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 30, 0.95) 100%) !important;
        border: none !important;
        border-radius: 0 !important;
        max-width: none !important;
        max-height: none !important;
        z-index: 10001 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overscroll-behavior: contain !important;
        -ms-scroll-chaining: none !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .user-info-form h1 {
        font-size: 1.4em !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    .close-btn {
        width: 25px !important;
        height: 25px !important;
        font-size: 14px !important;
        top: 10px !important;
        right: 10px !important;
        position: absolute !important;
        z-index: 10002 !important;
        background: rgba(255, 68, 68, 0.1) !important;
        border: 1px solid #ff4444 !important;
        color: #ff4444 !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    .close-btn:hover,
    .close-btn:active {
        background: rgba(255, 68, 68, 0.2) !important;
        transform: scale(1.1) !important;
    }
    
    /* 移动端不需要滚动条 */
    
    /* 消息区域样式 */
    .message {
        margin-top: 8px !important;
        padding: 8px !important;
        border-radius: 4px !important;
        text-align: center !important;
        min-height: 20px !important;
        margin-bottom: 0 !important;
        font-size: 10px !important;
        grid-column: 1 / -1 !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 400px !important;
    }
    
    /* 移动端不需要滚动提示 */
    
    /* 表单头部 - 紧凑设计 */
    .form-header {
        position: relative !important;
        background: transparent !important;
        padding: 8px 0 !important;
        margin-bottom: 8px !important;
        z-index: 10001 !important;
        border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 400px !important;
    }
    
    .form-container {
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-gap: 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 400px !important;
        flex-grow: 1 !important;
        align-content: center !important;
    }
    
    .input-group {
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        background: rgba(0, 255, 255, 0.05) !important;
        border: 1px solid rgba(0, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        padding: 8px !important;
        transition: all 0.3s ease !important;
    }
    
    .input-group:hover {
        background: rgba(0, 255, 255, 0.1) !important;
        border-color: rgba(0, 255, 255, 0.4) !important;
    }
    
    .input-group.full-width {
        grid-column: 1 / -1 !important;
    }
    
    .input-group label {
        font-size: 10px !important;
        margin-bottom: 4px !important;
        display: block !important;
        color: #00ffff !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .input-group input,
    .input-group select {
        padding: 8px !important;
        font-size: 12px !important;
        border: none !important;
        transition: all 0.3s ease !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: rgba(0, 0, 0, 0.6) !important;
        color: #fff !important;
        border-radius: 4px !important;
        outline: none !important;
    }
    
    .input-group input:focus,
    .input-group select:focus {
        background: rgba(0, 0, 0, 0.8) !important;
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
        transform: scale(1.02) !important;
    }
    
    .input-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 16px !important;
        padding-right: 40px !important;
        cursor: pointer !important;
    }
    
    .input-group select option {
        background: #000 !important;
        color: #fff !important;
        padding: 10px !important;
    }
    
    .button-group {
        margin-top: 12px !important;
        padding: 0 !important;
        border-top: 1px solid rgba(0, 255, 255, 0.3) !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-gap: 8px !important;
        grid-column: 1 / -1 !important;
        padding-top: 12px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 400px !important;
    }
    
    .button-group button {
        width: 100% !important;
        padding: 12px 8px !important;
        font-size: 12px !important;
        min-height: 40px !important;
        margin-bottom: 0 !important;
        border: 1px solid #00ffff !important;
        background: rgba(0, 255, 255, 0.1) !important;
        color: #00ffff !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .button-group button:hover,
    .button-group button:active {
        background: rgba(0, 255, 255, 0.2) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
    }
    
    .button-group button.skip-btn {
        background: rgba(153, 153, 153, 0.1) !important;
        border-color: #999 !important;
        color: #999 !important;
    }
    
    .button-group button.skip-btn:hover,
    .button-group button.skip-btn:active {
        background: rgba(153, 153, 153, 0.2) !important;
    }
    
    /* 弹窗适配 */
    .prompt-modal .modal-content {
        padding: 20px;
        max-width: 95%;
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.8em;
    }
    
    .modal-subtitle {
        font-size: 1em;
    }
    
    .modal-description,
    .modal-question {
        font-size: 0.9em;
    }
    
    .modal-btn {
        padding: 12px 20px;
        font-size: 1em;
        min-height: 48px;
    }
    
    .btn-text {
        font-size: 1em;
    }
    
    .btn-subtitle {
        font-size: 0.8em;
    }
    
    .keyboard-tips {
        display: none; /* 移动端隐藏键盘提示 */
    }
    
    /* 页面适配 - 彻底重构 */
    .page {
        padding: 0 2vw !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* 主要内容适配 - 弹性响应 */
    .page-content {
        padding: 20px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        text-align: center !important;
    }
    
    .main-title {
        font-size: 2.5em;
        margin-bottom: 20px;
    }
    
    .company-name {
        font-size: 2em;
        margin-top: 20px;
    }
    
    .company-logo {
        max-width: 200px;
        margin-bottom: 20px;
    }
    
    .slogan {
        font-size: 2.5em;
    }
    
    /* 页面标题 - 弹性响应 */
    .page-title {
        font-size: 5vw !important;
        margin-bottom: 3vw !important;
        line-height: 1.2 !important;
        text-shadow: 0 0 2vw #00ffff !important;
        word-wrap: break-word !important;
        max-width: calc(100vw - 2vw) !important;
    }
    
    .page-number {
        font-size: 3vw !important;
        bottom: 2vw !important;
        right: 2vw !important;
        opacity: 0.7 !important;
    }
    
    /* 内容网格适配 - 弹性响应重构 */
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 1vw !important;
        padding: 1vw !important;
        width: calc(100vw - 2vw) !important;
        max-width: calc(100vw - 2vw) !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .content-item {
        padding: 2vw !important;
        min-height: 15vw !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        border-width: 1px !important;
    }
    
    .content-item.selected {
        width: calc(100vw - 4vw) !important;
        max-width: calc(100vw - 4vw) !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1000 !important;
        padding: 3vw !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    .content-text {
        font-size: 1.1em !important;
        line-height: 1.4 !important;
    }
    
    /* 视频容器适配 - 彻底重构弹性响应 */
    .video-container {
        margin: 1vw 0 !important;
        width: 100% !important;
        max-width: calc(100vw - 4vw) !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 0 2vw !important;
    }
    
    .video-container video {
        width: calc(100vw - 6vw) !important;
        max-width: calc(100vw - 6vw) !important;
        height: auto !important;
        max-height: 40vh !important;
        border: 1px solid #00ffff !important;
        border-radius: 1vw !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        display: block !important;
        /* 强制显示完整的视频控件 */
        -webkit-media-controls-panel: visible !important;
        -webkit-media-controls-start-playback-button: visible !important;
        -webkit-media-controls-fullscreen-button: visible !important;
        -webkit-media-controls-timeline: visible !important;
        -webkit-media-controls-current-time-display: visible !important;
        -webkit-media-controls-time-remaining-display: visible !important;
        -webkit-media-controls-volume-slider: visible !important;
        -webkit-media-controls-play-button: visible !important;
        -webkit-media-controls-pause-button: visible !important;
    }
    
    /* 横向视频容器 - 弹性响应 */
    .video-container.horizontal {
        flex-direction: column !important;
        gap: 1vw !important;
        max-height: 85vh !important;
        width: calc(100vw - 4vw) !important;
        padding: 2vw !important;
    }
    
    .video-container.horizontal video {
        max-height: 25vh !important;
        width: calc(100vw - 8vw) !important;
        max-width: calc(100vw - 8vw) !important;
    }
    
    /* 单视频容器 - 强制完整显示 */
    .video-container.single {
        flex-direction: column !important;
        max-height: 80vh !important;
        width: calc(100vw - 4vw) !important;
        padding: 2vw !important;
        margin: 0.5vw auto !important;
    }
    
    .video-container.single video {
        max-height: 70vh !important;
        width: calc(100vw - 8vw) !important;
        max-width: calc(100vw - 8vw) !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
    
    /* 双视频容器 - 保持水平排列 */
    .video-container.double {
        flex-direction: row !important;
        gap: 2vw !important;
        max-height: 70vh !important;
        width: calc(100vw - 6vw) !important;
        padding: 1vw 3vw !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .video-container.double video {
        max-height: 60vh !important;
        width: calc((100vw - 16vw) / 2) !important;
        max-width: calc((100vw - 16vw) / 2) !important;
        min-width: 140px !important;
        object-fit: contain !important;
    }
    
    /* 导航适配 - 确保不被裁切 */
    .nav-indicator {
        bottom: 20px;
        right: 4vw !important;
        display: block !important;
        visibility: visible !important;
        z-index: 1000 !important;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    /* 合作网格适配 */
    .cooperation-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .cooperation-item {
        padding: 15px;
        min-height: 50px;
    }
    
    .cooperation-text {
        font-size: 1em;
    }
    
    /* 第9页移动端概念图优化 - 弹性响应 */
    .desktop-diagram {
        display: none !important;
    }
    
    .mobile-concept-simple {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5vw !important;
        width: calc(100vw - 8vw) !important;
        max-width: calc(100vw - 8vw) !important;
        margin: 0 auto !important;
        padding: 2vw !important;
        box-sizing: border-box !important;
    }
    
    .concept-item {
        background: rgba(0, 20, 30, 0.85) !important;
        border: 1px solid #00ffff !important;
        border-radius: 2vw !important;
        padding: 3vw !important;
        text-align: center !important;
        box-shadow: 0 0 2vw rgba(0, 255, 255, 0.3) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .concept-item h3 {
        color: #00ffff !important;
        font-size: 4vw !important;
        margin-bottom: 2vw !important;
        text-shadow: 0 0 1vw #00ffff !important;
        line-height: 1.2 !important;
    }
    
    .concept-item p {
        color: #ffffff !important;
        font-size: 3.5vw !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
    }
    
    .infographic-container {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 !important;
        width: calc(100vw - 8vw) !important;
        max-width: calc(100vw - 8vw) !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .infographic-content {
        padding: 2vw !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    /* 图表适配 */
    .chart-elements {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .chart-node {
        padding: 12px;
        font-size: 0.9em;
    }
    
    /* 加载屏幕适配 */
    .loading-screen {
        padding: 20px;
    }
    
    .loader {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }
    
    .loading-text {
        font-size: 14px;
    }
    
    /* QR码浮动按钮适配 - 确保不被裁切 */
    .qr-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 4vw !important;
        display: flex !important;
        visibility: visible !important;
        z-index: 1001 !important;
    }
    
    .qr-btn-icon {
        width: 24px;
        height: 24px;
    }
    
    .qr-modal-content {
        padding: 20px;
        max-width: 95%;
        width: 95%;
    }
    
    .qr-name {
        font-size: 1.2em;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
    }
    
    .qr-tip-text {
        font-size: 0.9em;
    }
    
    /* 联系信息适配 */
    .contact-info-desktop {
        display: none; /* 移动端隐藏桌面端联系信息 */
    }
    
    /* 第9页移动端特定优化 */
    #page9 .infographic-container {
        width: calc(100vw - 6vw) !important;
        max-width: calc(100vw - 6vw) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    #page9 .infographic-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5vw !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* 小屏幕设备进一步优化 */
@media (max-width: 480px) {
    .user-info-form {
        padding: 60px 15px 15px 15px !important;
        max-width: 100% !important;
    }
    
    .modal-content {
        padding: 15px;
        max-width: 95%;
    }
    
    .enter-logo {
        font-size: 15vw;
        margin-bottom: 30px;
    }
    
    .cyber-button {
        font-size: 1.2em;
        padding: 12px 25px;
    }
    
    .main-title {
        font-size: 2em;
    }
    
    .company-name {
        font-size: 1.5em;
    }
    
    .slogan {
        font-size: 2em;
    }
    
    .page-title {
        font-size: 1.5em;
    }
}

/* iOS特定修复 - 强制启用滚动 */
@media (max-width: 767px) {
    /* 针对iOS Safari和Edge的特殊处理 */
    @supports (-webkit-touch-callout: none) {
        .password-screen {
            height: 100vh !important;
            height: -webkit-fill-available !important;
            overflow: hidden !important;
            position: fixed !important;
        }
        
        .user-info-form {
            height: 100vh !important;
            height: -webkit-fill-available !important;
            overflow-y: scroll !important;
            -webkit-overflow-scrolling: touch !important;
            padding: 0 !important;
        }
        
        .form-header {
            position: sticky !important;
            top: 0 !important;
            background: rgba(0, 0, 0, 0.95) !important;
            padding: 20px !important;
            z-index: 10001 !important;
            border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
        }
        
        .form-container {
            padding: 20px !important;
            padding-bottom: 60px !important;
        }
        
        .button-group {
            margin-top: 30px !important;
            padding: 20px 0 40px 0 !important;
            background: rgba(0, 0, 0, 0.9) !important;
            border-radius: 10px !important;
        }
        
        /* 强制启用滚动的额外样式 */
        .user-info-form * {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
        }
    }
}

/* 超小屏幕设备 - 与弹性响应系统配合 */
@media (max-width: 375px) {
    /* 额外的小屏幕保护 */
    .page-title {
        font-size: 6vw !important;
    }
    
    .concept-item h3 {
        font-size: 4.5vw !important;
    }
    
    .concept-item p {
        font-size: 4vw !important;
    }
    
    .main-title {
        font-size: 7vw !important;
    }
    
    .company-name {
        font-size: 5vw !important;
    }
    
    .slogan {
        font-size: 6vw !important;
    }
}

/* 触摸设备悬停状态优化 */
@media (hover: none) and (pointer: coarse) {
    .content-item:hover,
    .cooperation-item:hover,
    .chart-node:hover,
    .modal-btn:hover,
    .button-group button:hover {
        background: rgba(0, 255, 255, 0.1);
        border-color: #00ffff;
        transform: none; /* 移除变换效果 */
    }
    
    .cyber-button:hover {
        background: rgba(0, 255, 255, 0.2);
        color: #00ffff;
        transform: none;
    }
}

/* 兼容性支持 */
@supports (-webkit-appearance: none) {
    .input-group select {
        -webkit-appearance: none;
    }
}

@supports (backdrop-filter: blur(10px)) {
    .user-info-form,
    .modal-content {
        backdrop-filter: blur(10px);
    }
}

/* 横屏模式优化 */
@media (max-width: 767px) and (orientation: landscape) {
    .user-info-form {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .enter-logo {
        font-size: 10vw;
        margin-bottom: 20px;
    }
    
    .main-title {
        font-size: 2.2em;
    }
    
    .slogan {
        font-size: 2.2em;
    }
}

/* 确保所有元素都能正确显示 */
@media (max-width: 767px) {
    * {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .mobile-optimized {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}