:root {
  --white: #ffffff;
  --off-white: #f5f5f3;
  --light-gray: #e6e6e2;
  --mid-gray: #8a8a84;
  --dark: #151515;
  --black: #090909;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--off-white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
  transition: background .25s, box-shadow .25s, color .25s;
}

.site-header.scrolled {
  color: var(--dark);
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-size: .9rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .9rem;
  font-weight: 600;
}

nav a {
  opacity: .8;
}

nav a:hover {
  opacity: 1;
}

.copy-small {
  padding: 10px 16px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.22)),
    linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 48px));
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #696965;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.075em;
}

h1 span {
  color: rgba(255,255,255,.68);
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s, background .2s, color .2s;
}

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

.button-light {
  color: var(--dark);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
}

.server-address {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: min(100%, 390px);
  margin-top: 48px;
  padding: 16px 18px;
  color: var(--white);
  text-align: left;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.server-address small,
.address-box small {
  display: block;
  margin-bottom: 2px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .7;
}

.server-address strong {
  font-size: .95rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,255,255,.14);
}

.copy-label {
  margin-left: auto;
  font-size: .8rem;
  opacity: .75;
}

.slide-controls {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px;
  color: #fff;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.slide-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #111;
  background: #fff;
  border: 0;
  box-shadow: inset -3px -3px 0 #bdbdbd;
  cursor: pointer;
  font-family: "Pixelify Sans", monospace;
  font-size: 1.6rem;
  line-height: 1;
}

.slide-controls button:active {
  box-shadow: inset 3px 3px 0 #bdbdbd;
  transform: translateY(1px);
}

.slide-controls span {
  min-width: 60px;
  text-align: center;
  font-family: "Pixelify Sans", monospace;
  font-size: .85rem;
  letter-spacing: .08em;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  margin-top: 52px;
  color: #666662;
}

.intro-grid p {
  margin: 0;
}

.intro-grid .lead {
  color: var(--dark);
  font-size: 1.3rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 88px;
  background: #d9d9d4;
  border: 1px solid #d9d9d4;
}

.feature-card {
  min-height: 260px;
  padding: 34px;
  background: var(--off-white);
}

.feature-card span {
  color: #8b8b86;
  font-size: .75rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 64px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.feature-card p {
  margin: 0;
  color: #73736f;
}

.join-section {
  width: 100%;
  padding: 0;
  background: #deded9;
}

.join-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.join-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 24px 0 0;
  color: #666662;
}

.address-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 20px;
  background: #fff;
  border: 1px solid #cecec9;
}

.address-box strong {
  overflow-wrap: anywhere;
}

.address-box button {
  flex: 0 0 auto;
  padding: 11px 14px;
  color: #fff;
  background: #171717;
  border: 0;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #bdbdb8;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid #bdbdb8;
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #171717;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.steps h3 {
  margin: 2px 0 7px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: #666662;
  font-size: .95rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 90px max(24px, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  background: #151515;
}

.cta h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max-width)) / 2));
  background: #0b0b0b;
  color: rgba(255,255,255,.58);
  font-size: .8rem;
}

footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: #161616;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s;
  font-size: .85rem;
  font-weight: 600;
}

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

@media (max-width: 850px) {
  nav a {
    display: none;
  }

  .intro-grid,
  .join-panel {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card h3 {
    margin-top: 34px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer p,
  footer p:last-child {
    margin: 0;
    text-align: left;
  }
}

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

  .brand > span:last-child {
    font-size: .9rem;
  }

  .copy-small {
    padding: 8px 10px;
    font-size: .75rem;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .server-address {
    width: 100%;
  }

  .slide-controls {
    right: 16px;
    bottom: 18px;
  }

  .section,
  .join-panel {
    width: calc(100% - 32px);
    padding: 84px 0;
  }

  .intro-grid {
    gap: 26px;
  }

  .feature-grid {
    margin-top: 54px;
  }

  .address-box {
    align-items: stretch;
    flex-direction: column;
  }

  .address-box button {
    width: 100%;
  }

  .cta {
    padding-block: 70px;
  }
}


/* Minecraft-inspired visual layer */
:root {
  --pixel-font: "Pixelify Sans", "Inter", sans-serif;
  --stone-1: #f7f7f5;
  --stone-2: #e8e8e4;
  --stone-3: #d2d2cc;
  --stone-4: #9c9c95;
}

body {
  background-color: var(--stone-1);
  background-image:
    linear-gradient(rgba(20,20,20,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.brand,
h1,
h2,
h3,
.button,
.copy-small,
.address-box button,
.server-address strong {
  font-family: var(--pixel-font);
}

.brand {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border: 2px solid currentColor;
  box-shadow: 3px 3px 0 currentColor;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: currentColor;
}

.brand-mark::before { left: 5px; top: 5px; }
.brand-mark::after { right: 5px; top: 5px; }
.brand-mark span::before { left: 9px; bottom: 5px; }
.brand-mark span::after { right: 9px; bottom: 5px; }

.site-header.scrolled {
  box-shadow: 0 4px 0 rgba(0,0,0,.12);
}

.copy-small,
.button,
.address-box button {
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(0,0,0,.35);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.copy-small:active,
.button:active,
.address-box button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0,0,0,.35);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 18px;
  background: repeating-linear-gradient(90deg, #efefec 0 32px, #d7d7d1 32px 64px);
  clip-path: polygon(0 50%, 3% 50%, 3% 0, 6% 0, 6% 50%, 9% 50%, 9% 0, 12% 0, 12% 50%, 100% 50%, 100% 100%, 0 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,8,8,.8), rgba(8,8,8,.18)),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pixel-font);
  letter-spacing: .12em;
}

.pixel-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(255,255,255,.25);
}

h1 {
  text-transform: uppercase;
  letter-spacing: -.045em;
  text-shadow: 0 5px 0 rgba(0,0,0,.38);
}

h1 .welcome-line {
  color: #fff;
  font-size: .56em;
  letter-spacing: .02em;
}

h1 span:last-child {
  color: #e8e8e4;
  -webkit-text-stroke: 1px rgba(0,0,0,.25);
}

.hero-copy {
  max-width: 560px;
  padding-left: 16px;
  border-left: 4px solid rgba(255,255,255,.7);
}

.server-address {
  border: 2px solid rgba(255,255,255,.48);
  box-shadow: 6px 6px 0 rgba(0,0,0,.34);
  background:
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.08)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.04) 31px 32px);
}

