@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #090a0b;
  --stone: #e8e1d3;
  --gold: #c9a45c;
  --gold-light: #e2c887;
  --steam-blue: #66c0f4;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: Manrope, Arial, sans-serif;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  height: 100svh;
  max-height: 1100px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #10100e;
}

.hero-scene, .hero-shade { position: absolute; inset: 0; }

.hero-scene {
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 51% 45%, #57442a44, transparent 34%),
    linear-gradient(180deg, #121315, #17140f 54%, #090a0b 100%);
}

.hero-scene::before {
  position: absolute;
  inset: 12% 0 0;
  background: linear-gradient(0deg, #08090a 3%, transparent 44%),
    radial-gradient(ellipse at 50% 80%, #c2863528, transparent 35%);
  content: "";
}

.mountain {
  position: absolute;
  bottom: 15%;
  left: -5%;
  width: 110%;
  height: 40%;
  background: #111311;
  clip-path: polygon(0 75%, 12% 56%, 23% 72%, 38% 28%, 48% 60%, 62% 20%, 73% 64%, 88% 35%, 100% 67%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -8px 10px #d09a3a1c);
}

.mountain-back { bottom: 25%; opacity: .5; transform: scale(1.15); background: #242019; }
.mountain-front { height: 28%; background: #0b0c0b; }

.keep {
  position: absolute;
  bottom: 24%;
  left: calc(50% - 85px);
  width: 170px;
  height: 265px;
  opacity: .8;
  filter: drop-shadow(0 0 28px #cf8d3255);
}

.keep::before {
  position: absolute;
  bottom: 0;
  left: 26px;
  width: 118px;
  height: 170px;
  background: linear-gradient(90deg, #171512, #3d3020 50%, #141311);
  clip-path: polygon(14% 100%, 14% 28%, 0 28%, 0 12%, 22% 12%, 22% 0, 78% 0, 78% 12%, 100% 12%, 100% 28%, 86% 28%, 86% 100%);
  content: "";
}

.keep i, .keep b, .keep em {
  position: absolute;
  bottom: 103px;
  width: 42px;
  height: 162px;
  background: #272117;
  clip-path: polygon(50% 0, 100% 25%, 86% 100%, 14% 100%, 0 25%);
}

.keep i { left: 0; }
.keep b { right: 0; transform: scale(.78); transform-origin: bottom; }
.keep em { bottom: 155px; left: 65px; transform: scale(.6); transform-origin: bottom; }

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #08090b91, transparent 25%, transparent 75%, #08090b91),
    linear-gradient(180deg, #090a0c20 0%, #08090b45 65%, #08090b 100%);
}

.hero-content {
  display: flex;
  width: min(100% - 40px, 900px);
  flex-direction: column;
  align-items: center;
  padding: 45px 0;
  text-align: center;
}

.brand {
  display: block;
  width: min(760px, 88vw);
  aspect-ratio: 2073 / 758;
  margin-bottom: 28px;
}

.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }

.hero h1 {
  margin: 0;
  color: #eee8da;
  font: 500 clamp(36px, 5.2vw, 68px)/1.08 Cinzel, Georgia, serif;
  letter-spacing: .025em;
  text-shadow: 0 4px 20px #000;
  text-transform: uppercase;
}

.hero h1 em { color: var(--gold-light); font-style: normal; }

.hero-subtitle {
  margin: 19px 0 30px;
  color: #cbc5b9;
  font-size: 15px;
}

.button-steam {
  display: inline-flex;
  min-width: 260px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 20px;
  border: 1px solid var(--steam-blue);
  background: linear-gradient(180deg, #2a475e, #1b2838);
  box-shadow: 0 0 0 1px #c9a45c44, 0 8px 28px #0008;
  color: #f1f5f8;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button-steam:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #36749a, #24425c);
  box-shadow: 0 0 0 1px var(--gold), 0 0 30px #66c0f444;
}

.steam-icon { width: 25px; height: 25px; flex: none; }

.copyright {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  color: #827d73;
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
}

.copyright a { transition: color .2s ease; }
.copyright a:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  .hero { min-height: 650px; }
  .hero-content { width: min(100% - 32px, 480px); }
  .brand { width: min(92vw, 620px); margin-bottom: 24px; }
  .hero h1 { font-size: clamp(31px, 9vw, 46px); }
  .hero-subtitle { max-width: 300px; font-size: 13px; line-height: 1.7; }
  .button-steam { width: min(100%, 290px); }
}

@media (max-height: 680px) and (min-width: 561px) {
  .hero { min-height: 600px; }
  .brand { width: min(580px, 70vw); margin-bottom: 16px; }
  .hero-subtitle { margin: 12px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
