
/* 添加PageHeader和SpecialNavi的样式 */
.normal #bannerfoot, #bannerfoot {
    background: rgba(14, 13, 32, 1);
    position: relative;
    z-index: 200;

    clear: both;
}


/* 添加PageHeader和SpecialNavi的响应式样式 */
@media (max-width: 768px) {
    #specialupperpart {
        display: block !important;
    }
    #speciallowerpart {
        display: block !important;
    }

    .PageHeader.-special .ttl {
        font-size: 28px !important;
    }
    .PageHeader.-special .lead {
        font-size: 16px !important;
    }

    .SpecialNavi__link {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }
}

.banner-section {
    width: 100%;
    position: fixed;
    overflow: hidden;
    margin-bottom: 0; /* 移除底部间距，实现无缝过渡 */
    z-index: 5; /* 降低z-index值以确保Main__bg能覆盖它 */
    height: 100vh; /* 全屏高度 */
    top: 0;
    left: 0;
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* 添加z-index值以确保内容可点击 */
    animation: fadeIn 1.5s ease-in-out;
    transition: all 0.8s ease;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    transform-origin: center center;
}

.banner-slide:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
    z-index: 60; /* 增加z-index值以确保在Main__bg之上 */
}

.banner-content {
    position: relative;
    z-index: 100; /* 增加z-index值以确保在Main__bg之上 */
    text-align: center;
    animation: contentFadeIn 2s ease-out;
    transition: all 0.6s ease;
    color: #fff;
    padding: 40px;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out forwards;
    /* background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); */
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.banner-content img:not(.banner-title-img) {
    max-width: 180px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: glow 3s infinite alternate;
    transition: transform 0.3s ease;
}

.banner-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.banner-title-img {
    max-width: 500px; /* Adjust as needed */
    margin-bottom: 10px; /* Adjust spacing below the title image */
    border-radius: 0; /* Remove border-radius */
    box-shadow: none; /* Remove box-shadow */
    animation: none; /* Remove animation */
}

@keyframes glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

.banner-content h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 8px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Oranienbaum', sans-serif;
    animation: float 3s ease-in-out infinite, titleFadeIn 1.2s ease-out;
    position: relative;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.banner-content h2::first-letter {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.banner-content h3 {
    font-size: 2rem;
    margin-top: 5px; /* Adjust as needed */
    margin-bottom: 10px; /* 增加底部间距 */
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Oranienbaum', sans-serif;
    animation: float 3s ease-in-out infinite 0.5s, titleFadeIn 1.5s ease-out 0.3s;
    position: relative;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

/* 为Y、P、C字母添加更大的样式 */
.larger-letter {
    font-size: 2.4rem; /* 比普通字母大20% */
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 0px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Oranienbaum', sans-serif;
    animation: float 3s ease-in-out infinite 1s, titleFadeIn 1.8s ease-out 0.6s;
    position: relative;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

/* 为THE DELUXE VERSION添加特殊样式 */
.deluxe-text {
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.deluxe-text strong {
    font-weight: 700;
}

.pre-order-btn {
    display: inline-block;
    margin-top: 25px; /* 增加顶部间距 */
    padding: 15px 35px; /* 增加内边距使按钮更大 */
    background-color: rgba(255, 255, 255, 0.25); /* 增加背景透明度 */
    color: #fff;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6); /* 更明显的边框 */
    border-radius: 30px;
    position: relative;
    z-index: 100;
    animation: titleFadeIn 2s ease-out 0.9s;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.3); /* 增强阴影效果 */
    transform-origin: center;
    font-size: 1.1rem; /* 增大字体 */
    font-weight: 600; /* 加粗字体 */
    position: relative;
    z-index: 100; /* 增加z-index值以确保在Main__bg之上 */
    letter-spacing: 3px; /* 增加字母间距 */
    text-transform: uppercase;
    font-family: 'Oranienbaum', sans-serif;
    animation: btnPulse 3s infinite;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.5); /* 增强文字阴影 */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px); /* 增强模糊效果 */
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2); /* 增强光晕效果 */
    overflow: hidden;
}

.pre-order-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    z-index: -1;
}

.pre-order-btn:hover {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 35px rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.6);
}

.pre-order-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.pre-order-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3);
        background-color: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.pre-order-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 1);
    animation-play-state: paused;
    text-decoration: none;
}

.pre-order-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.pre-order-btn:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

/* 添加点击时的微粒效果 */
.pre-order-btn.clicked {
    animation: none;
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .banner-content {
        padding: 25px;
        max-width: 90%;
    }

    .banner-content img {
        max-width: 140px;
        margin-bottom: 20px;
    }

    .banner-content h2 {
        font-size: 2.5rem;
    }

    .banner-content h2::first-letter {
        font-size: 3.5rem;
    }

    .banner-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .pre-order-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .scroll-down-btn {
        bottom: 20px;
    }
}

.pre-order-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.2);
}

.pre-order-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 左右河流流动动画 */
.banner-slide-up {
    animation: riverFlow 20s ease-in-out infinite alternate;
}

@keyframes riverFlow {
    0% { background-position: left center; }
    100% { background-position: right center; }
}

@keyframes btnFloat {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes btnGlow {
    0% {
        box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.18);
    }
    100% {
        box-shadow: 0 0 30px 5px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* 向下滚动按钮 - 超炫动感版 */
.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* 大幅增加z-index值以确保在所有元素之上，可以被点击 */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 25px 0 rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: btnFloat 3s ease-in-out infinite, btnGlow 4s ease-in-out infinite alternate;
    transform-origin: center center;
    pointer-events: auto; /* 确保可以接收点击事件 */
}

.scroll-down-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 30px 8px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
    filter: brightness(1.3) contrast(1.1);
}

