﻿@charset "utf-8";
@charset "utf-8";

/* Style Reset*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
h2,
font {
    margin: 0;
    padding: 0;
    border: 0;
}

input,
button,
textarea,
select,
optgroup,
option {
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
}

ul,
li,
dl,
dt,
dd,
ol {
    display: block;
    list-style: none;
}



a{
    text-decoration: none;
    color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', 'Noto Sans SC', cursive, sans-serif;
  background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
  color: #333333;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 50px;
}

/* 漫画网点背景效果 */
.dot-pattern {
  background-image: radial-gradient(#89C4F4 2px, transparent 2px);
  background-size: 30px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

/* 速度线效果 */
.speed-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(137, 196, 244, 0.1) 2px,
    rgba(137, 196, 244, 0.1) 4px
  );
  animation: speedEffect 8s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes speedEffect {
  from { background-position: 0 0; }
  to { background-position: 100px 100px; }
}

/* 动漫装饰元素 - 浮动云朵 */
.cloud {
  position: fixed;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  z-index: -1;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.1));
  animation: float 20s ease-in-out infinite;
}

.cloud-1 {
  width: 150px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.cloud-2 {
  width: 200px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: 5s;
}

.cloud-3 {
  width: 120px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(20px); }
}

/* 樱花飘落效果 */
.sakura {
  position: fixed;
  background: #FFB8D9;
  border-radius: 50% 0;
  opacity: 0.8;
  z-index: -1;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* 特殊导航栏 - 漫画对话框样式 */
.special-navigation {
  position: relative;
  min-height: 130px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

/* 对话框导航项样式 */
.dialog-nav-item {
  position: relative;
  background: white;
  padding: 15px 25px;
  border-radius: 30px;
  border: 3px solid #333333;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 16px;
  min-width: 150px;
  text-align: center;
  transform: rotate(var(--rotate, -2deg));
  animation: float-light 6s ease-in-out infinite;
}

.dialog-nav-item:nth-child(2) { --rotate: 3deg; animation-delay: 1s; }
.dialog-nav-item:nth-child(3) { --rotate: -4deg; animation-delay: 2s; }
.dialog-nav-item:nth-child(4) { --rotate: 1deg; animation-delay: 3s; }
.dialog-nav-item:nth-child(5) { --rotate: -1deg; animation-delay: 4s; }

@keyframes float-light {
  0%, 100% { transform: rotate(var(--rotate, 0)) translateY(0); }
  50% { transform: rotate(var(--rotate, 0)) translateY(-8px); }
}

/* 对话框尖角 */
.dialog-nav-item::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: white transparent;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
  transition: all 0.3s ease;
}

.dialog-nav-item::before {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 30px;
  border-width: 18px 18px 0;
  border-style: solid;
  border-color: #333333 transparent;
  z-index: -1;
  transition: all 0.3s ease;
}

/* 导航项悬停效果 */
.dialog-nav-item:hover {
  transform: rotate(var(--rotate, 0)) scale(1.1) translateY(-5px);
  background: #89C4F4;
  color: white;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
}

.dialog-nav-item:hover::after {
  border-color: #89C4F4 transparent;
  bottom: -18px;
}

/* 漫画符号弹出效果 */
.dialog-nav-item:hover .comic-symbol {
  opacity: 1;
  transform: translateY(-10px) scale(1);
}

.comic-symbol {
  position: absolute;
  top: -20px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(0) scale(0);
  transition: all 0.2s ease;
}

/* 激活状态 */
.dialog-nav-item.active {
  background: #FFB8D9;
  color: white;
  transform: rotate(var(--rotate, 0)) scale(1.05);
}

.dialog-nav-item.active::after {
  border-color: #FFB8D9 transparent;
}

/* 主要内容区域 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 通用栏目样式 */
.section {
  margin-bottom: 80px;
  padding: 30px;
  border-radius: 20px;
  background: white;
  border: 3px solid #333333;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  background: #89C4F4;
  color: white;
  border-radius: 20px;
  border: 3px solid #333333;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 4px;
  left: 4px;
  background: #FFB8D9;
  border-radius: 20px;
  z-index: -1;
}

/* 1. 机构简介栏目 - 漫画人物介绍风格 */
.intro-container {
 
}

.character-card {
  border: 3px solid #333333;
  border-radius: 15px;
  overflow: hidden;
  background: #F8F9FA;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.character-card:hover {
  transform: translateY(-10px) rotate(1deg);
}

.character-img {
  height: 200px;
  background: linear-gradient(45deg, #89C4F4, #FFB8D9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 50px;
}

.character-info {
  padding: 15px;
}

.character-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px dashed #89C4F4;
  padding-bottom: 5px;
}

.stats-container {
  margin-top: 15px;
}

.stat-bar {
  margin-bottom: 8px;
}

.stat-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 14px;
}

.stat-progress {
  height: 10px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #333333;
}

.stat-value {
  height: 100%;
  background: #FFB8D9;
}

/* 2. 在线漫画栏目 - 漫画书架风格 */
.comic-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.comic-book {
  perspective: 1000px;
  height: 300px;
}

.comic-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.comic-book:hover .comic-inner {
  transform: rotateY(180deg);
}

.comic-front, .comic-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  border: 3px solid #333333;
  overflow: hidden;
}

