html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
    color: white;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 250vh; 
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 10%;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin: 0;
    line-height: 1.1;
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

.hero-text h1 span {
    background: linear-gradient(90deg, 
        #ff00aa 0%, 
        #00aaff 25%, 
        #00ffcc 50%, 
        #ff00aa 75%, 
        #ff00aa 100%);
    background-size: 500% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
    animation: rainbow-flow 12s linear infinite;
}

footer {
    position: relative;
    z-index: 2; 
    background: #000;
    border-top: 1px solid #111;
    padding: 100px 0 40px 0;
    overflow: hidden;
}

.footer-decorator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 16px;
    background: linear-gradient(90deg, 
        #ff00aa 0%, 
        #00aaff 25%, 
        #00ffcc 50%, 
        #ff00aa 75%, 
        #ff00aa 100%);
    background-size: 500% 100%;
    border-radius: 0; 
    z-index: 10;
    animation: rainbow-flow 12s linear infinite;
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 500% 50%; 
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#meteor-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 40px;
}

.footer-item h4 {
    color: #00aaff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-item p {
    color: #eee;
    font-size: 0.9rem;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    padding-top: 60px;
    color: #b6b6b6;
    font-size: 12px;
}