/* ============================================================
   天美影视 - 高清免费在线影院
   东方水墨 · 高清影视 · 宁静观影
   css/style.css
   ============================================================ */

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

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  background-color: #f6f3ec;
  color: #2c2c33;
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

/* ---------- 设计变量 ---------- */
:root {
  --ink-900: #17171a;
  --ink-700: #2c2c33;
  --ink-600: #46464e;
  --ink-500: #6b6b74;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --paper-3: #e7e0d3;
  --white: #ffffff;
  --accent: #c9432f;
  --accent-dark: #a53424;
  --teal: #3b5a6b;
  --teal-light: #5d7d8f;
  --gold: #b08d57;
  --shadow-sm: 0 2px 10px rgba(23, 23, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(23, 23, 26, 0.12);
  --shadow-lg: 0 20px 50px rgba(23, 23, 26, 0.16);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

/* ---------- 通用工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 1px;
}

.section-subtitle {
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.text-accent {
  color: var(--accent);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176, 141, 87, 0.18);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(246, 243, 236, 0.97);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink-900), var(--teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f6f3ec;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.brand em {
  font-style: normal;
  color: var(--accent);
}

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

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-600);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(201, 67, 47, 0.06);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(201, 67, 47, 0.1);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 67, 47, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 67, 47, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-900);
}

.btn-ghost:hover {
  background: var(--ink-900);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, #17171a 0%, #24303a 55%, #3b5a6b 100%);
  color: #f6f3ec;
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(201, 67, 47, 0.18), transparent 45%),
    radial-gradient(ellipse at 12% 80%, rgba(176, 141, 87, 0.16), transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px solid rgba(246, 243, 236, 0.1);
  box-shadow: 0 0 0 60px rgba(246, 243, 236, 0.04), 0 0 0 120px rgba(246, 243, 236, 0.03);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 243, 236, 0.1);
  border: 1px solid rgba(246, 243, 236, 0.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  color: #e9e2d3;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8b84b;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 .gradient-text {
  background: linear-gradient(90deg, #f2b24c, #e8e2d2, #9fd8e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: #cfd5d8;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.9;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  padding-top: 28px;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: #f2b24c;
  font-family: var(--font-serif);
}

.hero-stat .label {
  font-size: 13px;
  color: #aeb6ba;
  letter-spacing: 1px;
}

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

.hero-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(246, 243, 236, 0.14);
  transition: transform 0.45s ease;
}

.hero-visual .frame:hover {
  transform: translateY(-8px);
}

.hero-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.hero-visual .frame:nth-child(1) {
  transform: translateY(18px);
}

.hero-visual .frame:nth-child(2) {
  transform: translateY(-10px);
}

.hero-visual .frame:nth-child(3) {
  transform: translateY(30px);
}

.hero-float-card {
  position: absolute;
  left: -18px;
  bottom: 18px;
  background: rgba(23, 23, 26, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 243, 236, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: #e9e2d3;
  box-shadow: var(--shadow-lg);
  animation: float-y 4s ease-in-out infinite;
}

.hero-float-card strong {
  color: #f2b24c;
  display: block;
  font-size: 16px;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176, 141, 87, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fade-up 0.6s ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.3s;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(201, 67, 47, 0.1), rgba(59, 90, 107, 0.12));
  color: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-900);
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* ---------- 服务介绍 Services ---------- */
.services {
  background: var(--paper-2);
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .thumb {
  height: 190px;
  overflow: hidden;
}

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

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

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

.service-card .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(201, 67, 47, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

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

.service-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

.service-card .meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-500);
  display: flex;
  gap: 18px;
}

/* ---------- 影视内容卡片 ---------- */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.movie-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fade-up 0.6s ease both;
}

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

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

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

.movie-card:hover .poster img {
  transform: scale(1.06);
}

.movie-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(201, 67, 47, 0.92);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
}

.movie-card .badge.hd {
  background: rgba(59, 90, 107, 0.92);
}

.movie-card .info {
  padding: 14px 16px 16px;
}

.movie-card .info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card .info p {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ---------- 区块双栏 ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-content h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink-900);
}

.split-content p {
  color: var(--ink-600);
  margin-bottom: 16px;
  font-size: 15px;
}

.check-list {
  margin: 22px 0 30px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-600);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 67, 47, 0.1);
  color: var(--accent);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- CTA 行动号召 ---------- */
