@font-face {
    font-family: 'my';
    src: url(./images/Slidefu-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'my';
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: 'my';
    background: url(./images/ce.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.animation-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.background-content {
    width: 100vw;
    height: 100vh;
    padding: 20px;
    background-color: #60A3D2;
    border-radius: 60px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.8);
    background: url(./images/baye.png) no-repeat center center;
    background-size: cover;
}

.main-title {
    color: white;
    font-size: 10rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(-30px);
}

.avatars-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.avatar {
    width: 0;
    height: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status-text {
    color: white;
    font-size: 2.5rem;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.progress-bar-container {
    width: 200px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
    opacity: 0;
    display: flex;
    gap: 8px;
    padding: 5px;
}

.progress-segment {
    flex: 1;
    background-color: white;
    height: 100%;
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
}


/* Styles for the new main content */

.main-content {
    opacity: 0;
    pointer-events: none;
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    align-items: center;
    /* Center horizontally */
    justify-content: flex-end;
    /* Align to the top initially */
    /* padding-bottom: 50px; */
    padding-top: 250px;
    /* Add some padding from the top */
    background: url(./images/my.png) no-repeat center center;
    /* Keep existing background */
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    border: 5px solid rgb(144, 204, 47);
    border-radius: 15px;
}

.main-page-title {
    font-family: 'my';
    font-size: 24rem;
    /* Adjust font size as needed */
    font-weight: bold;
    margin-bottom: 50px;
    background-image: linear-gradient(to bottom, #FFD700, #FF6347);
    /* Gold to Tomato gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: #934c3f;
    /* Make text transparent to show gradient */
    display: flex;
    /* To display chars side by side */
    position: relative;
    /* For animation */
}

.main-page-title .char {
    opacity: 0;
    transform: translateY(-50px);
    /* Initial position for animation */
    display: inline-block;
    /* Essential for transform to work on span */
}

.content-section {
    position: relative;
    /* Container for absolutely positioned children */
    width: 100%;
    /* Control width of this section */
    /* max-width: 1200px; */
    /* Max width for larger screens */
    height: 74vh;
    /* Define a fixed height for the section to contain the absolute elements */
    margin-top: 50px;
    /* Space from the title */
    border-radius: 15px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
    overflow: hidden;
}

.content-image {
    position: absolute;
    /* Position absolutely within .content-section */
    top: 0;
    left: 0;
    width: 89%;
    /* Fill the container */
    height: 100%;
    /* Fill the container */
    object-fit: contain;
    /* Cover the area, cropping if necessary */
    border-radius: 10px;
    /* Apply border-radius to the image as well */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
    opacity: 0;
    /* Initial state for animation */
    transform: scale(0.8);
    z-index: 1;
    /* Behind the text */
}

.text-content {
    position: absolute;
    /* Position absolutely within .content-section */
    top: 51%;
    left: 73%;
    transform: translate(-50%, -50%);
    /* Center it */
    width: 16%;
    padding: 85px;
    /* Add padding */
    background-image: url(./images/uu.png);
    background-size: contain;
    background-repeat: no-repeat;
    /* background-color: rgba(255, 255, 255, 0.85); */
    /* Slightly less transparent background for readability */
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); */
    text-align: left;
    z-index: 2;
    /* Above the image */
}

.content-text-title {
    font-family: 'my';
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    opacity: 0;
    /* Initial state for animation */
    transform: translateY(20px);
}

.content-text-paragraph {
    font-family: 'my';
    /* Assuming 'my' font works for paragraphs too */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    opacity: 0;
    /* Initial state for animation */
    transform: translateY(20px);
}


/* 第二部分动画样式 - 修改 */

.second-content {
    opacity: 0;
    /* 初始设为0，由GSAP控制渐入 */
    pointer-events: none;
    /* 初始禁用交互，由GSAP控制 */
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    background: url(./images/ii.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    border: 5px solid #97C5F2;
    border-radius: 15px;
    padding: 50px;
    padding-top: 300px;
    box-sizing: border-box;
    padding-left: 210px;
}


/* 新增的 .second-text-line 样式 */

.second-text-line {
    opacity: 0;
    max-width: 0;
    /* 初始最大宽度为0，用于从左展开动画 */
    overflow: hidden;
    white-space: nowrap;
    /* 防止文本换行，确保单行展开 */
    display: block;
    /* 保持 p 标签的块级特性 */
    /* 继承字体大小、颜色和外边距，所以不需要在这里重新定义 */
}

.second-center-content {
    display: flex;
    flex-direction: column;
}

.second-center-content h1 {
    color: #934c3f;
    font-size: 10rem;
}


/* .second-center-content .my-p 和 .second-center-content .my-p-1 的样式保持不变，
   因为 second-text-line 只是追加类，不会覆盖它们。 */

.second-left-content p,
.second-third-content p {
    font-size: 2rem;
    /* 统一为2em，或者根据需求调整 */
    color: #333;
    margin-top: 20px;
    padding: 20px;
    margin-top: 20px;
    background: #97c5f275;
    border-radius: 20px;
}

.second-third-content p {
    font-size: 2.2rem;
    /* 保持原有的2.2em */
    color: #333;
    margin-top: 20px;
}


/* 文本动画初始状态 */


/* 移除原有的 .animate-text 动画，因为将由GSAP控制 */


/* .animate-text {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    animation: textAppear 0.8s ease-out forwards;
    animation-delay: calc(var(--delay) * 1s);
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(90deg);
        filter: blur(10px);
    }
    50% {
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}


/* 文字悬停效果 */

.animate-text:hover {
    color: #ff6b6b;
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}


/* Thrid Content Styles */

.thrid-content {
    opacity: 1;
    /* Initially hidden, will be animated by GSAP */
    pointer-events: none;
    /* Initially not interactive */
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Center content vertically */
    background: url(./images/77.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    border: 5px solid #97C5F2;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 0;
    padding-top: 8%;
}

.semicircle-container {
    position: relative;
    width: 80vw;
    /* User requested width */
    height: 450px;
    /* Increased height to accommodate higher line and hanging photos */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align children to top for positioning */
    /* background-color: rgba(0, 255, 0, 0.1); /* For debugging */
}

.semicircle-line {
    position: absolute;
    top: -40px;
    /* 向下弯曲的位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* 可以调整宽度控制弯曲范围 */
    height: 150px;
    /* 高度影响弯曲深度 */
    border-bottom: 2px solid #555;
    border-bottom-left-radius: 50% 150px;
    border-bottom-right-radius: 50% 150px;
    z-index: 4;
    font-size: 5rem;
}

.photo-item {
    position: absolute;
    /* positioned relative to .semicircle-container */
    width: 140px;
    /* Slightly wider photos */
    height: auto;
    /* Will be set dynamically by JS (stringLength + imageHeight) */
    text-align: center;
    transform-origin: center top;
    /* Pivot point for swinging animation is top-center of the photo-item */
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 40px, 160px 35px, 200% 200%, 0 100%, 0 43%, 0 20%);
    clip-path: polygon(0 0, 100% 0, 100% 40px, 160px 35px, 200% 200%, 0 100%, 0 43%, 0 20%);
    border-radius: 5px;
    overflow: hidden;
    padding-top: 0px;
    /* Ensure image doesn't overflow rounded corners */
    opacity: 0;
    /* ADDED: Initial state for animation */
    transform: scale(0.5);
    /* ADDED: Initial state for animation */
}

.photo-item .string {
    position: absolute;
    top: 0;
    /* String starts at the very top of the photo-item (its attachment point) */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: black;
    /* Black string */
    z-index: 1;
    /* Ensure string is visible, but behind the border if it overlaps */
    height: 0;
    /* Will be set dynamically in JS */
}

.photo-item img {
    width: 100%;
    height: 400px;
    /* Fixed height for the image part */
    object-fit: cover;
    border-radius: 5px;
    display: block;
    position: absolute;
    /* To position it below the string */
    left: 0;
    top: 0;
    /* Will be set dynamically in JS to be below the string */
}


/* 第三部分照片动画样式 */

.animate-photo {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
    animation: photoDrop 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: calc(var(--photo-delay) * 0.3s);
}

@keyframes photoDrop {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.3) rotate(180deg);
        filter: blur(10px);
    }
    50% {
        filter: blur(2px);
    }
    80% {
        transform: translateY(10px) scale(1.1) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        filter: blur(0);
    }
}


/* 照片悬停效果增强 */

.animate-photo:hover {
    transform: scale(1.05) rotate(5deg) !important;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-photo:hover img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}


/* 照片绳子动画 */

.photo-item .string {
    transform-origin: top center;
    animation: stringSwing 3s ease-in-out infinite;
    animation-delay: calc(var(--photo-delay) * 0.5s);
}

@keyframes stringSwing {
    0%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) rotate(2deg);
    }
    75% {
        transform: translateX(-50%) rotate(-2deg);
    }
}

.four-conetnt {
    opacity: 1;
    /* Initially hidden, will be animated by GSAP */
    pointer-events: none;
    /* Initially not interactive */
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Center content vertically */
    background: url(./images/xinyu1.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    border: 5px solid #97C5F2;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 0;
    padding-top: 8%;
}


/* 第四部分 - 漫画风格视频区 */

.four-content {
    opacity: 0;
    pointer-events: none;
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 2%, transparent 2%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2%, transparent 2%), repeating-linear-gradient(45deg, #f8f8f8 0px, #f8f8f8 2px, #e8e8e8 2px, #e8e8e8 4px), linear-gradient(to bottom, #c8e0ff, #a8d0ff);
    background-size: 100% 100%, 100% 100%, 20px 20px, 100% 100%;
    overflow: hidden;
    border: 8px solid #333;
    box-shadow: 0 0 0 4px #fff, 0 0 0 12px #333, inset 0 0 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 40px;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'my', sans-serif;
    background-image: url(./images/ii.png);
}


/* 漫画容器 */

.comic-container {
    width: 100%;
    max-width: 1400px;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}


/* 漫画标题 */

.comic-title {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.comic-bubble {
    display: inline-block;
    background: #ff6b6b;
    padding: 20px 50px;
    border-radius: 30px;
    transform: rotate(-3deg);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 5px #ff5252, inset 0 0 0 10px #ff8a8a;
    position: relative;
}

.comic-bubble::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #ff6b6b transparent transparent;
}

.comic-text {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3), 4px 4px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    font-weight: bold;
}

.comic-star {
    position: absolute;
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 0 0 10px #ff0, 2px 2px 0 rgba(0, 0, 0, 0.3);
    animation: twinkle 2s infinite;
}

.comic-star:first-of-type {
    top: -30px;
    left: 20%;
}

.star-2 {
    top: -20px;
    right: 25%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}


/* 漫画面板容器 */

.comic-panels {
    display: flex;
    gap: 40px;
    flex: 1;
    margin: 20px 0;
}

.comic-panel {
    flex: 1;
    position: relative;
}

.panel-border {
    background: white;
    padding: 20px;
    border: 5px solid #333;
    border-radius: 15px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 3px #ddd;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.panel-border::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    pointer-events: none;
}

.panel-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-title {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b6b;
    text-align: left;
    font-weight: bold;
    text-shadow: 2px 2px 0 #ddd;
}


/* 视频容器 */

.video-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 0 0 5px #333;
}

