/* ============================================
   歪歪漫画网 - 全站样式表
   主题：热血漫画风（活力橙 / 深蓝 / 亮黄 / 品红）
   ============================================ */

/* ---------- 变量与重置 ---------- */
:root {
  --primary: #ff6b35;
  --primary-dark: #e8541f;
  --primary-light: #ff8f5e;
  --secondary: #232946;
  --secondary-light: #2f3a5e;
  --accent: #ffd166;
  --accent-pink: #ef476f;
  --bg-light: #fff8f0;
  --bg-white: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #6b7280;
  --border: #f0e6d8;
  --shadow-sm: 0 4px 14px rgba(35, 41, 70, 0.08);
  --shadow-md: 0 10px 30px rgba(35, 41, 70, 0.14);
  --shadow-lg: 0 18px 45px rgba(35, 41, 70, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-main: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head.left {
  text-align: left;
}

.section-head.left .section-subtitle {
  margin-left: 0;
}

.text-gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(35, 41, 70, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--secondary-light);
  box-shadow: 0 14px 30px rgba(35, 41, 70, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

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

.btn-lg {
  padding: 17px 44px;
  font-size: 1.05rem;
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 230, 216, 0.8);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(35, 41, 70, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.brand-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
  flex-shrink: 0;
}

.brand .brand-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-dark);
  background: rgba(255, 107, 53, 0.1);
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 4px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 209, 102, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(239, 71, 111, 0.28) 0%, transparent 45%),
    linear-gradient(135deg, #fff8f0 0%, #ffe8d6 45%, #ffd6c4 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.18) 0%, transparent 70%);
  animation: floatBubble 8s ease-in-out infinite;
}

.hero::after {
  content: "✦";
  position: absolute;
  bottom: 12%;
  left: 6%;
  font-size: 4rem;
  color: rgba(255, 107, 53, 0.25);
  animation: twinkle 5s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--secondary);
  margin-bottom: 22px;
}

.hero p.hero-desc {
  font-size: 1.12rem;
  color: #4b5563;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(35, 41, 70, 0.1);
  padding-top: 24px;
}

.hero-stat {
  flex: 1;
  min-width: 110px;
  padding: 0 18px;
  border-right: 1px solid rgba(35, 41, 70, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-comic-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-comic-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-comic-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  box-shadow: 0 6px 14px rgba(239, 71, 111, 0.4);
}

.hero-comic-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px;
  background: linear-gradient(0deg, rgba(35, 41, 70, 0.92) 0%, rgba(35, 41, 70, 0.55) 60%, transparent 100%);
  color: #fff;
}

.hero-comic-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.hero-comic-info p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero-float-chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-float-chip.chip-1 {
  top: 8%;
  left: -8%;
  animation: floatBubble 5s ease-in-out infinite;
}

.hero-float-chip.chip-2 {
  bottom: 14%;
  right: -6%;
  animation: floatBubble 6s ease-in-out infinite reverse;
}

/* ---------- 特性区 ---------- */
.features {
  background: var(--bg-white);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-item:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.3);
}

.feature-item h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- 服务介绍 ---------- */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(35, 41, 70, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.service-card-body {
  padding: 26px 24px 30px;
}

.service-card-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

.service-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.service-link:hover {
  gap: 8px;
  color: var(--primary);
}

/* ---------- 展示区 / 内容区 ---------- */
.showcase {
  background: var(--bg-white);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 26px;
  border-radius: 100px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.comic-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.comic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.comic-card-cover {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.comic-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.comic-card:hover .comic-card-cover img {
  transform: scale(1.06);
}

.comic-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
}

.comic-card-body {
  padding: 18px 18px 22px;
}

.comic-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comic-card-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.comic-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}

.comic-progress span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.comic-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- 内容排版（About / News Detail） ---------- */
.content-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 42px;
  border: 1px solid var(--border);
}

.content-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 34px 0 16px;
  position: relative;
  padding-left: 18px;
}

.content-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent-pink) 100%);
}

.content-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 26px 0 12px;
}

.content-card p {
  color: #4b5563;
  margin-bottom: 16px;
}

.content-card ul {
  list-style: disc;
  padding-left: 22px;
  color: #4b5563;
  margin-bottom: 16px;
}

.content-card ul li {
  margin-bottom: 8px;
}

.content-card blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  padding: 18px 22px;
  border-radius: 0 14px 14px 0;
  color: var(--text-main);
  margin: 22px 0;
}

/* ---------- 更新列表 / 新闻列表 ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.news-item-img {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item:hover .news-item-img img {
  transform: scale(1.06);
}

.news-item-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}

.news-item-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  transition: var(--transition);
}

.news-item-body h3:hover {
  color: var(--primary-dark);
}

.news-item-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.news-item-meta {
  display: flex;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  color: var(--text-main);
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ---------- CTA 区 ---------- */
.cta {
  position: relative;
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 209, 102, 0.3) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 107, 53, 0.35) 0%, transparent 40%),
    linear-gradient(135deg, var(--secondary) 0%, #1a1f38 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  animation: rotateSlow 30s linear infinite;
}

.cta h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.cta p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 36px;
  opacity: 0.85;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #141827;
  color: #aab2c8;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-bubble {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: #aab2c8;
  font-size: 0.92rem;
  padding: 6px 0;
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-sub {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.footer-sub input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  font-size: 0.88rem;
}

.footer-sub input::placeholder {
  color: #6b7280;
}

.footer-sub button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ---------- 页面横幅（内页 Hero） ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 209, 102, 0.3) 0%, transparent 45%),
    linear-gradient(135deg, #fff8f0 0%, #ffe0cd 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto;
}

.crumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.crumbs a {
  color: var(--primary-dark);
  font-weight: 600;
}

.crumbs a:hover {
  text-decoration: underline;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.pagination .current {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.3);
}

/* ---------- 面包屑 ---------- */
/* ---------- 团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-card-body {
  padding: 20px;
}

.team-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.84rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- 动画 ---------- */
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

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

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.9) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(1.1) rotate(20deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.4); }
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.animate {
  opacity: 0;
}

.animate.fade-in-up {
  animation: fadeInUp 0.9s ease forwards;
}

.animate.fade-in {
  animation: fadeIn 1s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 18px 24px 26px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
  }

  .hero {
    padding-top: 130px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(35, 41, 70, 0.1);
    padding: 10px 0;
  }

  .services-grid,
  .comic-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item-img {
    min-height: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-float-chip {
    display: none;
  }

  .hero-comic-card img {
    height: 320px;
  }

  .page-hero {
    padding: 130px 0 56px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .btn-lg {
    padding: 15px 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .comic-card-cover {
    height: 180px;
  }

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

/* ---------- 打印优化 ---------- */
@media print {
  .site-header,
  .site-footer,
  .back-top,
  .cta,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }
}
