@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap");

@font-face {
  font-family: "Landverse Minecraft";
  src: url("/assets/minecraft.ttf?v=1") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --mc-font: "Landverse Minecraft", "Minecraftia", "Pixelify Sans", fantasy;
  --title-font: "Pixelify Sans", "Minecraftia", fantasy;
  --bg: #090b0c;
  --panel: #15191b;
  --line: #30383c;
  --text: #f3f5f4;
  --muted: #89a18d;
  --green: #35e36f;
  --purple: #8d35ff;
  --gold: #d89122;
  --dirt-texture: url("/assets/minecraft-dirt.png?v=1");
  --grass-texture: url("/assets/minecraft-grass-top.png?v=1");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(9, 11, 12, .66), var(--bg) 460px),
    url("/assets/landverse-main-background.jpg?v=1") center top / min(1500px, 150vw) auto no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--mc-font);
  letter-spacing: 0;
}

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

.wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 11, 12, .84);
  backdrop-filter: blur(14px);
}

nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--title-font);
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
}

.land {
  color: var(--green);
}

.verse {
  color: var(--purple);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.navlinks a {
  padding: 9px 10px;
  border-radius: 6px;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--text);
}

main {
  padding: 72px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(40px, 8vw, 78px);
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 7px 0 rgba(0, 0, 0, .35);
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.panel {
  margin-top: 28px;
  padding: clamp(18px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 230, 183, .12), transparent 42%, rgba(0, 0, 0, .24)),
    linear-gradient(180deg, rgba(77, 154, 58, .62) 0 13px, transparent 13px),
    var(--grass-texture) 0 0 / 32px 32px repeat-x,
    var(--dirt-texture) 0 13px / 32px 32px repeat;
  border: 2px solid #24150d;
  border-radius: 4px;
  box-shadow:
    inset 4px 4px 0 rgba(255, 230, 183, .18),
    inset -6px -6px 0 rgba(30, 17, 10, .55),
    0 20px 0 rgba(0, 0, 0, .24),
    0 28px 70px rgba(0, 0, 0, .42);
}

.content {
  display: grid;
  gap: 22px;
}

section {
  padding: 18px;
  background: linear-gradient(180deg, #202629, #15191b);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
  letter-spacing: 0;
}

p,
li {
  color: #fff;
  line-height: 1.58;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

footer {
  padding: 32px 0 54px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--text);
}

@media (max-width: 760px) {
  .navlinks {
    display: none;
  }

  main {
    padding-top: 48px;
  }
}
