/* ============================================================
   铁拳教育 Get Schooled - 资源分享站全局样式
   ============================================================ */
:root {
  --bg: #0d0f14;
  --bg-soft: #14171f;
  --card: #1a1e29;
  --card-hover: #222836;
  --line: #2a3140;
  --text: #e8eaf0;
  --text-dim: #9aa3b5;
  --accent: #e50914;
  --accent-2: #f5b50a;
  --quark: #2380e6;
  --baidu: #4e6ef2;
  --radius: 14px;
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand .logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.brand span em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--text-dim); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 80px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(229, 9, 20, 0.28), transparent 60%),
    radial-gradient(700px 380px at 0% 20%, rgba(245, 181, 10, 0.12), transparent 60%),
    var(--bg);
}
.hero .container { display: grid; grid-template-columns: 320px 1fr; gap: 46px; align-items: center; }
.hero-poster {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.hero-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.hero-info .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.16);
  color: #ff8a92;
  border: 1px solid rgba(229, 9, 20, 0.4);
}
.tag.gold { background: rgba(245, 181, 10, 0.14); color: var(--accent-2); border-color: rgba(245, 181, 10, 0.4); }
.hero-info h1 { font-size: 44px; line-height: 1.15; margin-bottom: 10px; }
.hero-info h1 em { font-style: normal; color: var(--accent-2); }
.hero-info .sub { font-size: 16px; color: var(--text-dim); margin-bottom: 18px; }
.hero-info .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }
.hero-info .meta b { color: var(--text); font-weight: 600; }
.hero-info .desc { color: var(--text-dim); font-size: 15px; margin-bottom: 28px; max-width: 680px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35); }
.btn-red:hover { background: #ff1622; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-quark { background: var(--quark); color: #fff; box-shadow: 0 8px 24px rgba(35, 128, 230, 0.35); }
.btn-baidu { background: var(--baidu); color: #fff; box-shadow: 0 8px 24px rgba(78, 110, 242, 0.35); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.sec-head h2 { font-size: 28px; font-weight: 800; }
.sec-head .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.sec-head .en { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- 剧情简介 ---------- */
.plot-card { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.plot-card img { border-radius: 14px; width: 100%; }
.plot-card .body p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.plot-card .body p b { color: var(--text); }
.quote {
  margin: 20px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent-2);
  background: rgba(245, 181, 10, 0.07);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-size: 15px;
}

/* ---------- 主演 ---------- */
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cast-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cast-card:hover { transform: translateY(-4px); border-color: rgba(229, 9, 20, 0.5); }
.cast-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #000; }
.cast-card .info { padding: 14px 16px; }
.cast-card .info .name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.cast-card .info .role { font-size: 13px; color: var(--accent-2); margin-bottom: 6px; }
.cast-card .info .intro { font-size: 13px; color: var(--text-dim); }

/* ---------- 亮点 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease;
}
.feat-card:hover { border-color: rgba(245, 181, 10, 0.5); }
.feat-card .icon { font-size: 26px; margin-bottom: 10px; }
.feat-card h3 { font-size: 16px; margin-bottom: 6px; }
.feat-card p { font-size: 13.5px; color: var(--text-dim); }

/* ---------- 剧照墙 ---------- */
.still-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.still-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- 下载区 ---------- */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dl-color, var(--accent)), transparent);
}
.dl-card h3 { font-size: 20px; margin-bottom: 4px; }
.dl-card .dl-sub { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }
.qrcode-box {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  animation: breathe 2.2s ease-in-out infinite;
}
.qrcode-box img { width: 132px; height: 132px; }
.qrcode-tip { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); }
.qrcode-tip b { color: var(--accent-2); }
.dl-actions { margin-top: 18px; display: flex; justify-content: center; }
.notice {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(245, 181, 10, 0.08);
  border: 1px solid rgba(245, 181, 10, 0.3);
  color: var(--text-dim);
  font-size: 13.5px;
}
.notice b { color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: var(--card); }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.faq-item summary::before { content: "＋"; color: var(--accent-2); font-weight: 700; }
.faq-item[open] summary::before { content: "－"; }
.faq-item .ans { padding: 0 20px 16px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 26px 0; text-align: center; color: var(--text-dim); font-size: 13.5px; }
.footer p { margin-bottom: 6px; }

/* ---------- 呼吸动画：边框透明度0.5→1 + 缩放0.96→1.02，周期2.2s ---------- */
@keyframes breathe {
  0%   { box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.5); transform: scale(0.96); }
  50%  { box-shadow: 0 0 0 4px rgba(229, 9, 20, 1); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.5); transform: scale(0.96); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 模态弹窗 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: #fff;
  color: #333;
  width: 100%;
  max-width: 680px;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  max-height: 92vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease;
}
.modal-close:hover { background: #e2e2e2; }
.modal-body { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 720px) {
  .modal-body { flex-direction: row; align-items: center; justify-content: space-between; }
}
.modal-left h3 { font-size: 20px; margin-bottom: 14px; }
.modal-left ul { display: flex; flex-direction: column; gap: 10px; }
.modal-left li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #555; }
.modal-left li .tick { color: #22a06b; font-weight: 700; }
.modal-right { text-align: center; flex-shrink: 0; }
.modal-right .qrcode-container { display: inline-block; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid #eee; animation: breathe 2.2s ease-in-out infinite; }
.modal-right .qrcode-container img { width: 150px; height: 150px; }
.modal-right .qrcode-copy { margin: 12px 0 14px; font-size: 13.5px; color: #777; }
.modal-right .qrcode-copy b { color: #e50914; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--dl-color, #e50914);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.download-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.modal-tip { margin-top: 14px; font-size: 12.5px; color: #999; }

/* ---------- 面包屑/页头 ---------- */
.page-head { padding: 56px 0 30px; text-align: center; }
.page-head h1 { font-size: 38px; margin-bottom: 10px; }
.page-head p { color: var(--text-dim); font-size: 15px; }
.crumb { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.crumb a:hover { color: var(--accent-2); }

/* ---------- 通用文字块 ---------- */
.text-block p { color: var(--text-dim); font-size: 15px; margin-bottom: 14px; }
.text-block h3 { font-size: 20px; margin: 26px 0 12px; }
.text-block h3::before { content: "▍"; color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-poster { max-width: 260px; margin: 0 auto; }
  .hero-info h1 { font-size: 32px; }
  .hero-btns { justify-content: center; }
  .plot-card { grid-template-columns: 1fr; }
  .plot-card img { max-width: 320px; margin: 0 auto; }
  .navbar .container { flex-wrap: wrap; height: auto; padding: 12px 20px; gap: 8px; justify-content: center; }
}
