/* ========================================
   主菜单样式 - 游戏开始界面
   ======================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.menu-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    transform: translateY(-30px);
}

/* 游戏标题 */
.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 
        0 0 20px rgba(0, 242, 255, 0.6),
        0 0 40px rgba(0, 242, 255, 0.4),
        0 0 60px rgba(0, 242, 255, 0.2);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 
            0 0 20px rgba(0, 242, 255, 0.6),
            0 0 40px rgba(0, 242, 255, 0.4),
            0 0 60px rgba(0, 242, 255, 0.2);
    }
    to {
        text-shadow: 
            0 0 30px rgba(0, 242, 255, 0.8),
            0 0 60px rgba(0, 242, 255, 0.5),
            0 0 90px rgba(0, 242, 255, 0.3);
    }
}

/* 菜单按钮容器 */
.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* 菜单按钮基础样式 */
.menu-btn {
    width: 280px;
    height: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 242, 255, 0.05);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.menu-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

/* 主按钮样式（开始游戏） */
.menu-btn.primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.menu-btn.primary:hover {
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.6);
}

/* 禁用状态（预留功能） */
.menu-btn:disabled {
    opacity: 0.4;
    cursor: default;
    border-color: rgba(0, 242, 255, 0.3);
    background: transparent;
    color: rgba(0, 242, 255, 0.5);
    pointer-events: none;
}

.menu-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    color: rgba(0, 242, 255, 0.5);
}

.menu-btn:disabled::before {
    display: none;
}

/* 副标题/版本信息 */
.menu-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: rgba(0, 242, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }
    
    .menu-btn {
        width: 240px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .menu-container {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }
    
    .menu-btn {
        width: 200px;
        height: 42px;
        font-size: 0.8rem;
    }
}