.cta {
  background: linear-gradient(135deg, var(--ink-900), var(--teal));
  color: #f6f3ec;
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, 0.08);
  box-shadow: 0 0 0 80px rgba(246, 243, 236, 0.03), 0 0 0 160px rgba(246, 243, 236, 0.02);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta p {
  color: #cfd5d8;
  max-width: 560px;
  margin: 0 auto 34px;
  position: relative;
  z-index: 2;
}

.cta .btn {
  position: relative;
  z-index: 2;
}

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

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-card .thumb {
  height: 200px;
  overflow: hidden;
}

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

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

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

.news-card .date {
  font-size: 12.5px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 文章详情 ---------- */
.article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px;
}

.article h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}

.article .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-500);
  font-size: 13.5px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--paper-3);
  margin-bottom: 28px;
}

.article .cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.article .cover img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

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

.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 12px;
  color: var(--ink-700);
}

.article p {
  margin-bottom: 16px;
  color: var(--ink-600);
  font-size: 15.5px;
}

.article blockquote {
  background: var(--paper-2);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--font-serif);
  color: var(--ink-700);
}

.article ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--ink-600);
}

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

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.table-wrap th,
.table-wrap td {
  padding: 13px 16px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--paper-3);
}

.table-wrap thead th {
  background: var(--ink-900);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 1px;
}

.table-wrap tbody tr:nth-child(even) {
  background: var(--paper);
}

.table-wrap tbody tr:hover {
  background: rgba(176, 141, 87, 0.08);
}

/* ---------- 联系表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 38px;
}

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

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

.form-group label span {
  color: var(--accent);
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--paper-3);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink-900);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 67, 47, 0.1);
  background: var(--white);
}

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

.form-tip {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 12px;
}

.contact-info-card {
  background: linear-gradient(160deg, var(--ink-900), var(--teal));
  color: #f6f3ec;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: #fff;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-info-item .icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(246, 243, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-info-item strong {
  display: block;
  color: #e9e2d3;
}

.contact-info-item span {
  color: #c9d0d3;
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, 0.14);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex: 0 0 auto;
  margin-left: 16px;
}

.faq-item.open summary::after {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--ink-600);
  font-size: 14.5px;
  line-height: 1.9;
}

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

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink-600);
  box-shadow: var(--shadow-sm);
}

.pagination a:hover {
  background: var(--accent);
  color: #fff;
}

.pagination .current {
  background: var(--ink-900);
  color: var(--paper);
  font-weight: 700;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--ink-500);
}

/* ---------- 内页 Hero（页面顶部条） ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--ink-900), var(--teal));
  color: #f6f3ec;
  padding: 88px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(246, 243, 236, 0.08);
  box-shadow: 0 0 0 40px rgba(246, 243, 236, 0.03);
}

.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.page-hero p {
  color: #cfd5d8;
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink-900);
  color: #aeb6ba;
  padding: 64px 0 30px;
}

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

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.9;
  max-width: 320px;
}

.footer-col h4 {
  color: #e9e2d3;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  font-size: 14px;
  color: #aeb6ba;
}

.footer-col ul a:hover {
  color: #f2b24c;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 236, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom .copyright {
  color: #8d9499;
}

.footer-bottom .copyright strong {
  color: #e9e2d3;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 900;
}

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

.back-top:hover {
  background: var(--accent);
}

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

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

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

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

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

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

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

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

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

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

  .hero-visual {
    max-width: 560px;
  }

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

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

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

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(246, 243, 236, 0.98);
    border-bottom: 1px solid rgba(176, 141, 87, 0.2);
    padding: 16px 24px 24px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-stats {
    gap: 22px;
  }

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

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

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

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

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

  .article {
    padding: 28px 20px;
  }

  .article .cover img {
    height: 220px;
  }

  .form-card,
  .contact-info-card {
    padding: 26px 22px;
  }
}

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

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .hero-visual .frame:nth-child(1),
  .hero-visual .frame:nth-child(2),
  .hero-visual .frame:nth-child(3) {
    transform: none;
  }

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

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

  .pagination {
    flex-wrap: wrap;
  }
}

/* ---------- 打印与无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(201, 67, 47, 0.5);
  outline-offset: 2px;
}
