/* ============================================
   红色故事网站 - 热血漫画样式
   Comic/Hot-Blooded/Cel-Shaded Style
   ============================================ */

/* ---------- 字体引入 ---------- */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;700;900&display=swap');

/* ---------- CSS 变量 ---------- */
:root {
    --red: #FF2D55;
    --red-dark: #CC0033;
    --red-light: #FF6B6B;
    --blue: #00B4FF;
    --blue-dark: #0090CC;
    --yellow: #FFD60A;
    --orange: #FF9500;
    --green: #30D158;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #f5f5f5;
    --purple: #AF52DE;
}

/* ---------- 重置 & 基底 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- 漫画网点纹理 ---------- */
.halftone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, var(--black) 1px, transparent 1px);
    background-size: 8px 8px;
}

/* ---------- 速度线背景 ---------- */
.speed-lines-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        rgba(0, 180, 255, 0.025) 30px,
        rgba(0, 180, 255, 0.025) 60px
    );
    pointer-events: none;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 100%);
    border-bottom: 5px solid var(--black);
    box-shadow: 0 6px 0 rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.8rem;
    color: var(--red);
    text-shadow: 
        3px 3px 0 var(--black),
        -1px -1px 0 var(--black),
        1px -1px 0 var(--black),
        -1px 1px 0 var(--black);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-star {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--red);
    border: 3px solid var(--black);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.nav-link:hover {
    background: var(--yellow);
    border-color: var(--black);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 5px 5px 0 var(--black);
}

.nav-link:active {
    transform: scale(0.95);
    box-shadow: 2px 2px 0 var(--black);
}

.nav-link.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--black);
}

/* 导航栏悬停爆炸特效 */
.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 45, 85, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.nav-link:hover::after {
    width: 120%;
    height: 200%;
}

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 3px solid var(--black);
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   主视觉区域 (Hero Section)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 50%, #fff5f5 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 45, 85, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 180, 255, 0.08) 0%, transparent 50%);
}

/* 放射线 */
.hero-radiant {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg 2deg,
        rgba(255, 45, 85, 0.015) 2deg 4deg
    );
    pointer-events: none;
    animation: radiantRotate 60s linear infinite;
}

@keyframes radiantRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 装饰性星星 */
.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-star {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite;
}

.hero-star:nth-child(2n) { background: var(--red); animation-duration: 2s; }
.hero-star:nth-child(3n) { background: var(--blue); animation-duration: 4s; }

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.3; transform: scale(0.5) rotate(180deg); }
}

/* ============================================
   爆炸泡泡组件
   ============================================ */
.explosion-bubble {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    border: 5px solid var(--black);
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.5rem;
    text-align: center;
    box-shadow: 7px 7px 0 var(--black);
    z-index: 1;
}

.explosion-bubble::before {
    content: '';
    position: absolute;
    background: inherit;
    border: inherit;
    border-color: var(--black);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/* 红色 */
.bubble-red {
    background: var(--red);
    color: var(--white);
}

/* 蓝色 */
.bubble-blue {
    background: var(--blue);
    color: var(--white);
}

/* 黄色 */
.bubble-yellow {
    background: var(--yellow);
    color: var(--black);
}

/* 橙色 */
.bubble-orange {
    background: var(--orange);
    color: var(--white);
}

/* 黑色 */
.bubble-black {
    background: var(--black);
    color: var(--white);
}

/* 主爆炸 - 特大号 */
.bubble-hero {
    font-size: 3rem;
    padding: 30px 70px;
    transform: rotate(-2deg);
    animation: bubbleFloat 3s ease-in-out infinite;
}

.bubble-hero::before {
    width: 35px;
    height: 35px;
    bottom: -30px;
    left: 60px;
}

/* 中号 */
.bubble-md {
    font-size: 1.8rem;
    padding: 18px 40px;
}

.bubble-md::before {
    width: 25px;
    height: 25px;
    bottom: -22px;
    left: 50px;
}

/* 上尖角 */
.bubble-top尖::before {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    bottom: auto !important;
    top: -22px !important;
}

/* 浮动动画 */
@keyframes bubbleFloat {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-10px); }
}

@keyframes bubbleFloat2 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-12px); }
}

@keyframes bubbleFloat3 {
    0%, 100% { transform: rotate(-1deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-8px); }
}

/* ============================================
   效果文字
   ============================================ */
.effect-text {
    font-family: 'ZCOOL KuaiLe', cursive;
    position: relative;
    display: inline-block;
}

/* 修改此规则，移除模糊和发光特效 */
.effect-blood {
    font-size: 4.5rem;
    color: var(--red);
    /* -webkit-text-stroke: 3px var(--black); 保持描边 */
    -webkit-text-stroke: 3px #000; /* 使用纯黑描边 */
    
    /* 核心修改：移除复杂的滤镜，改用清晰的单层硬投影 */
    /* filter: drop-shadow(0 0 15px rgba(255, 45, 85, 0.6)) blur(2.5px); <-- 移除此行 */
    text-shadow: 10px 10px 0 #000; /* 清晰的纯黑硬投影 */
    
    letter-spacing: 5px;
    transform: rotate(-3deg);
    animation: bloodPulse 2s ease-in-out infinite;
}