#comic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comic-tv-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tv-antennas {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
}

.antenna {
    width: 5px;
    height: 30px;
    background: #333;
    position: relative;
}

.antenna::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -5px;
    width: 15px;
    height: 15px;
    background: #666;
    border-radius: 50%;
}

.tv-knobs {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.knob {
    width: 25px;
    height: 25px;
    background: #666;
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}


/* 漫画标注 */

.comic-caption {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.speech-bubble {
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    position: relative;
    border: 3px solid #333;
    flex: 1;
    text-align: left;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 20px 10px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 16px 8px 0;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.speech-bubble p {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
}

.character-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #333;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.character-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 右侧面板对话 */

.comic-dialogues {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-around;
}

.dialogue-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #333;
    position: relative;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    text-align: left;
}

.dialogue-1 {
    background: #e3f2fd;
}

.dialogue-2 {
    background: #f3e5f5;
}

.dialogue-3 {
    background: #f1f8e9;
}

.dialogue-tail {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 15px 10px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.tail-right {
    left: auto;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #333;
}

.dialogue-box p {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    line-height: 1.4;
    font-weight: bold;
}

.character-small {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
    background: white;
}

.character-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 漫画特效 */

.comic-effects {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 2;
}

.effect {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff4444;
    text-shadow: 2px 2px 0 #333, 4px 4px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(15deg);
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    border: 2px solid #333;
}

.effect-2 {
    color: #44aaff;
    transform: rotate(-10deg);
}

.effect-3 {
    color: #ffaa44;
    transform: rotate(5deg);
}


/* 视频控制按钮 */

.video-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.comic-btn {
    background: #ff6b6b;
    color: white;
    border: 3px solid #333;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.comic-btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.play-btn {
    background: #4caf50;
}

.pause-btn {
    background: #ff9800;
}

.volume-btn {
    background: #2196f3;
    padding: 12px 20px;
}

.btn-icon {
    font-size: 1.2rem;
}


/* 漫画页脚 */

.comic-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 3px solid #333;
    position: relative;
}

.page-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    background: white;
    padding: 5px 15px;
    border: 3px solid #333;
    border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.comic-note {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.comic-arrow {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}


/* 响应式设计 */

@media (max-width: 1200px) {
    .comic-panels {
        flex-direction: column;
        gap: 30px;
    }
    .comic-text {
        font-size: 3rem;
    }
    .dialogue-box p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .four-content {
        padding: 20px;
    }
    .comic-text {
        font-size: 2rem;
    }
    .panel-title {
        font-size: 2rem;
    }
    .speech-bubble p {
        font-size: 1.2rem;
    }
}

.five-content {
    width: 100vw;
    height: 100vh;
    background: url(./images/xinyu1.png) no-repeat center center;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr;
    /* 一列 */
    grid-template-rows: 1fr 1fr;
    /* 两行 */
    padding: 250px;
    box-sizing: border-box;
}

.five-content-left {
    align-self: start;
    overflow: hidden;
    display: flex;
    position: relative;
    height: 460px;
    /* 垂直靠上 */
}

.five-content-right {
    width: 100%;
    align-self: end;
    /* 垂直靠下 */
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    height: 460px;
}

.my-images-left {
    width: 250px;
    height: 460px;
    z-index: 5;
    position: absolute;
    left: 0;
    opacity: 1;
}

.my-images-right {
    width: 250px;
    height: 460px;
    z-index: 5;
    position: absolute;
    right: 0;
    opacity: 1;
}

.five-content-right .my-cards {
    /* width: 50px; */
    width: 100%;
    display: flex;
    background-color: #0a0b0c;
    padding: 70px;
    gap: 30px;
    border-radius: 20px;
    visibility: hidden;
    position: relative;
    right: 0;
}

.five-content-left .my-cards {
    /* width: 50px; */
    width: 100%;
    display: flex;
    background-color: #141619;
    padding: 70px;
    gap: 30px;
    border-radius: 20px;
    visibility: hidden;
    position: relative;
    left: 0;
}

.my-cards img {
    width: 20%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(255, 246, 246, 0.5);
    cursor: pointer;
}

.five-conetent-right-cards {
    display: flex;
    width: 100%;
}

.five-conetent-left-cards {
    width: 100%;
    display: flex;
}


/* ==================== 第六部分：漫画封面风格结束页 ==================== */

.comic-cover-section {
    opacity: 0;
    pointer-events: none;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./images/my.png) no-repeat center center;
    background-size: 20px 20px, 20px 20px, 100% 100%;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.comic-cover-container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background: white;
    position: relative;
    border: 8px solid #333;
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 4px #fff, inset 0 0 0 12px #ff6b6b, 0 0 50px rgba(255, 107, 107, 0.3);
    overflow: hidden;
    z-index: 2;
    border-radius: 5px;
}


/* 漫画背景效果 */

.comic-cover-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cover-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: dotsMove 20s linear infinite;
}

.cover-speed-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 95%, rgba(0, 0, 0, 0.1) 100%);
    background-size: 50px 100%;
    animation: speedLines 0.5s linear infinite;
}