.status-dot {
  border-radius: 0;
  animation: pixelPulse 1.7s steps(2, end) infinite;
}

@keyframes pixelPulse {
  50% { opacity: .45; }
}

.slide-indicators button {
  height: 8px;
  border: 1px solid rgba(255,255,255,.5);
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

h2 {
  text-transform: uppercase;
  letter-spacing: -.035em;
}

.intro {
  position: relative;
}

.intro::before {
  content: "";
  position: absolute;
  right: 0;
  top: 54px;
  width: 96px;
  height: 96px;
  opacity: .08;
  background:
    linear-gradient(90deg, #000 50%, transparent 50%),
    linear-gradient(#000 50%, transparent 50%);
  background-size: 32px 32px;
}

.feature-grid {
  gap: 14px;
  background: transparent;
  border: 0;
}

.feature-card {
  position: relative;
  border: 2px solid #c8c8c2;
  box-shadow: 8px 8px 0 #d6d6d0;
  background:
    linear-gradient(rgba(255,255,255,.86), rgba(245,245,242,.86)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(0,0,0,.04) 31px 32px);
  transition: transform .18s, box-shadow .18s;
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 #cecec8;
}

.block-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #222 !important;
  background: #ecece8;
  border: 2px solid #bcbcb6;
  box-shadow: inset -5px -5px 0 #d1d1cc, 4px 4px 0 #bdbdb8;
  font-family: var(--pixel-font);
  font-size: 1.35rem !important;
}

.feature-card h3 {
  margin-top: 42px;
  text-transform: uppercase;
}

.join-section {
  border-top: 8px solid #c7c7c1;
  background-color: #deded9;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.14) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.14) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,0,0,.025) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.025) 75%);
  background-size: 32px 32px;
  background-position: 0 0, 0 16px, 16px -16px, -16px 0;
}

.address-box {
  border: 2px solid #b9b9b3;
  box-shadow: inset 0 0 0 4px #efefec, 7px 7px 0 #bdbdb7;
}

.port-note {
  margin-top: 3px;
  letter-spacing: .08em !important;
}

.steps {
  border-top: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  padding: 22px;
  border: 2px solid #bdbdb7;
  background: rgba(255,255,255,.48);
  box-shadow: 5px 5px 0 rgba(0,0,0,.09);
}

.steps li > span {
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #777;
  font-family: var(--pixel-font);
}

.cta {
  position: relative;
  overflow: hidden;
  border-top: 8px solid #303030;
  background:
    linear-gradient(rgba(15,15,15,.94), rgba(15,15,15,.94)),
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 32px),
    repeating-linear-gradient(#fff 0 1px, transparent 1px 32px);
}

.cta::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(255,255,255,.04);
  transform: rotate(45deg);
}

footer {
  border-top: 4px solid #2b2b2b;
}

@media (max-width: 560px) {
  h1 { text-shadow: 0 3px 0 rgba(0,0,0,.38); }
  .feature-grid { gap: 18px; }
  .steps li { padding: 18px; }
}

/* Announcement board */
.announcements-section {
  position: relative;
}

.announcements-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}

.owner-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid #bdbdb7;
  background: #fff;
  box-shadow: 4px 4px 0 #d2d2cc;
  font-size: .82rem;
}

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

.announcement-card {
  position: relative;
  min-height: 190px;
  padding: 26px;
  border: 2px solid #bdbdb7;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(246,246,243,.92)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(0,0,0,.035) 31px 32px);
  box-shadow: 7px 7px 0 #d0d0ca;
}

.announcement-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 54px;
  height: 12px;
  border: 2px solid #aaa;
  background: #deded9;
}

.announcement-card h3 {
  margin: 10px 0 12px;
  font-family: var(--pixel-font);
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.announcement-card p {
  margin: 0;
  color: #5f5f5b;
  white-space: pre-wrap;
}

.announcement-meta {
  color: #777772;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.announcement-loading {
  grid-column: 1 / -1;
  min-height: 100px;
}

@media (max-width: 760px) {
  .announcements-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .announcement-grid {
    grid-template-columns: 1fr;
  }
}
