
:root {
    --cyber-blue: #00f2ff;
    --cyber-purple: #7000ff;
    --bg-black: #020205;
    --hologram-white: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-black);
    color: #ffffff;
    font-family: 'Inter', -apple-system, "PingFang SC", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* 全局流体弥散背景 */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(112, 0, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.08) 0%, transparent 40%);
    filter: blur(80px);
    animation: bgFlow 25s infinite alternate ease-in-out;
}

@keyframes bgFlow {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.15) translate(2%, 2%); }
}

/* 全息玻璃材质 */
.hologram-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hologram-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 文字渐变 */
.text-cyan-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 按钮 - 赛博风格 */
.btn-cyber {
    background: #ffffff;
    color: #000000;
    font-weight: 900;
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-cyber:hover {
    background: var(--cyber-blue);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    transform: scale(1.02);
}

/* 弹窗全局规范 */
.premium-modal {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 48px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 255, 0.05);
}

.modal-backdrop-blur {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.input-cyber {
    min-width: 0; /* prevent overflow in flex containers */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: white;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-cyber:focus {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--cyber-blue);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
    outline: none;
}

.btn-cyber-primary {
    background: #ffffff;
    color: #000000;
    font-weight: 900;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
    transition: all 0.3s;
}

.btn-cyber-primary:hover {
    background: var(--cyber-blue);
    transform: scale(1.02);
}

.nav-link-cyber {
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.3s;
}

.nav-link-cyber.active {
    color: var(--cyber-blue);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    position: relative;
}

.nav-link-cyber.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyber-blue);
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
}

/* 统一提升装饰性小字体的可读性 */
.text-tiny-pro {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========== 移动端全局优化（与 common.css 配合） ========== */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    .hologram-card {
        border-radius: 20px;
    }
    .hologram-card:hover {
        transform: none;
    }
    .rounded-3xl { border-radius: 1.25rem !important; }
    .rounded-\[32px\] { border-radius: 1.25rem !important; }
    .rounded-\[48px\] { border-radius: 1.5rem !important; }
    .rounded-\[24px\] { border-radius: 1rem !important; }
    .rounded-\[30px\] { border-radius: 1.25rem !important; }
}
