:root {
  --forest-950: #0b211c;
  --forest-900: #113229;
  --forest-800: #17483a;
  --forest-700: #1f624d;
  --forest-600: #2f7d61;
  --cream: #fbf7ed;
  --cream-2: #f2ead9;
  --wood: #a66b3f;
  --amber: #e7a54a;
  --ink: #12201c;
  --muted: #64746e;
  --line: rgba(17, 50, 41, 0.15);
  --shadow: 0 18px 50px rgba(11, 33, 28, 0.13);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--forest-950); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; color: #fff; background: var(--forest-950); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--amber), #f5d68c); color: var(--forest-950); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.brand-mark::before { content: "▶"; font-size: 13px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 9px; color: #e8f0ed; font-size: 14px; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.search { position: relative; width: 188px; }
.search input { width: 100%; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; padding: 0 38px 0 13px; outline: none; }
.search input::placeholder { color: #c2d0cb; }
.search input:focus { border-color: #f5d68c; box-shadow: 0 0 0 3px rgba(231,165,74,.2); }
.search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #fff; cursor: pointer; }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 11px; background: transparent; color: #fff; cursor: pointer; }

.hero { min-height: 560px; position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--forest-950); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,18,.92) 0%, rgba(7,22,18,.68) 42%, rgba(7,22,18,.16) 75%), linear-gradient(0deg, rgba(7,22,18,.88), transparent 50%), url("da6367c7b429.png") center/cover no-repeat; transform: scale(1.01); }
.hero-content { position: relative; z-index: 1; padding: 82px 0 70px; max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #f5d68c; font-weight: 750; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.06; letter-spacing: -.045em; }
.hero p { margin: 20px 0 28px; max-width: 580px; color: #e5ede9; font-size: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--forest-950); }
.btn-secondary { border-color: rgba(255,255,255,.36); background: rgba(9,29,24,.46); color: #fff; backdrop-filter: blur(8px); }
.hero-stats { position: absolute; right: max(20px, calc((100vw - 1180px)/2)); bottom: 38px; z-index: 2; display: flex; gap: 30px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(8,28,23,.72); backdrop-filter: blur(14px); }
.hero-stats strong { display: block; font-size: 21px; color: #fff; }
.hero-stats span { font-size: 12px; color: #c9d7d2; }

.section { padding: 78px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.03em; }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.text-link { color: var(--forest-700); font-weight: 750; border-bottom: 1px solid currentColor; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 26px; }
.chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--forest-800); cursor: pointer; }
.chip.active, .chip:hover { border-color: var(--forest-700); background: var(--forest-700); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(15,48,39,.06); transition: transform .22s ease, box-shadow .22s ease; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--forest-800); }
.cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .4s ease; }
.video-card:hover .cover img { transform: scale(1.07); }
.crop-left { object-position: 16% 50%; }
.crop-center { object-position: 52% 50%; }
.crop-right { object-position: 86% 50%; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,24,20,.55), transparent 58%); }
.play { position: absolute; left: 16px; bottom: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--forest-900); font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.duration { position: absolute; right: 12px; bottom: 13px; z-index: 2; padding: 4px 7px; border-radius: 6px; background: rgba(7,24,20,.82); color: #fff; font-size: 12px; }
.card-body { padding: 17px 17px 19px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.video-card h3 { margin: 8px 0 7px; font-size: 18px; line-height: 1.4; }
.video-card p { margin: 0; color: var(--muted); font-size: 14px; }
.hidden-card { display: none; }

.rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.rank-item { display: grid; grid-template-columns: 50px 96px 1fr auto; align-items: center; gap: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.rank-number { font-size: 26px; font-weight: 850; color: var(--wood); text-align: center; }
.rank-thumb { height: 64px; border-radius: 10px; overflow: hidden; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-title { font-weight: 800; }
.rank-sub { color: var(--muted); font-size: 13px; }
.rank-score { font-weight: 850; color: var(--forest-700); }

.promo { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 370px; overflow: hidden; border-radius: 26px; background: var(--forest-900); color: #fff; box-shadow: var(--shadow); }
.promo-copy { padding: 58px; display: flex; flex-direction: column; justify-content: center; }
.promo-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
.promo-copy p { color: #d5e1dd; }
.promo-visual { min-height: 300px; background: linear-gradient(90deg, var(--forest-900), transparent 28%), url("da6367c7b429.png") 86% center/cover no-repeat; }

.page-hero { padding: 76px 0 60px; color: #fff; background: linear-gradient(135deg, var(--forest-950), var(--forest-800)); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: #c9d8d2; font-size: 14px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 62px); }
.page-hero p { max-width: 720px; margin: 16px 0 0; color: #dce7e3; font-size: 18px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.content-block h2 { margin: 0 0 14px; font-size: 34px; }
.content-block p { color: var(--muted); }
.feature-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--forest-700); color: #fff; font-size: 12px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 32px; align-items: start; }
.player { aspect-ratio: 16/9; position: relative; overflow: hidden; border-radius: 22px; background: #071712; box-shadow: var(--shadow); }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.player .play { left: 50%; top: 50%; bottom: auto; width: 68px; height: 68px; transform: translate(-50%, -50%); font-size: 18px; }
.detail-panel { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.detail-panel h2 { margin-top: 0; }
.tag { display: inline-block; margin: 0 6px 8px 0; padding: 6px 10px; border-radius: 999px; background: var(--cream-2); color: var(--forest-800); font-size: 13px; }
.empty-state { display: none; padding: 32px; border: 1px dashed var(--forest-600); border-radius: 16px; text-align: center; color: var(--muted); }

.site-footer { color: #dce7e3; background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 44px; padding: 54px 0 38px; }
.footer-name { display: block; margin-bottom: 10px; color: #fff; font-size: 22px; font-weight: 850; }
.footer-title { display: block; max-width: 440px; color: #afc2bb; }
.footer-heading { margin-bottom: 12px; color: #fff; font-weight: 800; }
.footer-links { display: grid; gap: 8px; color: #c5d3ce; }
.footer-bottom { padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #9fb2ab; font-size: 13px; }

@media (max-width: 980px) {
  .menu-button { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 65px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: var(--forest-950); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .search { width: 100%; margin: 4px 0 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { display: none; }
  .promo, .two-col, .detail-layout { grid-template-columns: 1fr; }
  .promo-visual { order: -1; }
  .rank-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 64px; }
  .hero { min-height: 600px; }
  .hero::before { background-position: 38% center; }
  .hero-content { padding: 76px 0 54px; }
  .hero p { font-size: 16px; }
  .section { padding: 58px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .promo-copy { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .rank-item { grid-template-columns: 38px 78px 1fr; }
  .rank-score { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
