* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    user-select: none;
    /* 现代浏览器 */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+ */
}

.slide {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.main-title {
    font-family: "Microsoft YaHei", serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffffff, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

.button-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.navigation {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: #ffd700;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* 背景渐变 */
.bg-gradient-1 {
    background: linear-gradient(135deg, #1a2980 0%, #448cad81 100%);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #7a763b 0%, #ccbb97 100%);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #acc53b 0%, #4f995f 100%);
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #00afce 0%, #546799 100%);
}

/* 背景图片 */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
    /* 模糊背景图 */
    filter: blur(2px);
    transform: scale(1.1);
}

.slide:nth-child(1)::before {
    background-image: url('./background/bg1.webp');
}

.slide:nth-child(2)::before {
    background-image: url('./background/bg2.webp');
}

.slide:nth-child(3)::before {
    background-image: url('./background/bg3.webp');
}

.slide:nth-child(4)::before {
    background-image: url('./background/bg4.webp');
}

/* 装饰元素 */
.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 250px;
    }

    .navigation {
        right: 1rem;
    }

    .slide-content {
        padding: 0 1rem;
    }
}

/* 加载动画 */
.slide-enter {
    animation: slideEnter 1s ease-out;
}

@keyframes slideEnter {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-enter {
    animation: titleEnter 1.2s ease-out 0.3s both;
}

@keyframes titleEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle-enter {
    animation: subtitleEnter 1.2s ease-out 0.6s both;
}

@keyframes subtitleEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.buttons-enter {
    animation: buttonsEnter 1.2s ease-out 0.9s both;
}

@keyframes buttonsEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 在中等及以下屏幕尺寸隐藏导航点 */
@media (max-width: 768px) {
  .navigation {
    display: none !important;
  }
}