.comic-front {
  background: linear-gradient(45deg, #89C4F4, #FFB8D9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.comic-back {
  background: white;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comic-cover {
  width: 100%;
  height: 80%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 10px;
}

.comic-cover img{
    width: 100%;
    height: 100%;
}

.comic-title {
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  color: #000;
}

.comic-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFEAA7;
  color: #333333;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid #333333;
  transform: rotate(10deg);
}

.comic-desc {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.comic-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #89C4F4;
}

/* 3. 联系我们栏目 - 漫画对话框表单 */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 16px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 3px solid #333333;
  border-radius: 15px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px #89C4F4;
  transform: translateX(5px);
}

/* 灵感灯泡动画 */
.lightbulb {
  position: absolute;
  right: 15px;
  top: 40px;
  font-size: 24px;
  color: #ccc;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.5);
}

.form-input:focus + .lightbulb {
  opacity: 1;
  transform: scale(1);
  color: #FFEAA7;
  animation: bulb-glow 1s ease infinite alternate;
}

@keyframes bulb-glow {
  from { text-shadow: 0 0 5px #FFEAA7; }
  to { text-shadow: 0 0 20px #FFEAA7; }
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: #FFB8D9;
  color: white;
  border: 3px solid #333333;
  padding: 15px 30px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: #89C4F4;
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
}

/* 点击涟漪效果 */
.submit-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* 4. 公司协议栏目 - 漫画书内页风格 */
.agreement-container {
  font-size: 16px;
  line-height: 1.8;
}

.agreement-chapter {
  margin-bottom: 30px;
  border: 2px dashed #89C4F4;
  border-radius: 15px;
  overflow: hidden;
}

.chapter-header {
  background: linear-gradient(90deg, #89C4F4, #FFB8D9);
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapter-content {
  padding: 20px;
  display: none;
  animation: slideDown 0.5s ease;
}



.chapter-content.active {
  display: block;
}

@keyframes slideDown {
  from { max-height: 0; opacity: 0; }
  to { max-height: 1000px; opacity: 1; }
}

.agreement-illustration {
  float: right;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #FFEAA7, #FFB8D9);
  border-radius: 10px;
  margin: 0 0 15px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  border: 3px solid #333333;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

/* 5. 漫画授权栏目 - 流程图/时间线风格 */
.authorization-process {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* 时间线 */
.timeline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  background: #89C4F4;
  transform: translateX(-50%);
}

.process-step {
  margin-bottom: 50px;
  position: relative;
  display: flex;
}

.process-step:nth-child(even) {
  justify-content: flex-end;
}

.step-content {
  width: 45%;
  padding: 20px;
  border-radius: 15px;
  border: 3px solid #333333;
  background: white;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  position: relative;
}

/* 对话框尖角 */
.process-step:nth-child(odd) .step-content::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20px;
  border-width: 15px 0 15px 15px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.process-step:nth-child(even) .step-content::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 20px;
  border-width: 15px 15px 15px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: #FFB8D9;
  border-radius: 50%;
  border: 3px solid #333333;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  z-index: 1;
}

.step-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #89C4F4;
}

.faq-container {
  margin-top: 50px;
}

.faq-item {
  margin-bottom: 15px;
  border: 3px solid #333333;
  border-radius: 15px;
  overflow: hidden;
}

.faq-question {
  background: #89C4F4;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 20px;
  background: white;
  display: none;
}

.faq-answer.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 导航栏适配 */
  .special-navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  .dialog-nav-item {
    width: 100%;
    transform: rotate(0);
    animation: none;
  }

  .dialog-nav-item:nth-child(n) {
    --rotate: 0;
    animation: none;
  }

  /* 时间线适配 */
  .timeline {
    left: 30px;
  }

  .process-step {
    justify-content: flex-end;
  }

  .step-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .step-icon {
    left: 30px;
  }

  .process-step:nth-child(odd) .step-content::after,
  .process-step:nth-child(even) .step-content::after {
    left: -15px;
    right: auto;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  /* 栏目适配 */
  .intro-container, .comic-gallery {
    grid-template-columns: 1fr;
  }
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #FFB8D9;
  color: white;
  border-radius: 50%;
  border: 3px solid #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* 夜间模式 */
.night-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #000;
  background: #FFEAA7;
  border: 3px solid #333333;
  border-radius: 20px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  z-index: 100;
}

.night-mode-toggle a{
    color: #000;
}

body.night-mode {
  background: linear-gradient(120deg, #2c3e50 0%, #000000 100%);
  color: white;
}

body.night-mode .section,
body.night-mode .dialog-nav-item,
body.night-mode .step-content,
body.night-mode .character-card,
body.night-mode .comic-back {
  background: #2c3e50;
  color: white;
}

body.night-mode .dialog-nav-item::after {
  border-color: #2c3e50 transparent;
}

body.night-mode .dialog-nav-item:hover {
  background: #FF7675;
}

body.night-mode .dialog-nav-item:hover::after {
  border-color: #FF7675 transparent;
}

body.night-mode .active {
  background: #FD79A8;
}

body.night-mode .active::after {
  border-color: #FD79A8 transparent;
}


.agreement-illustration i svg{
    width: 100px;
}