/* 启动动画容器 */
.launch-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.launch-animation-container.active {
    display: block;
}

/* 背景画布 */
#launch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 启动动画主体 */
.launch-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center;
}

/* Logo样式 */
.launch-logo {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.launch-logo-icon {
    font-size: 80px;
    color: #00ffea;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 255, 234, 0.7);
    animation: pulse 2s infinite alternate;
}

.launch-logo-text {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, #00ffea, #0080ff, #00ffea);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.launch-logo-subtext {
    font-size: 18px;
    color: #aaa;
    letter-spacing: 4px;
    margin-top: 5px;
    font-weight: 300;
}

/* 启动按钮 */
.launch-power-button {
    position: relative;
    margin: 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.launch-power-button:hover {
    transform: scale(1.05);
}

.launch-power-button:active {
    transform: scale(0.98);
}

.launch-button-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 234, 0.2) 0%, rgba(0, 128, 255, 0.1) 70%, transparent 100%);
    border: 3px solid rgba(0, 255, 234, 0.5);
    box-shadow: 
        0 0 30px rgba(0, 255, 234, 0.5),
        inset 0 0 30px rgba(0, 255, 234, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: rotate 15s linear infinite;
}

.launch-button-circle::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(transparent, rgba(0, 255, 234, 0.8), transparent);
    animation: rotate 3s linear infinite;
}

.launch-button-circle::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 20, 0.9) 30%, rgba(0, 20, 40, 0.9) 100%);
}

.launch-power-icon {
    position: relative;
    z-index: 3;
    font-size: 70px;
    color: #00ffea;
    text-shadow: 0 0 15px rgba(0, 255, 234, 0.8);
}

.launch-button-text {
    position: absolute;
    bottom: -40px;
    width: 100%;
    font-size: 24px;
    font-weight: 600;
    color: #00ffea;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.7);
}

/* 加载容器 */
.launch-loading-container {
    margin-top: 40px;
    width: 300px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.launch-loading-container.active {
    opacity: 1;
}

.launch-loading-text {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.launch-loading-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.launch-loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0080ff, #00ffea);
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

.launch-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loadingShine 2s infinite;
}

.launch-status-text {
    margin-top: 30px;
    font-size: 16px;
    color: #888;
    min-height: 24px;
    position: relative;
    overflow: hidden;
}

/* 全息投影 */
.launch-hologram-container {
    position: absolute;
    width: 300px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.launch-hologram {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 255, 234, 0.1) 50%, transparent 60%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    animation: hologramFloat 4s ease-in-out infinite;
}

.launch-hologram-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 234, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    animation: hologramGrid 10s linear infinite;
}

/* 系统信息 */
.launch-system-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.launch-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 扫描线 */
.launch-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.8), transparent);
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.8);
    z-index: 5;
    opacity: 0;
}

/* 六边形网格 */
.launch-hex-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 234, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0;
}

.launch-hex-grid.active {
    animation: hexGridPulse 5s infinite;
}

/* 脉冲环 */
.launch-pulse-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 234, 0.3);
    opacity: 0;
    z-index: 1;
}

/* 数字雨 */
.launch-digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.launch-rain-column {
    position: absolute;
    top: -100px;
    width: 20px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: rgba(0, 255, 234, 0.8);
    text-shadow: 0 0 5px rgba(0, 255, 234, 0.9);
}

/* 动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(0, 255, 234, 0.7);
    }
    100% {
        transform: scale(1.05);
        text-shadow: 0 0 25px rgba(0, 255, 234, 0.9), 0 0 40px rgba(0, 255, 234, 0.5);
    }
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

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

@keyframes hologramFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes hologramGrid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

@keyframes hexGridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0.8;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes textReveal {
    0% {
        max-height: 0;
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        max-height: 50px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes digitalRain {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .launch-logo-text {
        font-size: 32px;
    }
    
    .launch-logo-icon {
        font-size: 60px;
    }
    
    .launch-button-circle {
        width: 130px;
        height: 130px;
    }
    
    .launch-button-circle::before {
        width: 145px;
        height: 145px;
    }
    
    .launch-button-circle::after {
        width: 120px;
        height: 120px;
    }
    
    .launch-power-icon {
        font-size: 55px;
    }
    
    .launch-button-text {
        font-size: 20px;
    }
    
    .launch-hologram-container {
        width: 250px;
        height: 150px;
    }
}