﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background: #0a0e17;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Arial', sans-serif;
    position: relative;
}

/* 动态背景层 */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(41, 9, 80, 0.6) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(25, 18, 84, 0.6) 0%, transparent 40%);
    z-index: 1;
}

/* 粒子容器 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* 粒子通用样式 */
.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

    /* 大型粒子 */
    .particle.large {
        width: 40px;
        height: 40px;
        background: rgba(0, 247, 255, 0.7);
        box-shadow: 0 0 20px rgba(0, 247, 255, 0.8), 0 0 40px rgba(0, 247, 255, 0.5), 0 0 60px rgba(0, 247, 255, 0.3);
        animation-duration: 25s;
        animation-delay: -5s;
    }

    /* 中型粒子 */
    .particle.medium {
        width: 15px;
        height: 15px;
        background: rgba(138, 43, 226, 0.7);
        box-shadow: 0 0 15px rgba(138, 43, 226, 0.7), 0 0 30px rgba(138, 43, 226, 0.4);
        animation-duration: 20s;
        animation-delay: -10s;
    }

    /* 小型粒子 */
    .particle.small {
        width: 6px;
        height: 6px;
        background: rgba(75, 0, 130, 0.7);
        box-shadow: 0 0 10px rgba(75, 0, 130, 0.7), 0 0 20px rgba(75, 0, 130, 0.4);
        animation-duration: 15s;
        animation-delay: -15s;
    }

/* 粒子浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate3d(20vw, 25vh, 100px) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate3d(40vw, 50vh, 200px) rotate(180deg) scale(0.8);
    }

    75% {
        transform: translate3d(10vw, 75vh, 300px) rotate(270deg) scale(1.1);
    }
}

/* 3D旋转立方体 */
.cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
    z-index: 7;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 247, 255, 0.6);
    background: rgba(0, 247, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    backdrop-filter: blur(5px);
}

    .cube-face:nth-child(1) {
        transform: translateZ(50px);
    }

    .cube-face:nth-child(2) {
        transform: translateZ(-50px) rotateY(180deg);
    }

    .cube-face:nth-child(3) {
        transform: translateX(-50px) rotateY(-90deg);
    }

    .cube-face:nth-child(4) {
        transform: translateX(50px) rotateY(90deg);
    }

    .cube-face:nth-child(5) {
        transform: translateY(-50px) rotateX(90deg);
    }

    .cube-face:nth-child(6) {
        transform: translateY(50px) rotateX(-90deg);
    }

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* 内容样式 */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 100, 255, 0.3);
    backdrop-filter: blur(10px);
    transform: translateZ(50px);
    transition: transform 0.5s, box-shadow 0.5s;
}

    .content:hover {
        transform: translateZ(60px) scale(1.02);
        box-shadow: 0 0 40px rgba(0, 150, 255, 0.5);
    }

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #00f7ff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
    }

    100% {
        text-shadow: 0 0 20px rgba(0, 247, 255, 0.6), 0 0 30px rgba(138, 43, 226, 0.4);
    }
}

p {
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #c5e3f6;
}

.tech-data {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.data-item {
    padding: 10px 20px;
    background: rgba(0, 20, 40, 0.5);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 5px;
    animation: dataPulse 3s infinite alternate;
}

@keyframes dataPulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 247, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 247, 255, 0.6);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
    }

    .tech-data {
        flex-direction: column;
    }

    .hologram {
        transform: scale(0.8) translateY(-100px);
    }
}
