/* ============================================================
   多多影视 - 全站样式表
   影视娱乐风格 · 深色影院配色 · 完全响应式
   ============================================================ */

/* ---------- 基础变量与重置 ---------- */
:root {
  --bg-body: #0b0d14;
  --bg-deep: #10121b;
  --bg-card: #171a26;
  --bg-card-hover: #1e2233;
  --bg-soft: #1c2030;
  --text-main: #eef0f6;
  --text-body: #c3c9d8;
  --text-muted: #8b93a7;
  --accent: #f5c518;
  --accent-soft: rgba(245, 197, 24, 0.14);
  --accent-2: #ff5c38;
  --purple: #7b5cff;
  --cyan: #38c8e8;
  --border: #262c3e;
  --border-light: #31384e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 18px 52px rgba(0, 0, 0, 0.55);
  --transition: 0.32s cubic-bezier(0.22, 0.68, 0.32, 1);
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- 通用标题 ---------- */
.section-head {
  text-align: center;
  margin-bottom: 46px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 15px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffb03a 100%);
  color: #161512;
  box-shadow: 0 10px 26px rgba(245, 197, 24, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(245, 197, 24, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border-light);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.btn-lg {
  padding: 16px 42px;
  font-size: 16px;
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 56, 78, 0.4);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 13, 20, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
}

.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #14100a;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
  line-height: 1.2;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-cta {
  margin-left: 6px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--accent), #ffb03a);
  color: #161512 !important;
  font-weight: 700;
}

.nav-cta:hover {
  color: #161512 !important;
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.35);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(1000px 520px at 78% -10%, rgba(123, 92, 255, 0.26), transparent 60%),
    radial-gradient(820px 480px at 12% 8%, rgba(245, 197, 24, 0.14), transparent 55%),
    linear-gradient(180deg, #10131f 0%, #0b0d14 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent) 0%, #ff8a3c 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--text-body);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stats .label {
  font-size: 13px;
  color: var(--text-muted);
}

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

.hero-visual {
  position: relative;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-poster {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-poster:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}

.hero-poster:nth-child(2) {
  transform: translateY(22px);
}

.hero-poster:nth-child(2):hover {
  transform: translateY(16px) rotate(1deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.65));
}

.hero-poster .tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--accent);
  letter-spacing: 1px;
}

/* ---------- 特性区 ---------- */
.features {
  padding: 90px 0;
  background: var(--bg-deep);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 内容展示区 ---------- */
.section-content {
  padding: 90px 0;
  background: var(--bg-body);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 9px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.media-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.media-card .cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

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

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

.media-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7));
}

.media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #ffb03a);
  color: #161512;
  font-weight: 700;
  letter-spacing: 1px;
}

.media-rating {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  padding: 3px 9px;
  font-size: 12px;
  border-radius: 6px;
  background: rgba(11, 13, 20, 0.75);
  color: var(--accent);
  font-weight: 700;
}

.media-info {
  padding: 14px 16px 18px;
}

.media-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-info .meta {
  color: var(--text-muted);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
}

.media-info .desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 服务介绍 ---------- */
.services {
  padding: 90px 0;
  background:
    radial-gradient(760px 420px at 88% 20%, rgba(56, 200, 232, 0.1), transparent 60%),
    var(--bg-deep);
}

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

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all var(--transition);
  position: relative;
}

.service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow: var(--shadow-hover);
}

.service-item .service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: rgba(123, 92, 255, 0.16);
  color: var(--purple);
}

.service-item:nth-child(2) .service-icon {
  background: rgba(245, 197, 24, 0.14);
  color: var(--accent);
}

.service-item:nth-child(3) .service-icon {
  background: rgba(56, 200, 232, 0.13);
  color: var(--cyan);
}

.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-item p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.service-item .more {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-item .more:hover {
  gap: 12px;
}

/* ---------- CTA 区 ---------- */
.cta {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  border-radius: 22px;
  padding: 64px 48px;
  text-align: center;
  background:
    radial-gradient(640px 300px at 18% 0%, rgba(245, 197, 24, 0.16), transparent 55%),
    radial-gradient(640px 300px at 88% 100%, rgba(123, 92, 255, 0.2), transparent 55%),
    linear-gradient(135deg, #181c2c 0%, #10131f 100%);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  position: relative;
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cta-box p {
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 15px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: auto;
  background: #080a10;
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-col a,
.footer-col li {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom .links a {
  color: var(--text-muted);
  margin-left: 18px;
}

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

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb03a);
  color: #161512;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(245, 197, 24, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

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

/* ---------- 资讯列表页 ---------- */
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.news-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.news-card .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(11, 13, 20, 0.78);
  color: var(--accent);
  border: 1px solid rgba(245, 197, 24, 0.4);
}

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

.news-card .date {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 600;
}

.news-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 资讯详情页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13.5px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-meta .tag {
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.article-main h2 {
  font-size: 22px;
  margin: 34px 0 14px;
  color: var(--text-main);
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.article-main p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 15px;
}

.article-main blockquote {
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 22px 0;
  color: var(--text-body);
  font-style: italic;
}

.article-main figure {
  margin: 24px 0;
}

.article-main figure img {
  border-radius: var(--radius);
  width: 100%;
}

.article-main figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.aside-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.aside-card ul li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.aside-card ul li:last-child {
  border-bottom: none;
}

.aside-card ul a {
  color: var(--text-body);
  font-size: 14px;
}

.aside-card ul a:hover {
  color: var(--accent);
}

/* ---------- 关于页 ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-story .visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-story h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.about-story p {
  color: var(--text-body);
  margin-bottom: 14px;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.team-card .avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.team-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.team-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info .contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-item:hover {
  border-color: rgba(245, 197, 24, 0.4);
  transform: translateX(4px);
}

.contact-item .ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 14px;
}

.faq-list .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.faq-q .arrow {
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* ---------- 联系表单 ---------- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-group.invalid .form-error {
  display: block;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #ff6b6b;
}

.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(56, 200, 232, 0.1);
  border: 1px solid rgba(56, 200, 232, 0.35);
  color: var(--cyan);
  font-size: 14px;
  margin-bottom: 18px;
}

.form-success.show {
  display: block;
}

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

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 14px;
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  background: linear-gradient(135deg, var(--accent), #ffb03a);
  color: #161512;
  font-weight: 700;
  border-color: transparent;
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* ---------- 响应式断点 ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

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

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

  .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 13, 20, 0.98);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding: 76px 0 64px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats .num {
    font-size: 24px;
  }

  .features,
  .section-content,
  .services,
  .cta {
    padding: 60px 0;
  }

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

  .cta-box {
    padding: 44px 24px;
  }

  .article-main {
    padding: 26px 20px;
  }

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

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

  .footer-bottom .links a {
    margin: 0 9px;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero-poster:nth-child(3) {
    display: none;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 15px;
  }
}

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

  body {
    background: #fff;
    color: #222;
  }
}
