/* ==========================================================================
   尚风电竞 · esops.cn
   暗色科技风 · 品牌红 #E5342A / #FF5A4A
   ========================================================================== */

:root {
  --bg:        #07090D;
  --panel:     #0A0E14;
  --card:      #111823;
  --card-alt:  #101720;
  --footer-bg: #05070A;
  --line:      #1E2936;
  --line-soft: #1C2531;

  --text:      #F2F5F8;
  --text-soft: #C3CBD6;
  --muted:     #8A95A5;
  --muted-2:   #7A8494;
  --muted-3:   #6C7787;

  --red:       #E5342A;
  --red-lit:   #FF5A4A;
  --red-soft:  #FF7264;
  --red-deep:  #B71C12;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans:  "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-en:    "Inter Tight", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 8px 28px rgba(229, 52, 42, .32);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(229, 52, 42, .45);
}

.btn--ghost {
  color: var(--text-soft);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
}

.btn--white {
  color: var(--red-deep);
  background: #fff;
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

.btn--sm { padding: 13px 30px; font-size: 15px; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 13, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 41, 54, .6);
}

.header__inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }

.brand__text { display: flex; flex-direction: column; gap: 3px; }

.brand__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1.2;
}

.brand__en {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--red);
  line-height: 1;
}

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

.nav a {
  font-size: 15px;
  color: #98A4B2;
  transition: color .18s ease;
}
.nav a:hover { color: var(--text); }

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

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-soft);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--bg);
  padding: 72px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 568px;
  align-items: center;
  gap: 72px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(229, 52, 42, .12);
  border: 1px solid rgba(229, 52, 42, .4);
  color: var(--red-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
}

.hero__title {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.2;
  letter-spacing: -.5px;
  color: #F5F7FA;
}

.hero__sub {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.8;
  color: #8E99A8;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__trust {
  font-size: 13px;
  letter-spacing: .3px;
  color: #5D6878;
}

.hero__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 底部渐隐：弱化图片边缘并压住生成水印 */
.hero__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(to top, #07090D 0%, rgba(7, 9, 13, .88) 40%, rgba(7, 9, 13, 0) 100%);
  pointer-events: none;
}

/* ==========================================================================
   Section common
   ========================================================================== */

.section { padding: 96px 0; }
.section--panel { background: var(--panel); }
.section--base  { background: var(--bg); }

/* 锚点跳转时留出吸顶导航的高度，避免标题被遮挡 */
section[id] { scroll-margin-top: 88px; }

.section__head { margin-bottom: 48px; }

.section__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section__head--split > div { display: flex; flex-direction: column; gap: 12px; }

.section__title {
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.3;
  color: #F5F7FA;
}

.section__sub {
  font-size: 16px;
  color: var(--muted-2);
}

.link-more {
  font-size: 15px;
  font-weight: 500;
  color: var(--red-lit);
  transition: opacity .18s ease;
}
.link-more:hover { opacity: .75; }

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  min-height: 240px;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(229, 52, 42, .14);
  color: var(--red-lit);
  flex: 0 0 auto;
}
.feature__icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-size: 20px;
  color: var(--text);
  line-height: 1.3;
}

.feature p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Stores ---------- */

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

.store {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  min-height: 184px;
  border-radius: 18px;
  background: var(--card-alt);
  border: 1px solid var(--line-soft);
}

.store__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--red-lit);
}

.store__name {
  font-size: 19px;
  color: var(--text);
  line-height: 1.35;
}

.store__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.store__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--red-soft);
}

.store--soon {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #131C26;
  border-color: #28343F;
  gap: 10px;
}
.store--soon .store__name { font-size: 18px; color: var(--text-soft); }
.store--soon .store__desc { flex: 0; color: var(--muted-2); max-width: 240px; }

/* ---------- Benefits ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.benefit__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--red-lit);
}

.benefit h3 { font-size: 20px; color: var(--text); line-height: 1.3; }

.benefit p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: start;
}

.about__text { display: flex; flex-direction: column; gap: 18px; }

.about__text p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}

.about__text strong { color: var(--text-soft); font-weight: 600; }

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.about__facts li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--panel);
}

.about__facts strong {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .5px;
  color: var(--text);
}

.about__facts span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  background: linear-gradient(120deg, #E5342A 0%, #A51410 100%);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
  flex-wrap: wrap;
}

.cta__copy { display: flex; flex-direction: column; gap: 10px; }

.cta__copy h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  color: #fff;
  line-height: 1.3;
}

.cta__copy p { font-size: 15px; color: #FFD9D2; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--footer-bg);
  padding: 72px 0 36px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }

.footer__logo {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-3);
}

.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }

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

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #6C7787;
  margin-bottom: 2px;
}

.footer__col a {
  font-size: 14px;
  color: #AEB8C4;
  transition: color .18s ease;
}
.footer__col a:hover { color: #fff; }

.footer__divider {
  height: 1px;
  background: #1A222D;
  margin: 40px 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy,
.footer__beian {
  font-size: 12px;
  color: #5D6878;
}

/* 未成年人提示：合规必备，需在页脚可见 */
.footer__notice {
  font-size: 12px;
  line-height: 1.7;
  color: #7C8798;
  margin-bottom: 18px;
}

.footer__notice::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E5342A;
  vertical-align: 1px;
  margin-right: 8px;
}

.footer__beian { display: flex; align-items: center; gap: 10px; }

.footer__beian a {
  color: #909BAA;
  transition: color .18s ease;
}
.footer__beian a:hover { color: #C3CBD6; }

.footer__beian .sep { color: #4A5462; }

.police-ico {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  .wrap { padding: 0 72px; }
  .hero__inner { grid-template-columns: 1fr 460px; gap: 56px; }
}

@media (max-width: 1080px) {
  .wrap { padding: 0 48px; }
  .nav { gap: 28px; }

  .hero { padding: 56px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; }
  .hero__sub { max-width: 100%; }

  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__facts { max-width: 520px; }

  .footer__cols { gap: 48px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 24px; }

  .header__inner { height: 68px; }
  .brand__name { font-size: 16px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 10px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    background: rgba(7, 9, 13, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav--open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; font-size: 16px; border-bottom: 1px solid rgba(30, 41, 54, .5); }
  .nav a:last-child { border-bottom: 0; }

  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }

  .hero { padding: 40px 0 48px; }
  .hero__title { font-size: 40px; }
  .hero__sub { font-size: 16px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; padding: 15px 20px; font-size: 15px; }
  .hero__trust { font-size: 12px; line-height: 1.9; }

  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  .section__head--split { align-items: flex-start; }

  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature { min-height: 0; padding: 24px; gap: 14px; }

  .store-grid { grid-template-columns: 1fr; gap: 16px; }
  .store { min-height: 0; padding: 22px; }

  .benefit-grid { grid-template-columns: 1fr; gap: 28px; }

  .cta__inner { padding-top: 44px; padding-bottom: 44px; gap: 24px; }
  .cta__inner .btn { width: 100%; }

  .footer { padding: 48px 0 28px; }
  .footer__top { gap: 40px; }
  .footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; width: 100%; }
  .footer__divider { margin: 28px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__beian { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 34px; }
  .hero__cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