.scroll-down-btn:hover .music-note {
    animation-play-state: paused;
    transform: scale(1.2);
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.scroll-down-btn:hover .music-note::before,
.scroll-down-btn:hover .music-note::after {
    opacity: 1;
    animation-play-state: running;
    animation-duration: 2s;
}

/* 点击效果 */
.scroll-down-btn.clicked {
    transform: translateX(-50%) scale(0.9) !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s ease !important;
}

.scroll-down-btn.clicked .music-note {
    transform: scale(0.8) !important;
    transition: all 0.2s ease !important;
}



/* 主脉冲动画 */
.scroll-down-btn {
    animation: mainPulse 3s infinite;
}

@keyframes mainPulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
        background-color: rgba(255, 255, 255, 0.08);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.15);
    }
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
        background-color: rgba(255, 255, 255, 0.08);
    }
}

/* 水波纹效果 - 第一层 */
.scroll-down-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    animation: ripple1 3s infinite;
    z-index: -1;
}

/* 水波纹效果 - 第二层 */
.scroll-down-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    animation: ripple2 3s infinite 0.5s;
    z-index: -2;
}

@keyframes ripple1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@keyframes ripple2 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.2);
    }
}

/* 音符样式 - 更加明显 */
.scroll-down-btn .music-note {
    position: relative;
    font-size: 36px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 25px rgba(255, 255, 255, 0.6);
    animation: noteFloat 2s ease-in-out infinite, noteRotate 6s linear infinite, notePulse 3s ease-in-out infinite;
    z-index: 1001; /* 确保音符在按钮上方 */
    transition: all 0.4s ease;
    transform-origin: center center;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
    font-weight: bold;
}

/* 添加小音符装饰 */
.scroll-down-btn .music-note::before,
.scroll-down-btn .music-note::after {
    content: '♫';
    position: absolute;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    opacity: 0;
}

.scroll-down-btn .music-note::before {
    top: -15px;
    right: -10px;
    animation: smallNote1 4s ease-in-out infinite 0.5s;
}

.scroll-down-btn .music-note::after {
    bottom: -10px;
    left: -15px;
    animation: smallNote2 4s ease-in-out infinite;
}

@keyframes smallNote1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8);
    }
    30% {
        opacity: 1;
        transform: translate(10px, -10px) scale(1);
    }
    60% {
        opacity: 0;
        transform: translate(20px, -20px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8);
    }
}

@keyframes smallNote2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8);
    }
    30% {
        opacity: 1;
        transform: translate(-10px, 10px) scale(1);
    }
    60% {
        opacity: 0;
        transform: translate(-20px, 20px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8);
    }
}

@keyframes noteFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes noteRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes notePulse {
    0%, 100% {
        opacity: 0.7;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    }
}

/* 过渡覆盖动画 */
#mainContent{
    position: relative;
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
    transform-origin: top center;
    opacity: 0;
    transform: translateY(-50px);
    z-index: 5;
    margin-top: 100vh; /* 添加顶部边距，等于banner的高度 */
}

#mainContent.active {
    opacity: 1;
    transform: translateY(0);
}

/* 页面翻转效果已移除 */

/* 确保Main__bg作为Main__body的背景，实现覆盖效果 */
.Main__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 20; /* 降低z-index值，确保不会遮挡banner-section的内容 */
    overflow: hidden;
    transform: translateY(-50%); /* 修改为-50%便于调试 */
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    visibility: visible; /* 确保元素可见 */
    display: block; /* 确保元素显示 */
    pointer-events: none; /* 添加此属性使其不阻挡点击事件 */
}

.Main.active .Main__bg {
    transform: translateY(0);
}

/* Main激活时的样式 */
.Main.active {
    opacity: 1 !important;
}

.Main__bg .inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('11.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform, opacity; /* 提示浏览器这些属性将会变化，优化渲染性能 */
    opacity: 0.5; /* 初始透明度 */
    transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1), transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: perspective(1200px) rotateY(-15deg) scale(1.1); /* 初始翻书效果 */
    transform-origin: left center; /* 从左侧翻页 */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* 添加阴影增强覆盖效果 */
    z-index: 21; /* 调整z-index值，确保在Main__bg之上但不会遮挡banner内容 */
    pointer-events: none; /* 添加此属性使其不阻挡点击事件 */
    backface-visibility: hidden; /* 优化渲染性能 */
    -webkit-backface-visibility: hidden; /* 兼容Safari */
}
.Main.active .Main__bg .inner {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) scale(1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6); /* 增强阴影效果 */
}
.Main__body {
    position: relative;
    z-index: 210; /* 增加z-index值以确保在Main__bg之上 */

    min-height: 100vh; /* 确保内容区域至少有一个屏幕高度 */
}
@media (max-width: 768px) {
    .banner-section {
        height: 100vh; /* 移动设备上也保持全屏 */
    }

    .banner-content {
        padding: 20px;
        max-width: 90%;
    }

    .banner-content img {
        max-width: 100px;
        margin-bottom: 15px;
    }

    .banner-content h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .banner-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .pre-order-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 15px;
    }

    .scroll-down-btn {
        width: 36px;
        height: 36px;
        bottom: 30px;
    }

    .scroll-down-btn .music-note {
        font-size: 24px;
    }
}
