:root {
  --bg: #101412;
  --bg-2: #151b19;
  --panel: rgba(242, 236, 222, 0.08);
  --panel-strong: rgba(242, 236, 222, 0.12);
  --text: #f7f1e6;
  --muted: #b8c1b8;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #e2b86f;
  --green: #78d09f;
  --blue: #83c8df;
  --red: #ff8068;
  --ink: #111512;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(120, 208, 159, 0.09), transparent 320px),
    linear-gradient(145deg, #111714 0%, #1b1712 48%, #0b0f0e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 80;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 15, 0.88);
  backdrop-filter: blur(18px);
}

.nav-row,
.nav-links,
.nav-actions,
.hero-actions,
.hero-tags,
.footer-row,
.footer-row nav {
  display: flex;
  align-items: center;
}

.nav-row {
  min-height: 68px;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 210px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.mobile-nav a:hover,
.footer-row a:hover {
  color: var(--text);
}

.nav-actions {
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(120, 208, 159, 0.16);
}

.status-offline span {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 128, 104, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: #17130b;
  background: var(--gold);
}

.button.secondary {
  color: #071410;
  background: var(--green);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.button.large {
  min-height: 50px;
  padding: 0 20px;
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.mobile-nav {
  padding: 0 0 18px;
  gap: 10px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: flex;
  align-items: end;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.9), rgba(10, 12, 10, 0.58) 48%, rgba(10, 12, 10, 0.28)),
    linear-gradient(180deg, rgba(10, 12, 10, 0.06), #101412 96%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 28px;
  align-items: end;
  padding: 76px 0 54px;
}

.hero-copy {
  max-width: 790px;
}

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

.hero-logo {
  width: 300px;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 3.55rem;
}

h2 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 3rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.7;
}

.lead {
  max-width: 740px;
  color: #e4ded1;
  font-size: 1rem;
}

.legacy-line {
  margin: 12px 0 0;
  color: var(--gold);
  font-weight: 900;
}

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

.hero-tags {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.material {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.join-panel,
.image-card,
.drop-feed,
.wide-panel,
.contact-panel,
.stat-strip article,
.feature-list article,
.route-card,
.pulse-grid article,
.features article,
.action-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.join-panel {
  padding: 24px;
  backdrop-filter: blur(12px);
}

.join-panel h2 {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.server-address {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.server-address span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

.mini-stats div {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.mini-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-stats dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.section {
  padding: 84px 0;
}

.muted {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.intro-strip {
  padding-top: 34px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-strip article {
  padding: 18px;
}

.stat-strip h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
}

.stat-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 42px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) 430px;
}

.split > div > p {
  color: var(--muted);
  max-width: 720px;
}

.image-card {
  margin: 0;
  overflow: hidden;
  background: var(--panel-strong);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.image-card figcaption {
  padding: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list,
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.feature-list article,
.pulse-grid article {
  padding: 18px;
}

.feature-list span,
.pulse-grid span,
.route-card span,
.drop-feed span,
.features span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list p,
.pulse-grid p,
.route-card p,
.route-card small,
.features p,
.action-card p,
.faq-layout p {
  color: var(--muted);
}

.feature-list strong,
.pulse-grid strong {
  color: var(--gold);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.route-card,
.features article,
.action-card {
  padding: 20px;
}

.route-card {
  display: grid;
  gap: 12px;
  min-height: 270px;
}

.route-card strong {
  color: var(--gold);
}

.wide-panel {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
}

.wide-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.material-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material.rare {
  border-color: rgba(131, 200, 223, 0.5);
  color: var(--blue);
}

.material.epic,
.material.mythic {
  border-color: rgba(226, 184, 111, 0.58);
  color: var(--gold);
}

.material.legendary {
  border-color: rgba(120, 208, 159, 0.5);
  color: var(--green);
}

.drop-feed {
  padding: 22px;
}

.updates-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.updates-panel article + article {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.updates-panel span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.updates-panel strong {
  display: block;
  margin-top: 6px;
}

.updates-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.drop-feed h3 {
  margin-bottom: 12px;
}

.drop-feed article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.drop-feed strong,
.drop-feed small {
  display: block;
  margin-top: 6px;
}

.drop-feed small {
  color: var(--muted);
}

.features article {
  overflow: hidden;
}

.features img {
  width: calc(100% + 40px);
  max-width: none;
  height: 180px;
  margin: -20px -20px 16px;
  object-fit: cover;
}

.join-cards {
  padding-top: 40px;
}

.action-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.action-card strong {
  min-height: 42px;
  overflow-wrap: anywhere;
  color: var(--gold);
}

.faq-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 38px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
  padding: 26px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius);
}

.form-status.good {
  background: rgba(120, 208, 159, 0.14);
}

.form-status.bad {
  background: rgba(255, 128, 104, 0.14);
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-row {
  justify-content: space-between;
  gap: 18px;
}

.footer-row nav {
  flex-wrap: wrap;
  gap: 14px;
}

.copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  overflow-wrap: anywhere;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: grid;
  }

  .hero-layout,
  .split,
  .split.reverse,
  .faq-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .join-panel {
    max-width: 680px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .stat-strip,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, var(--shell));
  }

  .brand img {
    width: 172px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding: 74px 0 42px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-logo {
    width: 270px;
  }

  .hero-actions,
  .hero-actions .button,
  .server-address,
  .mini-stats,
  .stat-strip,
  .feature-list,
  .pulse-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .server-address {
    display: grid;
  }

  .section {
    padding: 58px 0;
  }

  .features img {
    height: 160px;
  }

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