:root {
  color-scheme: dark;
  --background: #231d19;
  --text: #f5e9da;
  --muted: #cfbfb0;
  --accent: #e4ad78;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 410px;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  text-align: center;
  background:
    linear-gradient(180deg, rgb(111 57 22 / 48%), rgb(40 23 14 / 80%)),
    url("banner.png") center 48% / cover no-repeat;
}

.hero-content { display: grid; justify-items: center; }

.server-icon {
  width: 144px;
  height: 144px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #efcfab;
  box-shadow: 0 8px 32px #1e100866;
}

h1, h2, p { margin: 0; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; }

h1 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.2;
  letter-spacing: -.04em;
  text-shadow: 0 2px 18px #24130d80;
}

.hero-caption { margin-top: 10px; color: #f0dcc7; font-size: .95rem; }
.hero-caption span { margin-left: 8px; }

.join-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 23px 20px;
  background: #313338;
  box-shadow: 0 4px 18px #00000015;
}

.join-banner p { font-size: 1.2rem; font-weight: 700; color: #f2f3f5; }

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 9px 27px;
  border-radius: 7px;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color .2s, transform .2s;
}

.join-button:hover { background: #4752c4; transform: translateY(-2px); }
.join-button:focus-visible { outline: 3px solid #f4cb9d; outline-offset: 5px; }

.content { width: min(1060px, calc(100% - 64px)); margin: 0 auto; padding: 80px 0; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.feature + .feature { margin-top: 80px; }

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #d7aa7d29;
  box-shadow: 0 16px 36px #110e0b40;
}

.feature-copy { min-width: 0; }
.eyebrow { display: block; margin-bottom: 16px; color: var(--accent); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); line-height: 1.2; font-weight: 400; }
.small-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--accent); }
.small-divider::before { content: ""; width: 42px; height: 1px; background: #aa7b54; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; max-width: 38ch; }
.features-title { color: var(--accent); font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.5; }
.features-list { list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); }
.features-list li { padding: 9px 0; overflow-wrap: anywhere; }
.features-list li + li { border-top: 1px solid #d1a87f14; }

footer { padding: 24px; border-top: 1px solid #d1a87f1c; text-align: center; color: #bea18a; font-family: Georgia, "Times New Roman", serif; font-size: .9rem; }
footer span { margin: 0 10px; color: var(--accent); }

@media (max-width: 640px) {
  .hero { min-height: 345px; padding: 36px 18px; }
  .server-icon { width: 120px; height: 120px; }
  .hero-caption { font-size: .85rem; }
  .join-banner { gap: 20px; padding: 20px 16px; flex-wrap: wrap; }
  .join-banner p { font-size: 1.05rem; }
  .join-button { padding-inline: 22px; }
  .content { width: calc(100% - 40px); max-width: 460px; padding: 42px 0 48px; }
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature + .feature { margin-top: 44px; padding-top: 36px; border-top: 1px solid #d1a87f1c; }
  .feature-copy { padding: 0 4px; }
  .feature-copy p { max-width: none; font-size: 1rem; }
  .feature-reversed .feature-image { grid-row: 1; }
  .feature-image { border-radius: 12px; }
  .features-list { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .join-button { transition: none; }
}
