/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* 背景图片容器 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* 左右切换按钮 */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    user-select: none;
}

.nav-arrow:hover {
    background: rgba(0, 212, 255, 0.8);
    border-color: rgba(0, 212, 255, 1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.nav-arrow.left {
    left: 30px;
}

.nav-arrow.right {
    right: 30px;
}

/* 粒子画布 */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* 半透明遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* 内容容器 */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    padding: 20px;
    padding-bottom: 30px;
}

/* 按钮容器 */
.button-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 机械风格按钮 */
.btn {
    position: relative;
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    min-width: 160px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 按钮内部光效 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* 按钮边角装饰 */
.btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 8px;
}

.btn:hover::after {
    opacity: 1;
}

/* 进入官网按钮 - 蓝色科技风 */
.btn-primary {
    background: linear-gradient(135deg, rgba(10, 77, 143, 0.9) 0%, rgba(30, 136, 229, 0.9) 50%, rgba(10, 77, 143, 0.9) 100%);
    border-color: #00d4ff;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.5),
        inset 0 0 20px rgba(0, 212, 255, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    color: #ffffff;
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.8),
        inset 0 0 30px rgba(0, 212, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.6);
}

/* 安卓盒子按钮 - 红色机械风 */
.btn-secondary {
    background: linear-gradient(135deg, rgba(143, 10, 61, 0.9) 0%, rgba(229, 30, 99, 0.9) 50%, rgba(143, 10, 61, 0.9) 100%);
    border-color: #ff0066;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    box-shadow: 
        0 0 20px rgba(255, 0, 102, 0.5),
        inset 0 0 20px rgba(255, 0, 102, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    border-color: #ff3388;
    color: #ffffff;
    box-shadow: 
        0 0 40px rgba(255, 0, 102, 0.8),
        inset 0 0 30px rgba(255, 0, 102, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.6);
}

.btn:active {
    transform: translateY(-2px);
}

/* 按钮图标 */
.btn-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

/* 手机端样式 */
@media (max-width: 768px) {
    .bg-container {
        background-size: cover;
        background-position: center center;
    }
    
    /* 手机端隐藏箭头 */
    .nav-arrow {
        display: none;
    }
    
    /* 手机端隐藏粒子画布 */
    #particles-canvas {
        display: none;
    }
    
    .content {
        padding-bottom: 60px;
    }
    
    .button-container {
        gap: 15px;
        flex-direction: row;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-width: 140px;
        letter-spacing: 0.5px;
    }
    
    .btn-icon {
        font-size: 16px;
        margin-right: 4px;
    }
}

@media (max-width: 480px) {
    .button-container {
        flex-direction: row;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 130px;
    }
}
