/* 真真AI首页 - 科幻动态背景 */

/* 全局科幻背景层 */
.scifi-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 25%, #0f1a3a 50%, #1a0a2e 75%, #0a0a1a 100%);
    background-size: 400% 400%;
    animation: bg-shift 20s ease infinite;
}

@keyframes bg-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 流动光效层 */
.scifi-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(79, 195, 247, 0.1) 0%, transparent 50%);
    animation: glow-move 15s ease-in-out infinite;
}

@keyframes glow-move {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

/* 赛博网格层 */
.scifi-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* 全局粒子 */
.scifi-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.scifi-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* 首页内容区域半透明背景 */
.home-content-wrapper {
    background: rgba(10, 10, 30, 0.7) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px !important;
    margin: 20px auto !important;
    max-width: 900px !important;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 首页文字颜色适配深色背景 */
.home-content-wrapper h1,
.home-content-wrapper h2,
.home-content-wrapper h3,
.home-content-wrapper h4 {
    color: #fff !important;
}

.home-content-wrapper p,
.home-content-wrapper li,
.home-content-wrapper blockquote {
    color: rgba(255, 255, 255, 0.85) !important;
}

.home-content-wrapper strong {
    color: #a5b4fc !important;
}

.home-content-wrapper blockquote {
    border-left-color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
    padding: 12px 20px !important;
    border-radius: 0 8px 8px 0 !important;
}

.home-content-wrapper hr {
    border-color: rgba(102, 126, 234, 0.3) !important;
}

/* 太阳系动画样式 */

.solar-system-container {
    position: relative !important;
    width: 100% !important;
    max-width: 500px !important;
    height: 500px !important;
    margin: 0 auto 40px !important;
    overflow: hidden !important;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0c29 50%, #000000 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(102, 126, 234, 0.2) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
}

.solar-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
}

/* 太阳 */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #fff5b8, #ffd700 40%, #ff8c00 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 80px rgba(255, 140, 0, 0.5),
        0 0 120px rgba(255, 100, 0, 0.3);
    z-index: 10;
    animation: sun-pulse 3s ease-in-out infinite;
}

@keyframes sun-pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 140, 0, 0.5), 0 0 120px rgba(255, 100, 0, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 100px rgba(255, 140, 0, 0.7), 0 0 150px rgba(255, 100, 0, 0.4); }
}

/* 轨道 */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

/* 行星 */
.planet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* 水星 */
.orbit-mercury {
    width: 90px;
    height: 90px;
    animation: rotate 4s linear infinite;
}
.mercury {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    box-shadow: 0 0 8px rgba(176, 176, 176, 0.5);
}

/* 金星 */
.orbit-venus {
    width: 130px;
    height: 130px;
    animation: rotate 7s linear infinite;
}
.venus {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ffd699, #e6a64c);
    box-shadow: 0 0 10px rgba(255, 214, 153, 0.6);
}

/* 地球 */
.orbit-earth {
    width: 180px;
    height: 180px;
    animation: rotate 10s linear infinite;
}
.earth {
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, #6bb3f0, #2e7d32);
    box-shadow: 0 0 12px rgba(107, 179, 240, 0.6);
}

/* 火星 */
.orbit-mars {
    width: 230px;
    height: 230px;
    animation: rotate 15s linear infinite;
}
.mars {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff7043, #c62828);
    box-shadow: 0 0 10px rgba(255, 112, 67, 0.6);
}

/* 木星 */
.orbit-jupiter {
    width: 300px;
    height: 300px;
    animation: rotate 25s linear infinite;
}
.jupiter {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #d4a574, #8b6914);
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

/* 土星 */
.orbit-saturn {
    width: 360px;
    height: 360px;
    animation: rotate 35s linear infinite;
}
.saturn {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #f0d78c, #c9a227);
    box-shadow: 0 0 12px rgba(240, 215, 140, 0.5);
}
.saturn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(240, 215, 140, 0.6);
    border-radius: 50%;
}

/* 天王星 */
.orbit-uranus {
    width: 410px;
    height: 410px;
    animation: rotate 45s linear infinite;
}
.uranus {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #b3e5fc, #4fc3f7);
    box-shadow: 0 0 12px rgba(179, 229, 252, 0.6);
}

/* 海王星 */
.orbit-neptune {
    width: 450px;
    height: 450px;
    animation: rotate 60s linear infinite;
}
.neptune {
    width: 13px;
    height: 13px;
    background: linear-gradient(135deg, #5c6bc0, #283593);
    box-shadow: 0 0 12px rgba(92, 107, 192, 0.6);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 星星背景 */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 首页内容样式 */
.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.home-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-subtitle {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

/* 响应式 */
@media (max-width: 600px) {
    .solar-system-container {
        height: 350px;
    }
    .solar-system {
        width: 320px;
        height: 320px;
    }
    .orbit-mercury { width: 64px; height: 64px; }
    .orbit-venus { width: 92px; height: 92px; }
    .orbit-earth { width: 128px; height: 128px; }
    .orbit-mars { width: 164px; height: 164px; }
    .orbit-jupiter { width: 214px; height: 214px; }
    .orbit-saturn { width: 256px; height: 256px; }
    .orbit-uranus { width: 292px; height: 292px; }
    .orbit-neptune { width: 320px; height: 320px; }
    .home-title { font-size: 24px; }
}
