:root {
  --pink: #ff6b9a;
  --pink-deep: #e24d7c;
  --muted: #8b8494;
  --card: rgba(255, 255, 255, 0.08);
  --nav-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { margin: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f7f2f5;
  background: #100a12;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.4;
}
.glow-a { width: 420px; height: 420px; left: -80px; top: 40px; background: #ff6b9a; }
.glow-b { width: 480px; height: 480px; right: -120px; top: 180px; background: #6d5cff; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 20px 0;
}
.nav-bar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-h);
  padding: 0 18px 0 14px;
  border-radius: 20px;
  background: rgba(18, 12, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
#site-header.is-scrolled .nav-bar {
  background: rgba(14, 9, 16, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 107, 154, 0.22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.brand img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-link, .drop-btn {
  color: #ddd4db;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover, .drop-btn:hover, .drop.open .drop-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.drop { position: relative; }
.drop-btn i {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.drop.open .drop-btn i { transform: rotate(180deg); }
.drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(22, 16, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.drop.open .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .drop:hover .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.drop-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}
.drop-panel a:hover { background: rgba(255, 107, 154, 0.12); }
.drop-panel b { display: block; font-size: 14px; }
.drop-panel span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-toggle span { top: 19px; }
.menu-toggle span:before { top: -7px; }
.menu-toggle span:after { top: 7px; }

.hero, .section, .strip, footer, .page { position: relative; z-index: 1; }
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.kicker {
  color: var(--pink);
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 10px;
}
h1 { font-size: 52px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { color: #d8cfd6; font-size: 17px; margin: 0 0 24px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
}
.btn.sm { padding: 8px 16px; font-size: 13px; }
.btn.primary { background: linear-gradient(90deg, #ff8ab0, #ff5d8f); color: #fff; }
.btn.ghost { border: 1px solid rgba(255,255,255,.22); background: transparent; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hero-panel { display: flex; justify-content: center; }
.phone {
  width: min(360px, 100%);
  background: linear-gradient(180deg, #2a1c24, #1a1218);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.mascot { width: 168px; border-radius: 28px; }
.search-chip {
  margin: 16px auto 18px;
  display: inline-block;
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-row div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 10px; }
.stat-row span { display: block; color: var(--muted); font-size: 12px; }
.strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(255,107,154,.12);
  color: #ffd0e0;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px; }
.sec-head h2 { margin: 0 0 8px; font-size: 28px; }
.sec-head p { margin: 0 0 24px; color: var(--muted); }
.game-grid, .feat-grid, .event-grid { display: grid; gap: 14px; }
.game-grid { grid-template-columns: repeat(3, 1fr); }
.game, .feat-grid article, .event {
  border-radius: 20px;
  padding: 22px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
}
.game h3, .feat-grid h3, .event h3 { margin: 0 0 6px; }
.game p, .feat-grid p, .event p { margin: 0; color: #c9c0c7; }
.g1 { background: linear-gradient(160deg, #3a2040, #1d1520); }
.g2 { background: linear-gradient(160deg, #20353a, #151c20); }
.g3 { background: linear-gradient(160deg, #2a2438, #16141c); }
.g4 { background: linear-gradient(160deg, #3a2a18, #1c1610); }
.g5 { background: linear-gradient(160deg, #1f2f28, #121814); }
.g6 { background: linear-gradient(160deg, #3a1c28, #1a1014); }
.feat-grid { grid-template-columns: repeat(4, 1fr); }
.feat-grid em { color: var(--pink); font-style: normal; font-weight: 800; }
.event-grid { grid-template-columns: repeat(3, 1fr); }
.event { display: block; min-height: 160px; }
.event span {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,107,154,.2);
  color: #ffb3cb;
  margin-bottom: 10px;
}
.e1 { background: linear-gradient(160deg, #5a2048, #1a1018); }
.e2 { background: linear-gradient(160deg, #203050, #12141c); }
.e3 { background: linear-gradient(160deg, #3a3020, #16120e); }
.start-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  background: linear-gradient(120deg, #2a1822, #1a1220 55%, #241830);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(255,107,154,.25);
}
.start-card ol { margin: 12px 0 0; padding-left: 18px; color: #ddd; }
.start-side { background: rgba(255,255,255,.05); border-radius: 20px; padding: 20px; }
.side-title { margin: 0 0 8px; font-weight: 800; }
.side-body { color: var(--muted); }
footer {
  padding: 40px 24px 56px;
  color: #9a9198;
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot-grid {
  max-width: 1180px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.foot-grid a { display: block; margin: 4px 0; }
.icp { text-align: center; font-size: 12px; }
.page { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }
.page h1 { font-size: 32px; }
.page p, .page li { color: #d8cfd6; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 20px; right: 20px;
    top: calc(var(--nav-h) + 18px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
    background: rgba(16, 11, 18, 0.96);
    border: 1px solid rgba(255,255,255,.1);
  }
  #site-header.is-open .nav-menu { display: flex; }
  .drop-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    margin: 0 8px 8px;
  }
  .drop.open .drop-panel { display: block; }
  .nav-actions .btn { display: none; }
  .hero, .game-grid, .feat-grid, .event-grid, .start-card, .foot-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 34px; }
}
