:root {
  --bg: #080604;
  --panel: rgba(24, 17, 12, 0.88);
  --panel-strong: #1d120b;
  --text: #f7ead0;
  --muted: #bca77e;
  --gold: #f6c75a;
  --gold-deep: #9f681e;
  --red: #b5271f;
  --red-dark: #6f120e;
  --line: rgba(246, 199, 90, 0.24);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 22% 8%, rgba(130, 31, 19, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(246, 199, 90, 0.08), transparent 30rem),
    linear-gradient(135deg, #150c08 0%, #090604 44%, #1a0d08 100%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 68%);
}

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

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

.site-header,
.sub-header {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 5, 4, 0.7), rgba(8, 5, 4, 0.22) 46%, rgba(8, 5, 4, 0.48)),
    linear-gradient(180deg, rgba(8, 5, 4, 0.1), rgba(8, 5, 4, 0.74)),
    url("../../images/hero-bg.jpg") center center / cover no-repeat,
    linear-gradient(135deg, #1d0f09 0%, #080504 54%, #1a0b07 100%);
}

.sub-header {
  min-height: 420px;
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(246, 199, 90, 0.35);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 40px;
  padding: 10px 14px;
  color: #ead8b0;
  border: 1px solid transparent;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.26);
}

.hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #fff1c5;
  text-shadow: 0 5px 0 #4d0f0b, 0 0 42px rgba(246, 199, 90, 0.42);
}

h2 {
  margin-bottom: 16px;
  color: #ffe3a3;
  font-size: 28px;
  line-height: 1.25;
}

.lead {
  max-width: 660px;
  color: #e2ceb0;
  font-size: 20px;
  line-height: 1.8;
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #2b0905;
  border-color: #ffd978;
  background: linear-gradient(180deg, #ffe390, var(--gold) 52%, #b97721);
  box-shadow: 0 12px 28px rgba(181, 39, 31, 0.28);
}

.btn.secondary {
  color: var(--gold);
  background: rgba(10, 6, 4, 0.72);
}

.btn.full {
  width: 100%;
  margin-top: 12px;
}

.hero-panel,
.download-card,
.notice {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(32, 20, 12, 0.92), rgba(12, 7, 5, 0.92));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 10px 0;
  color: var(--gold);
  font-size: 34px;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 86px;
}

.download-card,
.notice {
  padding: 26px;
  background: var(--panel);
}

.download-card {
  height: 100%;
}

.download-card p,
.notice p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.service-list div {
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: rgba(0, 0, 0, 0.35);
}

.service-list dt {
  margin-bottom: 4px;
  color: var(--gold);
  font-weight: 800;
}

.service-list dd {
  margin: 0;
  color: #fff1c5;
  font-size: 20px;
  font-weight: 800;
}

.auth-note {
  margin-top: 18px;
  padding: 18px 16px;
  color: #ffe3a3;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(246, 199, 90, 0.08);
}

.section {
  padding: 58px 0 0;
}

.site-header + main .section:first-child {
  padding-top: 26px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: stretch;
}

.rules-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(24, 17, 12, 0.7);
  box-shadow: var(--shadow);
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

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

.notice-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(45, 25, 14, 0.9), rgba(14, 8, 5, 0.9));
  box-shadow: var(--shadow);
}

.notice-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe3a3;
  font-size: 21px;
}

.notice-grid p {
  margin-bottom: 0;
  color: #dfcba7;
  line-height: 1.75;
}

.rule-list li {
  min-height: 70px;
  padding: 14px 16px;
  color: #f1dfbd;
  border-left: 3px solid var(--red);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.rule-list strong {
  color: var(--gold);
  font-size: 16px;
}

.rule-list span {
  color: #dfcba7;
  font-size: 14px;
  line-height: 1.45;
}

.gallery,
.download-grid {
  display: grid;
  gap: 18px;
}

.gallery {
  grid-template-columns: repeat(4, 1fr);
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  padding: 32px 18px;
  color: #8f7c5d;
  text-align: center;
  background: #050302;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 6px 0;
  font-size: 13px;
}

.sub-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.sub-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
}

.sub-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #e2ceb0;
  font-size: 18px;
  line-height: 1.8;
}

.download-main {
  padding: 70px 0 86px;
}

.download-grid {
  grid-template-columns: repeat(4, 1fr);
}

.download-link {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(24, 17, 12, 0.88);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.download-link:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 199, 90, 0.72);
}

.download-link span,
.download-link small {
  display: block;
  color: var(--muted);
}

.download-link strong {
  display: block;
  margin: 20px 0 10px;
  color: #ffe3a3;
  font-size: 22px;
  line-height: 1.35;
}

.primary-link {
  background: linear-gradient(180deg, rgba(119, 18, 14, 0.95), rgba(24, 17, 12, 0.92));
}

.notice {
  margin-top: 28px;
}

.notice .btn {
  margin-top: 18px;
}

.guide-main,
.contact-main {
  padding-bottom: 86px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(16, 10, 7, 0.88);
  box-shadow: var(--shadow);
}

.guide-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 18px;
}

.guide-nav a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(246, 199, 90, 0.1);
}

.guide-nav a:hover {
  color: var(--gold);
}

.guide-content {
  display: grid;
  gap: 20px;
}

.guide-section,
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.9);
  box-shadow: var(--shadow);
}

.guide-section h2,
.contact-card h2 {
  margin-bottom: 18px;
}

.guide-section h3 {
  margin: 22px 0 10px;
  color: var(--gold);
  font-size: 18px;
}

.guide-section p,
.guide-section li,
.contact-card p,
.contact-card li {
  color: #dfcba7;
  line-height: 1.85;
}

.guide-section ul,
.guide-section ol,
.contact-card ul {
  margin: 0;
  padding-left: 22px;
}

.guide-shot {
  width: min(100%, 520px);
  margin: 20px 0 6px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-grid article,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.9);
  box-shadow: var(--shadow);
}

.quick-grid article {
  padding: 24px;
}

.quick-grid span,
.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-weight: 900;
}

.quick-grid strong,
.contact-card strong {
  display: block;
  color: #ffe3a3;
  font-size: 22px;
}

.quick-grid p,
.contact-card p {
  margin-bottom: 0;
}

.contact-grid {
  margin-top: -48px;
  position: relative;
}

.contact-card .btn {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
    padding: 42px 0;
  }

  .hero-panel {
    max-width: 420px;
  }

  .gallery,
  .download-grid,
  .notice-grid,
  .quick-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
  }

  .hero {
    padding-bottom: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .rule-list,
  .gallery,
  .download-grid,
  .notice-grid,
  .quick-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: auto;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
}
