:root {
  --bg: #08080c;
  --panel: #0f0f16;
  --text: #f5f3f8;
  --muted: #9d98a7;
  --line: #22222d;
  --accent: #a988ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .11em;
}

.mark {
  color: var(--accent);
  font-size: 15px;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

nav a:hover {
  color: var(--text);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.location,
.section-label {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

h1 {
  margin: 0;
  font-size: clamp(66px, 9vw, 122px);
  line-height: .82;
  letter-spacing: -.07em;
}

.intro {
  max-width: 500px;
  margin: 34px 0 0;
  color: #c6c1cc;
  font-size: 19px;
}

.shrine-art {
  position: relative;
  height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 32%, rgba(169,136,255,.15), transparent 26%),
    linear-gradient(#11111b, #0b0b12);
}

.shrine-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 65px;
  height: 1px;
  background: #2b2638;
}

.moon {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 105px;
  height: 105px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #cfc0ff;
  box-shadow: 0 0 55px rgba(169,136,255,.17);
}

.mountain {
  position: absolute;
  left: -10%;
  width: 120%;
  clip-path: polygon(0 100%, 18% 48%, 33% 72%, 50% 34%, 68% 73%, 83% 52%, 100% 100%);
}

.mountain-one {
  height: 210px;
  bottom: 66px;
  background: #171722;
}

.mountain-two {
  height: 160px;
  bottom: 66px;
  background: #0d0d14;
}

.torii {
  position: absolute;
  left: 50%;
  bottom: 64px;
  width: 210px;
  height: 205px;
  transform: translateX(-50%);
}

.beam,
.post {
  position: absolute;
  display: block;
  background: #07070b;
}

.beam.top {
  top: 12px;
  left: 0;
  width: 210px;
  height: 18px;
}

.beam.middle {
  top: 48px;
  left: 20px;
  width: 170px;
  height: 13px;
}

.post.left,
.post.right {
  top: 28px;
  width: 18px;
  height: 177px;
}

.post.left {
  left: 52px;
  transform: skewX(-3deg);
}

.post.right {
  right: 52px;
  transform: skewX(3deg);
}

.content-section {
  width: min(1180px, calc(100% - 40px));
  min-height: 400px;
  margin: 0 auto;
  padding: 105px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

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

.copy-block h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.copy-block p {
  margin: 28px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.games-section {
  min-height: 440px;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #77727f;
  font-size: 12px;
}

@media (max-width: 800px) {
  .site-header {
    height: 68px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 72px 0;
  }

  .shrine-art {
    height: 380px;
  }

  .content-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 78px 0;
  }

  .section-label {
    margin-bottom: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero,
  .content-section,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 12px;
  }

  nav a {
    font-size: 12px;
  }

  h1 {
    font-size: 60px;
  }

  .intro {
    font-size: 17px;
  }

  .shrine-art {
    height: 320px;
  }

  .torii {
    transform: translateX(-50%) scale(.82);
    transform-origin: bottom center;
  }
}
