﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
}

html {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    margin: 0;
    min-height: 100vh;
    scroll-snap-type: y mandatory;
    background: #1a2a6c;
}

.page-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3d4f61, #2C3E50);
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ECF0F1;
}

.section-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    color: #fff;
    overflow: hidden;
    padding: 10px 0;
}

.desc-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotate(10deg);
    animation: flyIn 1s forwards ease-out;
}

@keyframes flyIn {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #3498DB;
    color: #ECF0F1;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        background: #2980B9;
    }

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: 0.5s;
        z-index: -1;
    }

    .cta-button:hover::before {
        left: 100%;
    }

.webName {
    position: fixed;
    top: 2rem;
    left: 4rem;
    z-index: 1000;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffe6c7;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #e60073, 0 0 20px #e60073, 0 0 25px #e60073;
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
    }
}

.infoBox {
    width: auto;
    height: 30vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2C3E50;
    color: #ECF0F1;
    text-align: center;
    padding: 2rem;
}


.star {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 4s infinite ease-in-out;
    z-index:999999;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
