/* ================= 望川游戏电竞 · 官网展示页样式 ================= */
:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f2;
  --card: #ffffff;
  --line: #e6dbc6;
  --text: #3f3428;
  --muted: #94836b;
  --brand: #c08a1e;
  --brand-dark: #9c6e0f;
  --dark: #241c12;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(80, 62, 40, .10);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background-image: radial-gradient(1200px 500px at 50% -10%, rgba(192, 138, 30, .10), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section { max-width: 1080px; margin: 0 auto; padding: 64px 18px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: .5px; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.section-head .bar {
  width: 54px; height: 3px; margin: 14px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); }
.brand b { display: block; font-size: 16px; letter-spacing: .5px; }
.brand em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.nav-links { flex: 1; display: flex; gap: 16px; justify-content: center; font-size: 13.5px; }
.nav-links a { color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; transition: .2s; }
.nav-links a:hover { color: var(--brand-dark); border-color: var(--brand); }

.btn-login {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 6px 16px rgba(156, 110, 15, .28); transition: .2s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(156, 110, 15, .34); }
.btn-login svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; color: #f7f1e6;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(192, 138, 30, .38), transparent 62%),
    radial-gradient(700px 380px at 8% 92%, rgba(192, 138, 30, .16), transparent 60%),
    linear-gradient(160deg, #2b2115 0%, #241c12 55%, #1b140c 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 60% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 74px 18px 68px; }
.hero-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px;
  color: #f0dcae; border: 1px solid rgba(192, 138, 30, .55); background: rgba(192, 138, 30, .12);
}
.hero h1 { margin: 18px 0 14px; font-size: 46px; line-height: 1.16; letter-spacing: 1px; }
.hero h1 span {
  background: linear-gradient(100deg, #f3d99a, var(--brand) 55%, #e8c273);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 560px; color: #cfc2ab; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: .2s;
}
.btn-primary {
  color: #2a2013; background: linear-gradient(135deg, #f0d089, var(--brand));
  box-shadow: 0 10px 24px rgba(192, 138, 30, .32);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-line { color: #f0e6d4; border-color: rgba(240, 230, 212, .45); }
.btn-line:hover { background: rgba(255, 255, 255, .08); }

.hero-points {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 42px;
}
.hero-points div {
  padding: 14px 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(240, 230, 212, .16);
}
.hero-points b { display: block; font-size: 16px; color: #f0dcae; }
.hero-points span { font-size: 12.5px; color: #bfb2a0; }

/* ---------- 服务项目 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); transition: .22s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(192, 138, 30, .5); }
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(192, 138, 30, .16), rgba(192, 138, 30, .06));
  border: 1px solid rgba(192, 138, 30, .3); margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; stroke: var(--brand-dark); fill: none; stroke-width: 1.8; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .price { margin-top: 12px; font-size: 13px; color: var(--brand-dark); font-weight: 600; }

/* ---------- 优势 ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-item {
  display: flex; gap: 12px; padding: 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.why-item i {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.why-item b { display: block; margin-bottom: 2px; }
.why-item p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.flow-item {
  position: relative; padding: 22px 18px 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-align: center;
}
.flow-item::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 6px 14px rgba(156, 110, 15, .3);
}
.flow-item b { display: block; margin: 8px 0 4px; }
.flow-item p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '＋'; float: right; color: var(--brand-dark); }
.faq details[open] summary::after { content: '－'; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 联系 ---------- */
.contact {
  background: linear-gradient(160deg, #2b2115, #1e1710); color: #f4ecdd;
  border-radius: 22px; padding: 38px 26px; text-align: center;
}
.contact h2 { margin: 0 0 8px; font-size: 24px; }
.contact p { margin: 0 0 22px; color: #c3b6a2; font-size: 14px; }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.contact-list span {
  padding: 9px 16px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, .06); border: 1px dashed rgba(240, 230, 212, .35);
}
.contact-list b { color: #f0dcae; }

footer {
  text-align: center; padding: 26px 18px 40px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line); margin-top: 40px;
}
footer a { color: var(--brand-dark); }

/* ---------- 价格参考 ---------- */
.price-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.price-table th, .price-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.price-table thead th:first-child { border-top-left-radius: 12px; }
.price-table thead th:last-child { border-top-right-radius: 12px; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(192, 138, 30, .05); }
.price-table .num { color: var(--brand-dark); font-weight: 700; white-space: nowrap; }
.price-note { margin: 12px 4px 0; font-size: 12.5px; color: var(--muted); }
/* 价格参考：图片位（10 个位置，已上传的才显示） */
.price-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-shot {
  width: 100%; display: block; border-radius: var(--radius); cursor: zoom-in;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: .2s;
}
.price-shot:hover { transform: translateY(-3px); border-color: rgba(192, 138, 30, .5); }

/* 服务项目：4 项，上下各两个 */
.cards-4 { grid-template-columns: repeat(2, 1fr); }

/* 横向滚动展示（明星选手 / 客户评价） */
.marquee { overflow: hidden; }
.marquee-track { display: flex; justify-content: center; }
.marquee-item { margin-right: 16px; cursor: zoom-in; flex: 0 0 auto; }
.marquee-track.is-loop {
  justify-content: flex-start; width: max-content;
  animation-name: marquee; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track.is-loop { animation-play-state: paused; }

/* 未上传图片时的占位框 */
.shot-ph {
  display: grid; place-items: center; text-align: center; padding: 8px;
  font-size: 13px; color: var(--muted);
  border: 1px dashed rgba(192, 138, 30, .5);
  background: repeating-linear-gradient(45deg, #f7f1e6, #f7f1e6 10px, #f2e9d8 10px, #f2e9d8 20px);
}
.price-shot.shot-ph { aspect-ratio: 4 / 3; }
.marquee-item.shot-ph { cursor: default; }

/* 明星选手海报（竖版） */
.star-shot {
  width: 218px; height: 300px; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--card-2, #f3ecdd);
}
/* 客户评价截图（横版） */
.review-shot {
  width: 300px; height: 220px; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--card-2, #f3ecdd);
}

/* ---------- 打手团队 ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow); transition: .22s;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(192, 138, 30, .5); }
.avatar {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 18px rgba(156, 110, 15, .25);
}
.team-card b { display: block; font-size: 16px; }
.team-card .role { display: block; margin: 4px 0 8px; font-size: 12.5px; color: var(--brand-dark); }
.team-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 客户评价 ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.review .shot {
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); font-size: 13px;
  background: repeating-linear-gradient(45deg, #f3ecdd, #f3ecdd 10px, #f7f1e6 10px, #f7f1e6 20px);
  border-bottom: 1px dashed var(--line);
}
.review .shot img { width: 100%; height: 100%; object-fit: cover; }
.review figcaption { padding: 14px 16px; }
.review figcaption b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.review figcaption span { font-size: 13.5px; color: var(--muted); }

/* ---------- 联系 + 二维码 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; text-align: left; }
.qr-box { display: flex; gap: 14px; justify-content: center; }
.qr { text-align: center; }
.qr-ph {
  width: 124px; height: 124px; border-radius: 14px; display: grid; place-items: center;
  font-size: 12.5px; color: #cbbfa9; border: 1px dashed rgba(240, 230, 212, .4);
  background: rgba(255, 255, 255, .05);
}
.qr-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.qr-box.single .qr-ph { width: 158px; height: 158px; }
.qr span { display: block; margin-top: 8px; font-size: 12.5px; color: #bfb2a0; }

/* ---------- 手机端 ---------- */
@media (max-width: 860px) {
  .price-gallery { grid-template-columns: 1fr; }
  .star-shot { width: 152px; height: 208px; }
  .review-shot { width: 240px; height: 176px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { border-bottom: 1px solid var(--line); padding: 6px 4px; }
  .price-table tr:last-child { border-bottom: none; }
  .price-table td { border: none; padding: 5px 12px; display: flex; justify-content: space-between; gap: 12px; }
  .price-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero h1 { font-size: 32px; }
  .hero-inner { padding: 52px 18px 48px; }
  .hero-points { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .section { padding: 46px 16px; }
  .section-head h2 { font-size: 23px; }
}
