:root {
  --ink: #172018;
  --muted: #617064;
  --field: #8ea642;
  --grain: #d9b75a;
  --sun: #f1a93c;
  --river: #346d83;
  --panel: #f7f4ec;
  --paper: #fffaf0;
  --line: rgba(23, 32, 24, 0.13);
  --shadow: 0 22px 60px rgba(18, 28, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f1efe5;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 14, 8, 0.76), rgba(7, 14, 8, 0));
}

.brand,
.nav,
.hero-actions,
.status-row,
.join-panel {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: rgba(42, 67, 25, 0.7);
  font-family: "Russo One", sans-serif;
  font-size: 15px;
}

.nav {
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  padding: 120px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 10, 0.84), rgba(8, 17, 10, 0.42) 42%, rgba(8, 17, 10, 0.1)),
    linear-gradient(0deg, rgba(8, 17, 10, 0.76), rgba(8, 17, 10, 0) 48%),
    url("assets/hero-riverbend-springs.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content,
.server-card {
  position: relative;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--grain);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.copy-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font: 800 14px/1 Inter, sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #111910;
  background: var(--grain);
  box-shadow: 0 14px 32px rgba(217, 183, 90, 0.28);
}

.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.steam {
  color: #fff;
  border: 1px solid rgba(102, 192, 244, 0.45);
  background: #1b2838;
  box-shadow: 0 14px 32px rgba(27, 40, 56, 0.26);
}

.server-card {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 24px;
  background: rgba(17, 29, 16, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-row {
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #72e35a;
  box-shadow: 0 0 0 8px rgba(114, 227, 90, 0.14);
}

dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

dt {
  color: rgba(255, 255, 255, 0.58);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.quick-stats,
.split-section,
.schedule,
.rules,
.contact,
.join {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 72px);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  color: #fff;
}

.quick-stats article {
  min-height: 210px;
  padding: clamp(22px, 4vw, 38px);
  background: #263522;
}

.quick-stats span,
.timeline span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--grain);
  font-weight: 800;
}

.quick-stats p,
.mod-grid p,
.timeline p,
.rules-list,
.join p,
.section-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.quick-stats p {
  color: rgba(255, 255, 255, 0.68);
}

.split-section,
.rules,
.contact,
.join {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.section-copy {
  max-width: 560px;
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mod-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
}

.mod-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 30px;
}

.schedule {
  background: #e5ebdc;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.timeline article {
  border-top: 5px solid var(--field);
  padding: 24px 0 0;
}

.rules {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.9)),
    repeating-linear-gradient(90deg, rgba(52, 109, 131, 0.09) 0 1px, transparent 1px 70px);
}

.rules-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.rules-list li {
  border-left: 5px solid var(--sun);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.66);
}

.contact {
  background: var(--paper);
}

.contact-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(52, 109, 131, 0.12), rgba(217, 183, 90, 0.14)),
    #fff;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--river);
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.join {
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(19, 34, 18, 0.96), rgba(37, 60, 24, 0.88)),
    radial-gradient(circle at 80% 30%, rgba(217, 183, 90, 0.22), transparent 35%);
}

.join h2 {
  color: #fff;
}

.join p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.join-panel {
  align-items: stretch;
  justify-content: stretch;
  flex-direction: column;
  gap: 12px;
}

.join-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.join-steps article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #111910;
  background: var(--grain);
  font-weight: 800;
}

.join-steps p {
  margin: 0;
  max-width: none;
}

.join-steps strong {
  color: #fff;
}

.join-steps a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.46);
  text-underline-offset: 3px;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.copy-button {
  color: #111910;
  background: #fff;
}

.join-actions p {
  width: 100%;
  margin: 8px 0 0;
  text-align: right;
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.62);
  background: #121a12;
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero,
  .split-section,
  .rules,
  .contact,
  .join {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .quick-stats,
  .timeline,
  .mod-grid {
    grid-template-columns: 1fr;
  }

  .server-card {
    max-width: 430px;
  }

  .join-actions {
    justify-content: flex-start;
  }

  .join-actions p {
    text-align: left;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .button,
  .copy-button {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }
}
