/* ==========================================================================
   烽火竞技 · 官网主样式
   品牌色：#FF6B26 主橙 / #FFEDE0 浅橙 / #0F1115 深底
   ========================================================================== */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1D24;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #FF6B26; }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Variables ---------- */
:root {
  --brand:        #FF6B26;
  --brand-dark:   #E55712;
  --brand-light:  #FFEDE0;
  --ink:          #1A1D24;
  --ink-soft:     #4A4F5C;
  --ink-muted:    #8B8F9A;
  --line:         #E8EAEE;
  --bg-soft:      #F8F9FB;
  --bg-dark:      #0F1115;

  --container:    1180px;

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;

  --shadow-sm:    0 1px 3px rgba(15, 17, 21, .06);
  --shadow-md:    0 8px 24px rgba(15, 17, 21, .08);
  --shadow-brand: 0 8px 24px rgba(255, 107, 38, .25);
}

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

.section {
  padding: 96px 0;
}

.section-tight { padding: 64px 0; }

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand svg { width: 32px; height: 32px; }

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

.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links a.is-active,
.nav-links a:hover { color: var(--brand); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-brand);
}

.nav-cta:hover { background: var(--brand-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s;
}

.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY( 4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  background: radial-gradient(1200px 600px at 70% -10%,
              rgba(255,107,38,.18) 0%, transparent 70%),
              radial-gradient(900px 500px at 10% 20%,
              rgba(255,107,38,.10) 0%, transparent 70%),
              #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  /* minmax(0, ...) 防止子元素 absolute 时父列塌陷成 0 宽 */
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255,107,38,.18);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--brand); }

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Hero 视觉块（干净的实时赛事卡 + 渐变光晕） ---------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

/* 背景光晕：两个模糊圆形增加层次感，不会因为宽度变化破版 */
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  z-index: 0;
  pointer-events: none;
}

.hero-visual::before {
  width: 280px; height: 280px;
  background: rgba(255, 107, 38, .35);
  top: 0; right: -10%;
}

.hero-visual::after {
  width: 220px; height: 220px;
  background: rgba(255, 138, 76, .22);
  bottom: 0; left: -5%;
}

.hero-card-main {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow:
    0 24px 60px rgba(15, 17, 21, .12),
    0 6px 16px rgba(255, 107, 38, .12);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.score-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
}

.hero-live::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16A34A;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(22,163,74,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0   rgba(22,163,74,0); }
}

.hero-team {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.hero-team + .hero-team {
  border-top: 1px dashed var(--line);
}

.hero-team-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.hero-team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.hero-team-score {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: -1px;
  line-height: 1;
}

.hero-team-score.is-leading {
  color: var(--brand);
}

.hero-card-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  text-align: center;
}

.hero-stat span {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.hero-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.5px;
}

/* 给 showcase 内嵌的小卡片复用一套精简的 score-* 样式 */
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.score-team { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.score-team .dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #FFB073);
}
.score-num { font-size: 26px; font-weight: 800; letter-spacing: -1px; color: var(--ink); }

/* ---------- Stats Bar ---------- */
.stats {
  background: var(--bg-soft);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -1px;
}

.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

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

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

/* ---------- Showcase 双列展示 ---------- */
.showcase {
  background: #fff;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-row + .showcase-row { margin-top: 100px; }

.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.showcase-text p.lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.showcase-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3px;
}

.showcase-img {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-light), #fff);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.showcase-img-decor {
  position: absolute;
  inset: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 20px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #1A1D24, #2A2F3A);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 80px auto;
  max-width: calc(var(--container) - 48px);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 50% 0%, rgba(255,107,38,.30) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-band p {
  color: #B7BBC4;
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-band .btn-primary { background: var(--brand); color: #fff; }
.cta-band .btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.cta-band .btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0F1115;
  color: #B7BBC4;
  padding: 64px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #8B8F9A; max-width: 320px; line-height: 1.7; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #B7BBC4; }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #6E7280;
}

.footer-bottom a { color: #6E7280; }
.footer-bottom a:hover { color: var(--brand); }

.beian {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.beian-public {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian-public::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>");
  background-size: contain;
}

/* ---------- 内容页（关于 / 协议 / 隐私 / 联系） ---------- */
.page-header {
  padding: 80px 0 48px;
  background: linear-gradient(180deg, var(--brand-light) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 16px;
  color: var(--ink-muted);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.prose h2 {
  font-size: 22px;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.prose h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 24px 0 10px;
}

.prose p { margin-bottom: 14px; }

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.prose li { margin-bottom: 6px; }

.prose strong { color: var(--ink); }

.prose .meta {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.contact-card .feature-icon { margin: 0 auto 18px; }

.contact-card h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--ink-soft);
  word-break: break-all;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 80px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { margin: 0 auto; }

  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .showcase-row { grid-template-columns: 1fr; gap: 32px; }
  .showcase-row.reverse { direction: ltr; }

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

  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.placeholder {
  background: #FFF6E0;
  color: #B45309;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}
