/* ============================================================
   派玩电竞官网 · 单页长滚动
   配色取自官方 PPT：深海军蓝 #0B2545/#1E2A5E + 天蓝 #0EA5E9
   + 青 #06B6D4 + 紫 #8B5CF6 + 琥珀 #F59E0B
   ============================================================ */

:root {
  --bg-deep: #0b2545;
  --bg-deeper: #081a33;
  --bg-panel: rgba(255, 255, 255, 0.04);
  --bg-panel-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --primary: #0ea5e9;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --text-1: #f5f8ff;
  --text-2: #a8bbd9;
  --text-3: #7c8db0;
  --grad-primary: linear-gradient(135deg, #0ea5e9, #06b6d4);
  --grad-text: linear-gradient(120deg, #38bdf8, #22d3ee 55%, #a78bfa);
  --radius-card: 16px;
  --shadow-card: 0 12px 40px rgba(2, 12, 27, 0.45);
  --container: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(139, 92, 246, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-deep), var(--bg-deeper));
  color: var(--text-1);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 22, 43, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--text-3); letter-spacing: 3px; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--text-2); transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover { color: var(--text-1); background: var(--bg-panel); }
.site-nav a.is-active { color: #fff; background: rgba(14, 165, 233, 0.18); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; }

.hero-tags { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-tag {
  padding: 6px 18px; border-radius: 999px; font-size: 15px; letter-spacing: 1px;
  border: 1px solid rgba(56, 189, 248, 0.45); color: #7dd3fc; background: rgba(14, 165, 233, 0.10);
}
.hero-dot { color: var(--text-3); }

.hero-title {
  font-size: clamp(48px, 7vw, 84px); font-weight: 800; line-height: 1.15; letter-spacing: 4px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle { margin-top: 12px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: var(--text-1); letter-spacing: 2px; }
.hero-desc { margin-top: 16px; max-width: 520px; color: var(--text-2); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 12px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--grad-primary); color: #04101f; box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45); }
.hero .btn { margin-top: 32px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img {
  width: min(100%, 460px); height: auto; object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(2, 12, 27, 0.6));
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-glow {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), rgba(139, 92, 246, 0.10) 55%, transparent 70%);
  filter: blur(10px);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------------- 版块公共 ---------------- */

.section { padding: 104px 0 0; scroll-margin-top: var(--header-h); }
.section:last-of-type { padding-bottom: 104px; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-index {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 4px;
  color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: 2px; }
.section-subtitle { margin-top: 12px; color: var(--text-2); font-size: 16px; }

.card {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 32px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); background: var(--bg-panel-hover); border-color: rgba(56, 189, 248, 0.35); }

/* ---------------- 01 行业背景 ---------------- */

.industry-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num { font-size: 44px; font-weight: 800; color: var(--amber); line-height: 1.2; }
.stat-num small { font-size: 22px; font-weight: 700; margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 17px; font-weight: 600; }
.stat-desc { margin-top: 12px; font-size: 14px; color: var(--text-2); }

.trend {
  margin-top: 32px; padding: 32px 40px;
  border-left: 3px solid var(--primary);
  background: var(--bg-panel); border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--text-2); font-size: 15px;
}
.trend strong { color: #7dd3fc; }

.data-source { margin-top: 16px; font-size: 12px; color: var(--text-3); text-align: center; }

/* ---------------- 02 关于派玩 ---------------- */

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about-intro p { margin-bottom: 16px; color: var(--text-2); font-size: 15.5px; text-align: justify; }
.about-intro p:first-child { color: var(--text-1); font-size: 16.5px; }

.pillar-list { display: flex; flex-direction: column; gap: 20px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; }
.pillar-code {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #04101f;
  background: var(--grad-primary);
}
.pillar-name { font-size: 18px; font-weight: 700; }
.pillar-desc { margin-top: 4px; font-size: 14px; color: var(--text-2); }

/* ---------------- 03 核心数据 ---------------- */

.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.data-card { text-align: center; }
.data-value { font-size: 48px; font-weight: 800; line-height: 1.2; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.data-value .suffix { font-size: 24px; font-weight: 700; }
.data-label { margin-top: 8px; font-size: 17px; font-weight: 600; }
.data-desc { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.data-note { margin-top: 24px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.data-outlook { margin-top: 8px; text-align: center; color: #7dd3fc; font-weight: 600; }

/* ---------------- 04 平台业务 ---------------- */

.platform-keywords { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.platform-keywords span {
  padding: 8px 22px; border-radius: 999px; font-size: 15px;
  background: var(--bg-panel); border: 1px solid var(--border); color: var(--text-2);
}

.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.flow-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.flow-code {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 18px; font-weight: 800; color: #04101f; background: var(--grad-primary);
}
.flow-name { font-size: 20px; font-weight: 700; }
.flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-steps li {
  padding: 8px 16px; border-radius: 10px; font-size: 14.5px;
  background: rgba(14, 165, 233, 0.10); border: 1px solid rgba(56, 189, 248, 0.3); color: #bae6fd;
}
.flow-arrow { color: var(--text-3); font-size: 13px; }
.flow-desc { margin-top: 16px; font-size: 14px; color: var(--text-2); }

.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.role-icon { font-size: 36px; }
.role-name { margin-top: 12px; font-size: 18px; font-weight: 700; }
.role-desc { margin-top: 8px; font-size: 14px; color: var(--text-2); }

.app-show { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; justify-items: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 883 / 1376;
  background: url("../images/phone-frame.webp") center / contain no-repeat;
}
.phone img {
  position: absolute; inset: 6.5% 6% 5.5%;
  width: 88%; height: 89%; object-fit: cover; border-radius: 24px;
}
.app-tip-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.app-tip-desc { color: var(--text-2); font-size: 15px; max-width: 480px; }
.app-tip-btn { margin-top: 24px; }

/* ---------------- 05 核心功能 ---------------- */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-icon { font-size: 34px; }
.feature-name { margin-top: 14px; font-size: 19px; font-weight: 700; }
.feature-desc { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }

/* ---------------- 06 游戏矩阵 ---------------- */

.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.game-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.game-cover { position: relative; aspect-ratio: 1328 / 900; overflow: hidden; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.game-card:hover .game-cover img { transform: scale(1.04); }
.game-badge {
  position: absolute; left: 20px; top: 20px; padding: 6px 16px; border-radius: 999px;
  background: rgba(8, 22, 43, 0.78); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 700; color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.4);
}
.game-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.game-tagline { font-size: 14px; color: var(--amber); font-weight: 600; letter-spacing: 1px; }
.game-desc { font-size: 14.5px; color: var(--text-2); }
.game-label { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--text-3); }
.game-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.game-chips span {
  padding: 5px 14px; border-radius: 999px; font-size: 13.5px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(167, 139, 250, 0.35); color: #c4b5fd;
}
.game-dirs { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.game-dirs li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.game-dirs b { color: #7dd3fc; font-weight: 600; flex: none; }

/* ---------------- 07 OPC ---------------- */

.opc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.opc-art img { width: min(100%, 420px); margin: 0 auto; border-radius: var(--radius-card); }
.opc-slogan { font-size: 20px; font-weight: 700; color: #7dd3fc; margin-bottom: 12px; }
.opc-desc { font-size: 15px; color: var(--text-2); }
.opc-supports-title { margin: 28px 0 16px; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.opc-supports { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opc-support { padding: 20px 22px; border-radius: 12px; background: var(--bg-panel); border: 1px solid var(--border); }
.opc-support h4 { font-size: 16px; color: #c4b5fd; }
.opc-support p { margin-top: 6px; font-size: 13px; color: var(--text-2); }

/* ---------------- 08 合规安全 ---------------- */

.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compliance-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.compliance-num {
  flex: none; font-size: 15px; font-weight: 800; color: var(--amber);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.35);
}
.compliance-name { font-size: 18px; font-weight: 700; }
.compliance-list li {
  position: relative; padding-left: 22px; margin-top: 10px;
  font-size: 14px; color: var(--text-2);
}
.compliance-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--grad-primary); transform: rotate(45deg);
}

/* ---------------- 09 发展规划 ---------------- */

.goals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.goal-num { font-size: 46px; font-weight: 800; color: var(--amber); }
.goal-num small { font-size: 22px; }
.goal-label { margin-top: 6px; font-size: 17px; font-weight: 700; }
.goal-desc { margin-top: 12px; font-size: 14px; color: var(--text-2); }

.tax-banner {
  margin-top: 32px; padding: 36px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border-radius: var(--radius-card);
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.14), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.tax-desc { font-size: 14.5px; color: var(--text-2); max-width: 640px; }
.tax-num { font-size: 56px; font-weight: 800; text-align: right; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tax-num small { font-size: 24px; }
.tax-label { font-size: 14px; color: var(--text-2); text-align: right; }

.values-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-name { font-size: 17px; font-weight: 700; color: #7dd3fc; }
.value-desc { margin-top: 10px; font-size: 14px; color: var(--text-2); }

/* ---------------- 10 合作 ---------------- */

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-icon { font-size: 34px; }
.partner-name { margin-top: 12px; font-size: 18px; font-weight: 700; }
.partner-desc { margin-top: 8px; font-size: 14px; color: var(--text-2); }

.contact-band {
  margin-top: 40px; padding: 28px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: var(--radius-card); background: var(--bg-panel); border: 1px solid var(--border);
}
.contact-title { font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.contact-list li { font-size: 15px; color: var(--text-2); }
.contact-list b { color: #7dd3fc; font-weight: 600; margin-right: 8px; }

/* ---------------- 页脚 ---------------- */

.site-footer { margin-top: 120px; position: relative; overflow: hidden; }
.footer-vision { position: relative; text-align: center; padding: 40px 24px 80px; }
.footer-art {
  position: absolute; right: -30px; bottom: -40px; width: 340px; opacity: 0.32;
  mask-image: linear-gradient(to left, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent);
  pointer-events: none;
}
.vision-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: 4px; line-height: 1.4; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vision-en { margin-top: 14px; font-size: 14px; color: var(--text-3); letter-spacing: 1px; }
.vision-keywords { margin-top: 24px; display: flex; justify-content: center; gap: 16px; }
.vision-keywords span {
  padding: 6px 22px; border-radius: 999px; font-size: 14px; letter-spacing: 4px;
  border: 1px solid var(--border); color: var(--text-2);
}
.footer-bar { border-top: 1px solid var(--border); background: rgba(4, 12, 24, 0.6); }
.footer-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--text-3);
}
.footer-bar a:hover { color: #7dd3fc; }

/* ---------------- 动效 ---------------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img { animation: none; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .features-grid, .partner-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .industry-stats, .data-grid { grid-template-columns: 1fr 1fr; }
  .goals-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: rgba(8, 22, 43, 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; font-size: 16px; }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(64%, 340px); }
  .hero-glow { width: 380px; height: 380px; }

  .about-grid, .opc-grid, .games-grid, .compliance-grid, .flow-grid, .app-show { grid-template-columns: 1fr; }
  .app-show { justify-items: start; }
  .roles-grid { grid-template-columns: 1fr; }
  .tax-banner { grid-template-columns: 1fr; }
  .tax-num, .tax-label { text-align: left; }
  .footer-art { opacity: 0.16; }
}

@media (max-width: 560px) {
  .section { padding-top: 72px; }
  .card { padding: 24px; }
  .industry-stats, .data-grid, .features-grid, .partner-grid, .values-grid, .opc-supports { grid-template-columns: 1fr; }
  .trend { padding: 24px; }
  .brand-text small { display: none; }
}
