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

:root {
  --page: #110426;
  --header: #28104d;
  --footer: #29104f;
  --ink: #ffffff;
  --muted: #e7deef;
  --cyan: #14d6ef;
  --blue: #5366e9;
  --line-a: rgba(0, 224, 255, 0.1);
  --line-b: rgba(67, 83, 255, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Lato", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 8%, rgba(49, 67, 169, 0.13), transparent 25rem), var(--page);
}

.site-header { height: 76px; background: var(--header); }
.header-inner, .footer-main, .footer-legal {
  width: min(1176px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand, .footer-brand { font-size: 21px; font-weight: 900; text-decoration: none; }

.server-hero { padding: 36px 20px 0; }
.server-card {
  width: min(544px, 100%);
  min-height: 112px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(68, 91, 224, 0.72);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(31, 96, 180, 0.34), rgba(11, 22, 57, 0.1)), rgba(19, 17, 47, 0.72);
  box-shadow: 0 0 28px rgba(20, 143, 229, 0.12), inset 0 0 24px rgba(19, 182, 246, 0.06);
}
.eyebrow {
  margin: 0 0 10px;
  color: #aeb8ed;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
}
.server-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.server-row strong { font-size: 25px; letter-spacing: 0.01em; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); }
.copy-button {
  height: 35px;
  min-width: 76px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}
.copy-button:hover { background: #6778f2; }

.world-section { width: min(1176px, calc(100% - 48px)); margin: 0 auto; }
.axoworld-section { padding-top: 186px; padding-bottom: 56px; }
.world-section > h2 {
  margin: 0 0 26px;
  font-size: 39px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.feature-grid {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.feature { min-width: 0; text-align: center; }
.feature-image-wrap { height: 170px; display: flex; align-items: center; justify-content: center; }
.feature-image { width: 220px; height: 170px; object-fit: contain; image-rendering: pixelated; }
.feature h3 { margin: 4px 0 8px; font-size: 25px; font-weight: 900; }
.feature p { max-width: 245px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.45; }

.store-grid { width: 100%; margin: 76px auto 0; display: flex !important; align-items: center; justify-content: center !important; }
.store-card {
  width: 420px;
  margin: 0 auto !important;
  padding: 18px 18px 32px;
  border: 1px solid rgba(141, 94, 210, 0.3);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(54, 22, 102, 0.96), rgba(31, 12, 65, 0.96));
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.store-card:hover { transform: translateY(-5px); border-color: rgba(37, 212, 245, 0.7); box-shadow: 0 15px 38px rgba(0, 0, 0, 0.3), 0 0 22px rgba(37, 212, 245, 0.12); }
.store-card img { display: block; width: 100%; height: 320px; object-fit: contain; image-rendering: pixelated; }
.store-card span { display: block; margin-top: 14px; font-size: 24px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }

.divider {
  width: min(998px, calc(100% - 64px));
  height: 5px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-a) 10%, var(--line-b) 50%, var(--line-a) 90%, transparent);
  box-shadow: 0 0 14px rgba(39, 75, 229, 0.11);
}
.steedcraft-section { padding: 92px 0 80px; }
.coming-soon {
  width: 220px;
  height: 66px;
  margin: 72px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 9px;
  background: linear-gradient(115deg, #18cfea, #6179e7 54%, #f046a9);
  color: white;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(38, 184, 239, 0.44), 0 0 30px rgba(227, 53, 179, 0.22);
}

.community-section {
  width: min(1176px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.discord-button {
  min-width: 268px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #4d5ed3;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgba(21, 22, 89, 0.35), 0 5px 13px rgba(0, 0, 0, 0.32);
}
.discord-button:hover { background: #5b6be0; }
.server-strip {
  width: 100%;
  min-height: 100px;
  margin-top: 38px;
  padding: 22px 24px;
  border: 0;
  border-radius: 7px;
  background: rgba(44, 19, 86, 0.9);
  color: white;
  text-align: left;
  cursor: pointer;
}
.server-strip code {
  display: inline-block;
  padding: 5px 12px 7px;
  border-radius: 7px;
  background: rgba(18, 8, 41, 0.78);
  font-size: clamp(25px, 3.3vw, 43px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-footer { background: var(--footer); }
.footer-main { min-height: 105px; }
.footer-main > div:first-child { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.footer-main p { margin: 11px 0 0; color: #a99bbc; font-size: 12px; }
.payment-list { display: flex; align-items: center; gap: 11px; }
.payment-list span { min-width: 42px; padding: 4px 6px; border-radius: 5px; background: white; color: #111; font-size: 11px; font-weight: 900; text-align: center; }
.footer-legal {
  width: 100%;
  min-height: 49px;
  padding: 10px max(48px, calc((100% - 1176px) / 2));
  background: #050507;
  color: #d6d2db;
  font-size: 11px;
  gap: 24px;
}
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; gap: 18px; white-space: nowrap; }
.footer-legal a:hover { color: #fff; }
:focus-visible { outline: 3px solid #4ee7f6; outline-offset: 4px; }

@media (max-width: 760px) {
  .header-inner, .footer-main, .world-section, .community-section { width: min(100% - 32px, 1176px); }
  .server-hero { padding-top: 26px; }
  .server-card { padding: 21px 16px; }
  .server-row { flex-direction: column; gap: 12px; }
  .server-row strong { font-size: clamp(19px, 6vw, 25px); }
  .axoworld-section { padding-top: 110px; }
  .world-section > h2 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; gap: 52px; }
  .feature-image-wrap { height: 145px; }
  .feature-image { width: 200px; height: 150px; }
  .store-card { width: min(420px, 100%); }
  .store-card img { width: 100%; height: auto; aspect-ratio: 1 / 0.8; }
  .steedcraft-section { padding-top: 74px; }
  .community-section { padding-top: 62px; }
  .server-strip { text-align: center; }
  .footer-main, .footer-legal {
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 28px;
    text-align: center;
  }
  .footer-main > div:first-child { align-self: auto; }
  .footer-legal { padding-left: 20px; padding-right: 20px; }
  .footer-legal nav { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