/* 如果有需要，也简化填充层，防止双重投影模糊 */
.effect-blood .effect-fill {
    /* text-shadow: 0 0 15px rgba(255, 45, 85, 0.6); <-- 移除此行 */
    text-shadow: none; /* 清空内部投影 */
}

@keyframes bloodPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.04); filter: brightness(1.1); }
}

.effect-data {
    font-size: 3.5rem;
    color: var(--blue);
    text-shadow: 
        4px 4px 0 var(--black),
        -1px -1px 0 var(--black),
        0 0 30px rgba(0, 180, 255, 0.4);
    transform: rotate(5deg);
    letter-spacing: 8px;
    animation: dataSlide 1s ease-out forwards, dataGlow 3s ease-in-out infinite 1s;
    opacity: 0;
}

@keyframes dataSlide {
    from { opacity: 0; transform: rotate(5deg) translateX(60px); }
    to { opacity: 1; transform: rotate(5deg) translateX(0); }
}

@keyframes dataGlow {
    0%, 100% { text-shadow: 4px 4px 0 var(--black), 0 0 20px rgba(0, 180, 255, 0.3); }
    50% { text-shadow: 4px 4px 0 var(--black), 0 0 50px rgba(0, 180, 255, 0.6); }
}

/* 描边文字 */
.outline-text {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    color: var(--white);
    -webkit-text-stroke: 3px var(--black);
    paint-order: stroke fill;
}

/* ============================================
   页面容器
   ============================================ */
.page-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Section 标题
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2.8rem;
    color: var(--black);
    text-shadow: 4px 4px 0 var(--yellow);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--black);
    border-radius: 3px;
}

.section-subtitle {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   四大业务卡片
   ============================================ */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.business-card {
    background: var(--white);
    border: 5px solid var(--black);
    border-radius: 20px;
    padding: 0;
    position: relative;
    box-shadow: 8px 8px 0 var(--black);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 14px 14px 0 var(--black);
}

.business-card::before {
    content: attr(data-tag);
    position: absolute;
    top: -5px;
    left: 25px;
    padding: 8px 22px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.3rem;
    color: var(--black);
    background: var(--yellow);
    border: 4px solid var(--black);
    border-radius: 8px;
    transform: rotate(-4deg);
    box-shadow: 4px 4px 0 var(--black);
    z-index: 2;
}

.business-card:nth-child(2)::before { content: attr(data-tag); background: var(--orange); color: white; }
.business-card:nth-child(3)::before { content: attr(data-tag); background: var(--blue); color: white; }
.business-card:nth-child(4)::before { content: attr(data-tag); background: var(--red); color: white; }

.business-card-inner {
    padding: 40px 28px 30px;
}

.business-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.business-card h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.6rem;
    margin-bottom: 12px;
    padding-top: 5px;
}

.business-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.business-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-dark);
    transition: gap 0.2s;
}

.business-card:hover .business-arrow {
    gap: 14px;
}

.business-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s;
}

.business-card:hover .business-arrow svg {
    transform: translateX(4px);
}

/* ============================================
   内容区块
   ============================================ */
.content-block {
    padding: 100px 0;
    position: relative;
}

.content-block:nth-child(odd) {
    background: linear-gradient(180deg, var(--gray) 0%, var(--white) 100%);
}

.block-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.block-inner.reverse {
    direction: rtl;
}

.block-inner.reverse > * {
    direction: ltr;
}

.block-text h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--black);
}

.block-text p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.block-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-visual .bubble-md {
    animation: bubbleFloat2 3.5s ease-in-out infinite;
}

.block-visual .bubble-md:nth-child(2) {
    animation: bubbleFloat3 4s ease-in-out infinite 0.5s;
    margin-left: -30px;
}

/* ============================================
   跳转到按钮
   ============================================ */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.goto-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.6rem;
    padding: 20px 55px;
    border: 5px solid var(--black);
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 10px 10px 0 var(--black);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: ctaBounce 3s ease-in-out infinite;
    color: var(--white);
}

.goto-btn-red { background: var(--red); animation-delay: 0s; }
.goto-btn-blue { background: var(--blue); animation-delay: 0.5s; }
.goto-btn-yellow { background: var(--yellow); color: var(--black); animation-delay: 1s; }

.goto-btn:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 16px 16px 0 var(--black);
    animation-play-state: paused;
}

.goto-btn:active {
    transform: scale(0.95);
    box-shadow: 5px 5px 0 var(--black);
}

.goto-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.3s;
}

.goto-btn:hover svg {
    transform: translateX(10px);
}

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

