:root {
  --ink: #17110d;
  --paper: #edf0e8;
  --paper-strong: #fffdf0;
  --ember: #d83d21;
  --gold: #e0ad4f;
  --jade: #2f7a62;
  --night: #1b2624;
  --muted: #58615b;
  --line: rgba(23, 17, 13, 0.16);
  --shadow: 0 22px 60px rgba(23, 17, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 17, 13, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(23, 17, 13, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 20% 15%, rgba(224, 173, 79, 0.34), transparent 32%),
    linear-gradient(135deg, #f5f7ef 0%, #dfe9df 52%, #b9d4c9 100%);
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", "PingFang SC", serif;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(244, 239, 229, 0.74);
  border-bottom: 1px solid rgba(23, 17, 13, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-strong);
  background: var(--ink);
  border: 2px solid var(--gold);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  box-shadow: 5px 5px 0 var(--ember);
}

.brand-name {
  font-size: 21px;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ember);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: 138px clamp(22px, 6vw, 96px) 70px;
  background:
    linear-gradient(118deg, rgba(23, 17, 13, 0.78), rgba(23, 17, 13, 0.16) 62%),
    url("./assets/hero-placeholder.svg") center / cover no-repeat;
  color: var(--paper-strong);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  display: block;
  background: rgba(255, 248, 232, 0.28);
  transform-origin: left center;
}

.line-one {
  left: -4%;
  bottom: 24%;
  width: 58%;
  height: 2px;
  transform: rotate(-7deg);
}

.line-two {
  right: -8%;
  top: 36%;
  width: 44%;
  height: 2px;
  transform: rotate(14deg);
}

.line-three {
  left: 58%;
  bottom: 0;
  width: 2px;
  height: 46%;
  transform: rotate(11deg);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.panel-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(78px, 16vw, 180px);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 8px 8px 0 rgba(216, 61, 33, 0.72);
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.game-card:hover {
  transform: translateY(-4px);
}

.button.primary {
  color: var(--paper-strong);
  background: var(--ember);
  box-shadow: 5px 5px 0 var(--gold);
}

.button.ghost {
  border-color: rgba(255, 248, 232, 0.7);
  color: var(--paper-strong);
  background: rgba(23, 17, 13, 0.28);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 248, 232, 0.34);
  background: rgba(23, 17, 13, 0.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.55;
}

.intro,
.games-section,
.contact {
  padding: clamp(62px, 8vw, 110px) clamp(22px, 6vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--paper-strong);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.9;
}

.games-section {
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(216, 61, 33, 0.22), transparent 42%),
    linear-gradient(180deg, #1c2926 0%, #111614 100%);
}

.section-heading {
  max-width: 820px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.game-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 232, 0.2);
  background: rgba(255, 248, 232, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.game-card:hover {
  border-color: rgba(224, 173, 79, 0.74);
  background: rgba(255, 248, 232, 0.13);
}

.game-cover {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: var(--night);
}

.game-cover img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.045);
}

.game-status {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.game-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.game-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(255, 248, 232, 0.26);
  background: rgba(255, 248, 232, 0.14);
}

.game-info h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.18;
}

.game-info p {
  margin: 0;
  color: rgba(255, 248, 232, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.game-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--paper);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 18px;
  color: var(--paper-strong);
  background: var(--jade);
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(22px, 6vw, 96px);
  color: rgba(255, 248, 232, 0.76);
  background: var(--ink);
  font-size: 14px;
}

.record-number {
  color: rgba(255, 248, 232, 0.54);
}

@media (max-width: 960px) {
  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 860px;
    align-items: end;
  }

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

  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 780px;
    padding-top: 154px;
  }

  .hero h1 {
    font-size: clamp(72px, 25vw, 108px);
  }

  .hero-copy {
    font-size: 28px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: auto;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
