:root {
  --black: #070707;
  --panel: #11100e;
  --gold: #d8a640;
  --gold-light: #ffe7a3;
  --text: #f8f4e9;
  --muted: #a8a398;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

main { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 78% 10%, #30220d 0, transparent 25%), var(--black); }
.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(216,166,64,.22);
  position: relative;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 2px; }
.brand-mark { color: var(--gold); font-size: 27px; }
nav { display: flex; gap: 34px; color: #d8d2c5; font-size: 14px; }
nav a:hover { color: var(--gold-light); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  position: relative;
}
.hero-glow { position: absolute; width: 440px; height: 440px; right: -60px; background: #be7d13; filter: blur(130px); opacity: .12; border-radius: 50%; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 5px; margin: 0 0 20px; }
h1 { margin: 0; font-size: clamp(58px, 8vw, 104px); line-height: .95; letter-spacing: -5px; }
h1 span { display: block; color: transparent; -webkit-text-stroke: 1px var(--gold); text-shadow: 0 0 28px rgba(216,166,64,.16); }
.hero-text { max-width: 520px; margin: 28px 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; }
.button { padding: 14px 28px; border: 1px solid var(--gold); font-weight: 700; font-size: 14px; transition: .25s ease; }
.button-primary { color: #171004; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.button-secondary { color: var(--gold-light); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(216,166,64,.18); }
.principles { display: flex; align-items: center; gap: 12px; margin-top: 46px; color: #d5c8a9; font-size: 12px; letter-spacing: 3px; }
.principles i { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.logo-frame { position: relative; display: grid; place-items: center; }
.logo-frame img { width: min(100%, 520px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; filter: drop-shadow(0 25px 60px rgba(0,0,0,.9)); position: relative; z-index: 1; }
.orbit { position: absolute; width: 86%; aspect-ratio: 1; border: 1px solid rgba(216,166,64,.35); border-radius: 50%; box-shadow: inset 0 0 80px rgba(216,166,64,.08); }

.video-section, .guide-section, .contact-section { padding: 110px max(20px, calc((100vw - 1180px)/2)); }
.video-section { background: linear-gradient(180deg, #0c0b09, #13100b); border-block: 1px solid rgba(216,166,64,.14); }
.section-heading { max-width: 650px; margin-bottom: 42px; }
h2 { font-size: clamp(36px, 5vw, 58px); margin: 0 0 18px; letter-spacing: -2px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.8; }
.video-shell { max-width: 960px; margin: auto; padding: 10px; border: 1px solid rgba(216,166,64,.45); background: #030303; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
video { display: block; width: 100%; max-height: 72vh; background: #000; }

.guide-section { background: #090b10; }
.guide-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 70px; }
.guide-intro > div { padding: 24px; border-top: 1px solid var(--gold); background: #101116; }
.guide-intro strong { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.guide-intro span { display: block; margin: 16px 0 10px; font-weight: 800; font-size: 18px; }
.guide-intro p, .platform-copy li p, .safety-note p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.platform-guide { display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: center; padding: 64px 0; border-top: 1px solid #25262a; }
.platform-guide.reverse { grid-template-columns: 1.18fr .82fr; }
.platform-guide.reverse .platform-copy { grid-column: 2; grid-row: 1; }
.platform-guide.reverse img { grid-column: 1; grid-row: 1; }
.platform-guide img { width: 100%; border: 1px solid rgba(216,166,64,.32); box-shadow: 0 25px 65px rgba(0,0,0,.45); }
.platform-tag { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 3px; }
h3 { margin: 12px 0 28px; font-size: clamp(28px, 4vw, 42px); }
.platform-copy ol { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.platform-copy li { position: relative; padding: 0 0 18px 44px; counter-increment: steps; }
.platform-copy li::before { content: counter(steps); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 50%; font-size: 12px; }
.platform-copy li b { font-size: 16px; }
.platform-copy li p { margin: 6px 0 0; }
.telegram-guide { margin-top: 12px; }
.official-download { display: inline-block; margin-top: 16px; }
.safety-note { margin-top: 28px; padding: 28px; border: 1px solid rgba(216,166,64,.32); background: rgba(216,166,64,.06); }
.safety-note strong { color: var(--gold-light); }
.safety-note p { margin: 8px 0 0; }

.contact-section { background: radial-gradient(circle at 50% 100%, rgba(174,112,18,.14), transparent 42%); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card { min-height: 190px; padding: 26px; border: 1px solid #302b22; background: linear-gradient(145deg, #15130f, #0c0b09); display: flex; flex-direction: column; transition: .25s ease; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--gold); background: #18140d; }
.contact-card span { color: var(--muted); font-size: 13px; }
.contact-card strong { margin-top: 18px; color: var(--gold-light); font-size: 20px; }
.contact-card em { margin-top: auto; color: var(--gold); font-size: 12px; font-style: normal; }
footer { padding: 42px 20px; text-align: center; border-top: 1px solid #22201b; color: #c9c2b3; }
.notice { max-width: 760px; margin: 12px auto 0; color: #706c64; font-size: 12px; line-height: 1.7; }

@media (max-width: 820px) {
  .site-header { height: 68px; }
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; padding: 72px 0; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .logo-frame { grid-row: 1; margin-bottom: 42px; }
  .logo-frame img { width: min(82vw, 390px); }
  h1 { letter-spacing: -3px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-intro { grid-template-columns: 1fr; }
  .platform-guide, .platform-guide.reverse { grid-template-columns: 1fr; gap: 30px; }
  .platform-guide.reverse .platform-copy, .platform-guide.reverse img { grid-column: auto; grid-row: auto; }
  .platform-guide img { grid-row: 1; }
}

@media (max-width: 520px) {
  .site-header { width: calc(100% - 28px); }
  .brand { font-size: 16px; }
  nav a:first-child { display: none; }
  .hero { width: calc(100% - 28px); min-height: 0; }
  .hero-text { font-size: 15px; }
  .principles { gap: 8px; letter-spacing: 1px; }
  .video-section, .guide-section, .contact-section { padding-block: 76px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 150px; }
}

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

.admin-shell { min-height: 100vh; padding: 54px max(20px, calc((100vw - 1180px)/2)); background: #090b10; color: var(--text); }
.admin-header { display: flex; justify-content: space-between; align-items: end; padding-bottom: 28px; border-bottom: 1px solid #2d2a22; }
.admin-header p { color: var(--gold); margin: 0 0 8px; letter-spacing: 3px; }
.admin-header h1 { font-size: clamp(36px, 6vw, 64px); margin: 0; letter-spacing: -3px; }
.admin-header a, .denied a { color: var(--gold-light); border: 1px solid var(--gold); padding: 10px 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; }
.stat-grid div { padding: 26px; background: #111217; border: 1px solid #27282d; }
.stat-grid span { display: block; color: var(--muted); font-size: 13px; }
.stat-grid strong { display: block; margin-top: 14px; color: var(--gold-light); font-size: 42px; }
.visit-list { padding: 26px; background: #111217; border: 1px solid #27282d; }
.visit-list h2 { font-size: 24px; letter-spacing: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 14px 10px; text-align: left; border-bottom: 1px solid #26272b; font-size: 13px; }
th { color: var(--gold); }
td { color: #c7c3b9; }
.privacy-copy { color: #77736c; margin-top: 18px; font-size: 12px; }
.denied { display: grid; align-content: center; justify-items: start; }
.denied h1 { font-size: 48px; margin: 0; }
.denied p { color: var(--muted); margin-bottom: 26px; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .admin-header { align-items: start; gap: 20px; } }