/* ============================================
   流程展示
   ============================================ */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 160px;
}

.process-box {
    background: var(--blue);
    color: var(--white);
    border: 4px solid var(--black);
    border-radius: 14px;
    padding: 18px 25px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 5px 5px 0 var(--black);
    transition: all 0.2s;
}

.process-box:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--black);
}

.process-step:nth-child(2n) .process-box { background: var(--red); }
.process-step:nth-child(3n) .process-box { background: var(--orange); }
.process-step:nth-child(4n) .process-box { background: var(--purple); }

.process-arrow {
    font-size: 2rem;
    color: var(--black);
    font-weight: 900;
}

/* ============================================
   四大业务板块 & 核心价值网格 - 强制 2x2 排列
   ============================================ */
.values-grid, .business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 强制两列 */
    gap: 30px; /* 拉开格子间距，增强漫画留白感 */
    max-width: 1000px;
    margin: 40px auto;
}

.value-card {
    background: var(--white);
    border: 5px solid var(--black);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 10px 10px 0 var(--black);
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 12px 12px 0 var(--black);
}

.value-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--yellow);
    border: 4px solid var(--black);
    border-radius: 50%;
}

.value-card h4 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: bold;
}

/* 响应式调整 - 在手机端也保持 2x2 排列 */
@media (max-width: 768px) {
    .values-grid, .business-grid {
        grid-template-columns: 1fr 1fr; /* 手机端也保持两两排列 */
        gap: 20px;
    }
}
/* ============================================
   底部浮动工具栏
   ============================================ */
.bottom-toolbar {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    border: 4px solid var(--black);
    border-radius: 50px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 999;
}

.toolbar-dots {
    display: flex;
    gap: 7px;
}

.toolbar-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.toolbar-dot:hover {
    transform: scale(1.4);
    border-color: var(--white);
}

.toolbar-dot.red { background: var(--red); }
.toolbar-dot.yellow { background: var(--yellow); }
.toolbar-dot.green { background: var(--green); }
.toolbar-dot.blue { background: var(--blue); }
.toolbar-dot.white { background: var(--white); }

.toolbar-divider {
    width: 2px;
    height: 22px;
    background: rgba(255,255,255,0.25);
}

.toolbar-icons {
    display: flex;
    gap: 8px;
}

.toolbar-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--white);
    font-size: 0.9rem;
}

.toolbar-icon:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.toolbar-icon.active {
    background: var(--blue);
    border-color: var(--white);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue), var(--green));
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    color: var(--red);
    text-shadow: 2px 2px 0 var(--white);
    margin-bottom: 15px;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   子页面 - 绘本
   ============================================ */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.book-card {
    border: 4px solid var(--black);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--black);
    background: var(--white);
    transition: all 0.3s;
}

.book-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 10px 10px 0 var(--black);
}

.book-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--black);
    gap: 15px;
}

.book-placeholder-icon {
    font-size: 3rem;
    opacity: 0.4;
}

.book-placeholder-text {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    padding: 0 20px;
}

.book-info {
    padding: 20px;
}

.book-info h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.book-info p {
    font-size: 0.85rem;
    color: #666;
}

/* 上传说明 */
.upload-guide {
    background: var(--gray);
    border: 4px solid var(--black);
    border-radius: 16px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 6px 6px 0 var(--black);
}

.upload-guide h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--red);
}

.upload-guide ol {
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-guide li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.upload-guide code {
    background: var(--black);
    color: var(--yellow);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* ============================================
   子页面 - 游戏
   ============================================ */
.game-container {
    border: 5px solid var(--black);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--black);
    margin: 40px 0;
    background: var(--black);
}

.game-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.game-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 20px;
    padding: 40px;
    text-align: center;
}

.game-placeholder h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    color: var(--yellow);
}

.game-placeholder p {
    color: rgba(255,255,255,0.7);
    max-width: 500px;
}

/* ============================================
   动画入场效果
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.45s; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
    .block-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .block-inner.reverse {
        direction: ltr;
    }
    
    .effect-blood {
        font-size: 3rem;
    }
    
    .effect-data {
        font-size: 2.5rem;
    }
    
    .bubble-hero {
        font-size: 2.2rem;
        padding: 22px 45px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 5px solid var(--black);
        padding: 15px;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .nav-list.active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .nav-link {
        text-align: center;
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .effect-blood {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .effect-data {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .bubble-hero {
        font-size: 1.8rem;
        padding: 18px 35px;
    }

    .business-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-flow {
        gap: 15px;
    }

    .process-step {
        min-width: 130px;
    }

    .bottom-toolbar {
        bottom: 15px;
        padding: 8px 16px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .effect-blood {
        font-size: 2rem;
    }

    .effect-data {
        font-size: 1.6rem;
    }

    .goto-btn {
        font-size: 1.2rem;
        padding: 16px 35px;
    }
}
