:root {
  --bg: #111b17;
  --bg-soft: #18251f;
  --panel: rgba(245, 235, 220, 0.08);
  --panel-strong: rgba(245, 235, 220, 0.14);
  --line: rgba(245, 235, 220, 0.16);
  --text: #f2eadc;
  --muted: #cdbfa9;
  --accent: #d8a95b;
  --accent-deep: #8b6230;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --content-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(216, 169, 91, 0.12), transparent 28%),
    linear-gradient(180deg, #0d1512 0%, #111b17 38%, #16231d 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 21, 18, 0.74);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-kicker,
.eyebrow,
.card-tag,
.panel-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-kicker,
.eyebrow,
.panel-label {
  color: var(--accent);
  font-size: 0.72rem;
}

.brand-title,
h1,
h2,
h3 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.24rem;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  animation: fade-up 700ms ease both;
}

.hero-section {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy h1 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
}

.hero-text,
.section-heading p,
.info-card p,
.feature-card p,
.contact-card p,
.panel-list {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 42rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.92rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f0c27a 100%);
  color: #1f1710;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel,
.info-card,
.feature-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-strong) 0%, var(--panel) 100%);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.4rem 1.5rem;
}

.panel-list {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.panel-list li + li {
  margin-top: 0.7rem;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.section-heading h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.card-grid,
.contact-layout {
  display: grid;
  gap: 1.2rem;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gameplay-grid {
  margin-top: 1.4rem;
}

.info-card,
.feature-card,
.contact-card {
  padding: 1.4rem;
}

.card-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  color: var(--accent);
}

.info-card h3,
.feature-card h3,
.contact-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.28rem;
}

.section-tinted {
  position: relative;
}

.section-tinted::before {
  content: "";
  position: absolute;
  inset: 2rem -1rem;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(216, 169, 91, 0.08), rgba(255, 255, 255, 0.02));
}

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.flow-strip span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.contact-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  padding: 1.5rem 1rem 2.4rem;
  text-align: center;
  color: rgba(242, 234, 220, 0.72);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-section,
  .card-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-section,
  .card-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    line-height: 1;
  }

  .button {
    width: 100%;
  }
}
