:root {
  --background: #16130e;
  --panel: #272017;
  --gold: #c99a42;
  --gold-light: #e8c46d;
  --cream: #eadcb5;
  --muted: #b1a487;
  --border: #6b4e2a;
  --pixel: "VT323", monospace;
  --body: "Roboto Slab", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--cream);
  background: var(--background);
  font-family: var(--body);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(21, 17, 12, 0.94);
  border-bottom: 2px solid #4c371f;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

header::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #312316 0 28px,
    #4d3820 28px 56px
  );
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0dca7;
  font: 700 25px/1 var(--pixel);
  letter-spacing: 0.14em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: #2c2317;
  border: 2px solid var(--border);
  box-shadow: inset 0 0 0 3px #17120d, 3px 3px 0 #090704;
}

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

nav a {
  color: #c9ba96;
  font: 400 18px/1 var(--pixel);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 135px 5vw 110px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(22, 24, 19, 0.1), rgba(20, 16, 11, 0.52)),
    linear-gradient(135deg, #596758, #30392f 48%, #1d2019);
}

.clouds {
  position: absolute;
  inset: 0;
  z-index: -6;
  opacity: 0.3;
  background:
    radial-gradient(ellipse at 20% 22%, rgba(243, 226, 184, 0.55) 0 8%, transparent 9%),
    radial-gradient(ellipse at 33% 18%, rgba(243, 226, 184, 0.34) 0 13%, transparent 14%),
    radial-gradient(ellipse at 79% 26%, rgba(243, 226, 184, 0.32) 0 11%, transparent 12%);
}

.mountains {
  position: absolute;
  z-index: -4;
  left: -4%;
  bottom: 0;
  width: 108%;
  height: 58%;
  background: #242a23;
  clip-path: polygon(
    0 100%,
    0 68%,
    10% 55%,
    18% 70%,
    30% 28%,
    42% 68%,
    52% 20%,
    63% 64%,
    75% 35%,
    84% 65%,
    94% 40%,
    100% 58%,
    100% 100%
  );
}

.mountains.back {
  bottom: 12%;
  opacity: 0.45;
  transform: scale(1.1);
  background: #556355;
}

.mountains.front {
  opacity: 0.92;
}

.ground {
  position: absolute;
  z-index: -3;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 25%;
  background:
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255,255,255,.012) 63px 65px),
    linear-gradient(#242019, #15120d);
  clip-path: polygon(0 25%, 12% 16%, 25% 31%, 39% 12%, 53% 29%, 67% 14%, 83% 27%, 100% 12%, 100% 100%, 0 100%);
}

.hero-content {
  width: min(860px, 94vw);
  text-align: center;
}

.server-label {
  display: inline-block;
  padding: 8px 13px 6px;
  color: var(--gold-light);
  background: rgba(31, 25, 17, 0.79);
  border: 1px solid var(--border);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  font: 400 17px/1 var(--pixel);
  letter-spacing: 0.14em;
}

h1 {
  margin: 22px 0 0;
  color: #f0dfae;
  font: 400 clamp(88px, 14vw, 165px)/0.8 var(--pixel);
  letter-spacing: 0.055em;
  text-shadow:
    5px 5px 0 #3b2918,
    9px 9px 0 rgba(0, 0, 0, 0.34);
}

.tagline {
  margin: 23px 0 0;
  color: var(--gold-light);
  font: 400 clamp(24px, 4vw, 39px)/1 var(--pixel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.description {
  width: min(730px, 100%);
  margin: 25px auto 0;
  color: #d2c5a5;
  font-size: 16px;
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0,0,0,.34);
}

.actions {
  margin-top: 35px;
}

.ip-button {
  width: min(540px, 100%);
  min-height: 84px;
  padding: 14px 22px 11px;
  color: #24180c;
  background: linear-gradient(#e3bd63, #b98733);
  border: 3px solid #f0cf78;
  box-shadow:
    inset 0 0 0 4px rgba(77, 48, 15, 0.18),
    6px 7px 0 #4b3118;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.ip-button:hover,
.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
}

.ip-button small,
.ip-button strong {
  display: block;
  font-family: var(--pixel);
}

.ip-button small {
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.ip-button strong {
  margin-top: 5px;
  font-size: clamp(25px, 5vw, 36px);
  letter-spacing: 0.04em;
}

.link-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 17px;
}

.button {
  min-width: 200px;
  padding: 15px 22px 12px;
  color: #ead8a9;
  background: linear-gradient(#403426, #282118);
  border: 2px solid #80613a;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.13),
    4px 5px 0 #17100a;
  font: 700 19px/1 var(--pixel);
  letter-spacing: 0.09em;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.button.wiki {
  color: #d9caab;
  background: linear-gradient(#343027, #222019);
  border-color: #61563f;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 8px 12px 6px;
  color: #c4b58f;
  background: rgba(21, 17, 12, 0.74);
  border: 1px solid rgba(201, 154, 66, 0.34);
  font: 400 15px/1 var(--pixel);
  letter-spacing: 0.11em;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border: 1px solid #59401f;
  box-shadow: 0 0 10px rgba(201, 154, 66, 0.7);
}

.ore {
  position: absolute;
  z-index: -1;
  width: 17px;
  height: 17px;
  border: 3px solid rgba(0,0,0,.35);
  transform: rotate(45deg);
  box-shadow: 0 0 18px currentColor;
}

.ore-one {
  left: 12%;
  bottom: 19%;
  color: #d4a743;
  background: currentColor;
}

.ore-two {
  left: 24%;
  bottom: 12%;
  color: #6c9ed0;
  background: currentColor;
}

.ore-three {
  right: 17%;
  bottom: 17%;
  color: #a85cba;
  background: currentColor;
}

.ore-four {
  right: 29%;
  bottom: 10%;
  color: #64a468;
  background: currentColor;
}

footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 5vw;
  color: #756c58;
  background: #0f0d09;
  border-top: 2px solid #342719;
  font: 400 13px/1.4 var(--pixel);
  letter-spacing: 0.07em;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  padding: 13px 20px 10px;
  color: #21150a;
  background: var(--gold-light);
  border: 2px solid #f2d17a;
  box-shadow: 4px 5px 0 #493018;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 0.2s ease;
  font: 700 18px/1 var(--pixel);
  letter-spacing: 0.1em;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 650px) {
  header {
    min-height: 65px;
    padding-inline: 20px;
  }

  .logo {
    font-size: 21px;
  }

  .logo-icon {
    width: 33px;
    height: 33px;
  }

  nav {
    gap: 17px;
  }

  nav a {
    font-size: 15px;
  }

  .hero {
    min-height: calc(100vh - 58px);
    padding: 115px 5vw 90px;
  }

  h1 {
    font-size: clamp(74px, 25vw, 112px);
  }

  .description {
    font-size: 14px;
  }

  .link-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
