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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 呼吸闪烁亮点背景 */
.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #64b5f6;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleBreath 4s ease-in-out infinite;
    box-shadow: 0 0 6px #64b5f6, 0 0 12px #64b5f6;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* 头部样式 - 去掉框框 */
.header {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
}

.main-logo {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 50%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(100, 181, 246, 0.5);
}

/* 主要内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 打字机输入框容器 */
.typewriter-container {
    margin-bottom: 120px;
    margin-top: -80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-box {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.typewriter-text {
    color: #fff;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    color: #64b5f6;
    font-weight: 400;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-section {
    text-align: center;
    max-width: 900px;
    position: relative;
}

/* 内测按钮区域 */
.beta-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.beta-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px 45px;
    min-width: 320px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.beta-btn.active {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 50%, #0d47a1 100%) !important;
    color: white !important;
    transform: translateY(-8px);
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
    box-shadow: 
        0 25px 50px rgba(33, 150, 243, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background-size: 100% 100% !important;
}

.beta-btn.active:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(33, 150, 243, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.beta-btn.disabled {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-content {
    text-align: left;
    flex: 1;
}

.btn-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.btn-desc {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-arrow {
    font-size: 1.8rem;
    font-weight: bold;
    margin-left: 25px;
    opacity: 0.9;
}

.btn-status {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 25px;
    margin-left: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        margin-bottom: 30px;
    }

    .main-logo {
        font-size: 2rem;
    }

    .input-box {
        font-size: 1.5rem;
    }

    .typewriter-container {
        margin-bottom: 80px;
        margin-top: -60px;
    }

    .beta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .beta-btn {
        min-width: 100%;
        max-width: 400px;
        padding: 30px 35px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        font-size: 1.8rem;
    }

    .input-box {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .typewriter-container {
        margin-bottom: 60px;
        margin-top: -100px;
    }

    .beta-btn {
        padding: 25px 30px;
        min-width: 100%;
    }

    .btn-title {
        font-size: 1.3rem;
    }

    .btn-arrow {
        font-size: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 预加载防闪烁 */
.beta-btn.active {
    animation-delay: 0.2s;
}

.beta-btn.disabled {
    animation-delay: 0.4s;
}

.typewriter-container {
    animation: fadeInUp 1s ease forwards;
}

.hero-section {
    opacity: 1;
}

.header {
    animation: fadeInUp 0.8s ease forwards;
}

/* 鼠标悬停时的全局光效 */
.beta-btn.active:hover {
    box-shadow: 
        0 30px 60px rgba(33, 150, 243, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 100px rgba(33, 150, 243, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}