.cover-screen-tones {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 107, 107, 0.05) 10px, rgba(255, 107, 107, 0.05) 20px), repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(33, 150, 243, 0.05) 10px, rgba(33, 150, 243, 0.05) 20px);
}


/* 封面标题 */

.cover-title-container {
    position: absolute;
    top: 40px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.cover-main-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 6rem;
    color: #ff3d00;
    text-shadow: 5px 5px 0 #333, 10px 10px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 3px;
    margin: 0;
    position: relative;
    display: inline-block;
}

.cover-main-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
    border: 4px solid #333;
    border-radius: 10px;
    transform: rotate(-2deg);
}

.cover-subtitle {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.8rem;
    color: #333;
    margin-top: 10px;
    letter-spacing: 8px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: #ffeb3b;
    padding: 5px 20px;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 0 #333;
}


/* 封面主视觉 */

.cover-main-visual {
    position: absolute;
    width: 100%;
    height: 60%;
    top: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.character-main {
    position: relative;
    width: 350px;
    height: 350px;
    z-index: 3;
    filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.3));
}

.main-character {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: floatMain 3s ease-in-out infinite;
}

.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes floatMain {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.character-side {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.character-side.left {
    left: 10%;
}

.character-side.right {
    right: 10%;
}

.character-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.2));
}

.character-side.left img {
    animation: floatLeft 3.5s ease-in-out infinite;
}

.character-side.right img {
    animation: floatRight 3.5s ease-in-out infinite 0.5s;
}

@keyframes floatLeft {
    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes floatRight {
    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.character-bubble {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: 3px solid #333;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.bubble-left {
    top: -30px;
    left: 80%;
    transform: rotate(-5deg);
}

.bubble-right {
    top: -30px;
    right: 80%;
    transform: rotate(5deg);
}


/* 漫画对话框 */

.cover-dialogues {
    position: absolute;
    bottom: 30%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 3;
}

.cover-dialogue {
    background: white;
    padding: 25px 35px;
    border-radius: 30px;
    border: 4px solid #333;
    position: relative;
    max-width: 300px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(-1deg);
}

.cover-dialogue-2 {
    transform: rotate(1deg);
}

.cover-dialogue-tail {
    position: absolute;
    bottom: -20px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #333;
}

.cover-tail-right {
    left: auto;
    right: 50px;
    border-top-color: #2196f3;
}

.cover-dialogue-content {
    text-align: center;
}

.cover-dialogue-content p {
    margin: 5px 0;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.cover-dialogue-1 {
    background: #e3f2fd;
    border-color: #2196f3;
}

.cover-dialogue-2 {
    background: #fff9c4;
    border-color: #ffeb3b;
}


/* 漫画元素装饰 */

.cover-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cover-star {
    position: absolute;
    font-size: 3rem;
    color: #ffeb3b;
    text-shadow: 3px 3px 0 #333;
    top: 30%;
    left: 15%;
    animation: starSpin 3s linear infinite;
}

.cover-star-2 {
    top: 40%;
    right: 15%;
    animation: starSpin 4s linear infinite reverse;
    color: #ff4081;
}

.cover-explosion {
    position: absolute;
    font-family: 'Impact', sans-serif;
    font-size: 2.5rem;
    color: #ff3d00;
    text-shadow: 2px 2px 0 #333;
    top: 20%;
    right: 20%;
    transform: rotate(15deg);
    animation: explode 2s ease-in-out infinite;
}

.cover-sparkle {
    position: absolute;
    font-size: 2rem;
    top: 60%;
    left: 20%;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.cover-sparkle-2 {
    top: 70%;
    right: 25%;
    animation-delay: 1s;
}

.cover-paw {
    position: absolute;
    font-size: 2.5rem;
    bottom: 30%;
    left: 25%;
    opacity: 0.7;
    animation: pawFloat 4s ease-in-out infinite;
}

.cover-paw-2 {
    bottom: 25%;
    right: 30%;
    animation-delay: 0.5s;
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes explode {
    0%,
    100% {
        transform: rotate(15deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: rotate(15deg) scale(1.3);
        opacity: 1;
    }
}

@keyframes sparkleFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pawFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(-10deg);
    }
    66% {
        transform: translateY(-10px) rotate(10deg);
    }
}


/* 漫画信息栏 */

.cover-info {
    position: absolute;
    bottom: 120px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 3;
}

.cover-meta {
    display: flex;
    gap: 30px;
}

.cover-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #333;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.cover-meta-label {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 1px;
}

.cover-meta-value {
    font-family: 'Impact', sans-serif;
    font-size: 2rem;
    color: #ffeb3b;
    margin-top: 5px;
}

.cover-credits {
    text-align: right;
    font-family: 'Arial', sans-serif;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cover-credits p {
    margin: 3px 0;
}

.cover-highlight {
    font-weight: bold;
    color: #ff3d00;
    text-decoration: underline;
}


/* 章节点 */

.cover-chapter-nodes {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    z-index: 3;
}

.cover-chapter-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cover-node-icon {
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.cover-chapter-node.active .cover-node-icon {
    background: #ff3d00;
    box-shadow: 0 0 15px rgba(255, 61, 0, 0.5);
}

.cover-node-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.2rem;
    color: #333;
    padding: 5px 15px;
    background: white;
    border: 2px solid #333;
}


/* 下一页提示 */

.cover-next-page-hint {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    transform: rotate(5deg);
}

.cover-page-curl {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #333 50%, transparent 50%);
    border-top-right-radius: 5px;
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.2);
}

.cover-hint-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 1px;
}

.cover-hint-arrow {
    font-size: 2rem;
    color: #ff3d00;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}


/* 封面装饰边框 */

.cover-border {
    position: absolute;
    background: #333;
    z-index: 4;
}

.cover-border.top,
.cover-border.bottom {
    width: 100%;
    height: 8px;
    left: 0;
}

.cover-border.top {
    top: -8px;
    box-shadow: 0 -3px 0 #ff6b6b;
}

.cover-border.bottom {
    bottom: -8px;
    box-shadow: 0 3px 0 #ff6b6b;
}

.cover-border.left,
.cover-border.right {
    height: 100%;
    width: 8px;
    top: 0;
}

.cover-border.left {
    left: -8px;
    box-shadow: -3px 0 0 #ff6b6b;
}

.cover-border.right {
    right: -8px;
    box-shadow: 3px 0 0 #ff6b6b;
}


/* 漫画页码 */

.cover-page-number {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
}

.cover-page-number-text {
    font-family: 'Impact', sans-serif;
    font-size: 2rem;
    color: #ff3d00;
    text-shadow: 2px 2px 0 #333;
}

.cover-page-note {
    font-family: 'Arial', sans-serif;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}


/* 飘落的网点 */

.falling-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dot {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.2);
    top: -50px;
    animation: fallDot linear infinite;
}

.dot:nth-child(1) {
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    left: 20%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.dot:nth-child(3) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.dot:nth-child(4) {
    left: 40%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.dot:nth-child(5) {
    left: 50%;
    animation-duration: 14s;
    animation-delay: 4s;
}

.dot:nth-child(6) {
    left: 60%;
    animation-duration: 17s;
    animation-delay: 1.5s;
}

.dot:nth-child(7) {
    left: 70%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.dot:nth-child(8) {
    left: 80%;
    animation-duration: 19s;
    animation-delay: 0.5s;
}

@keyframes fallDot {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}


/* 响应式设计 */

@media (max-width: 1200px) {
    .cover-main-title {
        font-size: 4.5rem;
    }
    .character-main {
        width: 280px;
        height: 280px;
    }
    .character-side {
        width: 160px;
        height: 160px;
    }
    .cover-dialogue-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .comic-cover-container {
        width: 95%;
        height: 95%;
    }
    .cover-main-title {
        font-size: 3rem;
    }
    .cover-subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
    .cover-main-visual {
        flex-direction: column;
        height: 50%;
    }
    .character-main {
        width: 200px;
        height: 200px;
        order: 2;
    }
    .character-side {
        position: relative;
        width: 120px;
        height: 120px;
        top: auto;
        transform: none;
        margin: 10px 0;
    }
    .character-side.left,
    .character-side.right {
        left: auto;
        right: auto;
    }
    .character-side.left {
        order: 1;
    }
    .character-side.right {
        order: 3;
    }
    .cover-dialogues {
        bottom: 40%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .cover-dialogue {
        max-width: 250px;
    }
    .cover-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        bottom: 150px;
    }
    .cover-chapter-nodes {
        gap: 30px;
        bottom: 90px;
    }
}