/* ==========================================================================
   Unstable SMP — shared styles
   Dark Minecraft community site with pixel display type and pink accents.
   ========================================================================== */

@font-face {
  font-family: "Minecraft Ten";
  src: url("/assets/fonts/minecraft-ten.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Minecraft Seven";
  src: url("/assets/fonts/minecraft-seven.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #131016;
  --bg-2: #0e0c11;
  --surface: #1b1721;
  --surface-2: #221d29;
  --surface-3: #2a2432;
  --ink: #12080f;
  --white: #fff;
  --text: #c6bdcd;
  --text-bright: #f4f0f7;
  --muted: #968da1;
  --faint: #6d6577;
  --line: #e9e0f016;
  --line-2: #e9e0f029;
  --line-3: #e9e0f042;
  --accent: #e15ac9;
  --accent-bright: #ff7ad9;
  --accent-dim: #e15ac924;
  --accent-line: #e15ac966;
  --green: #63d089;
  --green-dim: #63d08929;
  --amber: #e8b64d;
  --red: #f0736f;
  --discord: #5865f2;
  --shadow-1: 0 6px 18px #0000004d;
  --shadow-2: 0 16px 40px #00000061;
  --r-s: 8px;
  --r: 10px;
  --r-l: 14px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Minecraft Ten", var(--sans);
  --pixel: "Minecraft Seven", "Minecraft Ten", var(--sans);
  --shell: 1240px;
  --gutter: clamp(18px, 5vw, 64px);
  --nav-height: 72px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  scrollbar-color: #3a333f #0e0c11;
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #e15ac90f, #0000 60%),
    linear-gradient(90deg, #e9e0f006 1px, #0000 1px) 0 0 / 60px 60px,
    linear-gradient(#e9e0f006 1px, #0000 1px) 0 0 / 60px 60px;
}
::selection { color: var(--ink); background: var(--accent-bright); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0e0c11; }
::-webkit-scrollbar-thumb { background: #3a333f; border: 3px solid #0e0c11; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #4d4552; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--text-bright);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { margin-bottom: 10px; font-size: clamp(1.12rem, 1.7vw, 1.45rem); }
p { text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-bright); font-weight: 600; }

.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.skipLink {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--accent-bright);
  font-family: var(--pixel);
  font-size: .9rem;
  transform: translateY(-180%);
}
.skipLink:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.hotbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: #0f0c11d1;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background .2s ease, box-shadow .2s ease;
}
.hotbar.scrolled { background: #0d0b10ee; box-shadow: 0 10px 30px #00000040; }
.hotbarInner {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  height: 100%;
  margin-inline: auto;
  padding: 10px var(--gutter);
}
.brandWordmark { display: flex; flex: none; align-items: center; min-width: 190px; padding-right: 12px; text-decoration: none; transition: opacity .18s; }
.brandWordmark img { width: 190px; height: auto; }
.brandWordmark:hover { opacity: .85; }
.navSlots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.navSlots::-webkit-scrollbar { display: none; }
.navSlot {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 0 14px;
  min-height: 44px;
  border-radius: var(--r-s);
  color: var(--muted);
  font-family: var(--pixel);
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s, background .16s;
}
.navSlot:hover, .navSlot:focus-visible { color: var(--text-bright); background: #ffffff0d; outline: 0; }
.navSlot.active { color: var(--text-bright); }
.navSlot.active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.navDiscord {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-s);
  color: #fff;
  background: var(--discord);
  font-family: var(--pixel);
  font-size: .96rem;
  text-decoration: none;
  transition: background .16s ease, transform .16s var(--ease-out);
}
.navDiscord:hover { background: #6f79f6; transform: translateY(-1px); }
.navDiscord img { width: 18px; height: auto; }
.headerLanguage { position: relative; flex: none; color: var(--text-bright); }
.headerLanguage summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-s);
  background: var(--surface);
  cursor: pointer;
  font-size: .9rem;
  list-style: none;
}
.headerLanguage summary::-webkit-details-marker { display: none; }
.headerLanguage summary:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.headerLanguage .globe { width: 17px; height: 17px; flex: none; }
.headerLanguage .caret { color: var(--muted); font-size: .72rem; }
.languageCode { color: var(--accent-bright); font-size: .8rem; font-weight: 700; }
.languageDropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100dvh - var(--nav-height) - 28px);
  padding: 20px;
  border: 1px solid var(--line-3);
  border-radius: var(--r);
  background: var(--bg-2);
  box-shadow: var(--shadow-2);
  overflow-y: auto;
}
.languageDropdown strong { display: block; margin-bottom: 6px; }
.languageDropdown p { margin-bottom: 12px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.languageDropdown ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.languageDropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.languageDropdown a:hover, .languageDropdown a:focus-visible { color: var(--white); background: var(--surface-2); }
.languageDropdown a[aria-current="true"] { color: var(--accent-bright); background: var(--accent-dim); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.homeHero, .pageHero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
}
.homeHero { min-height: 560px; }
.homeHero::after, .pageHero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#0e0c1159, #0e0c11b8 62%, var(--bg));
}
.homeHeroImage, .pageHeroImage {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02);
}
.homeHeroContent {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 560px;
  padding-block: 116px 64px;
  text-align: center;
}
.wordmark { width: clamp(240px, 38vw, 440px); height: auto; animation: fadeUp .7s var(--ease-out) both; }
.homeHeroTitle {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--text-bright);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.12;
  animation: fadeUp .7s var(--ease-out) 80ms both;
}
.homeHeroLead {
  max-width: 680px;
  margin: 16px auto 0;
  color: #e7dfec;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  animation: fadeUp .7s var(--ease-out) .16s both;
}
.homeHeroActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  animation: fadeUp .7s var(--ease-out) .32s both;
}
.pageHero { display: flex; align-items: end; min-height: 470px; }
.pageHero.compact { min-height: 380px; }
.pageHeroContent { position: relative; z-index: 2; padding-block: 140px 56px; }
.pageHeroContent > * { animation: fadeUp .64s var(--ease-out) both; }
.pageHeroContent > :nth-child(2) { animation-delay: 70ms; }
.pageHeroContent > :nth-child(3) { animation-delay: .14s; }
.pageHeroContent > :nth-child(4) { animation-delay: .21s; }
.pageHero h1 { max-width: 980px; margin-bottom: 18px; }
.heroDescription { max-width: 740px; margin-bottom: 0; color: #e7dfec; font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.heroActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* --------------------------------------------------------------------------
   Shared text, buttons and panels
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--accent-bright);
  font-family: var(--pixel);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.textLink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-bright);
  font-family: var(--pixel);
  font-size: .92rem;
  letter-spacing: .02em;
  text-decoration: none;
}
.textLink::after { content: "→"; transition: transform .2s var(--ease-out); }
.textLink:hover { color: var(--white); }
.textLink:hover::after { transform: translate(4px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  color: var(--text-bright);
  background: var(--surface-2);
  font-family: var(--pixel);
  font-size: .96rem;
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  transition: transform .16s var(--ease-out), background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:hover, .button:focus-visible { border-color: var(--line-3); background: var(--surface-3); outline: 0; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; fill: currentColor; }
.primaryButton { border-color: transparent; color: var(--ink); background: var(--accent); }
.primaryButton:hover, .primaryButton:focus-visible { background: var(--accent-bright); box-shadow: 0 8px 22px #e15ac94d; }
.ghostButton { color: var(--text-bright); background: #ffffff0a; }
.ghostButton:hover, .ghostButton:focus-visible { background: #ffffff17; }
.discordButton { border-color: transparent; color: #fff; background: var(--discord); }
.discordButton:hover, .discordButton:focus-visible { background: #6f79f6; box-shadow: 0 8px 22px #5865f252; }

.panel, .contentCard, .featureCard, .faqList details, .creatorCard, .guideCard, .ruleCard, .answerCard, .specTableWrap {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.contentCard, .featureCard, .guideCard, .ruleCard { padding: clamp(24px, 3vw, 34px); }
.contentCard, .guideCard, .creatorCard, .featureCard, .ruleCard { transition: transform .2s var(--ease-out), border-color .2s ease, background .2s ease; }
.contentCard:hover, .guideCard:hover, .creatorCard:hover { border-color: var(--line-3); background: var(--surface-2); transform: translateY(-3px); }
.contentCard p, .featureCard p, .guideCard p, .ruleCard p { color: var(--muted); }
.contentCard { display: flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none; }
.contentCard > span:first-child, .guideCard > span:first-child, .ruleCard > span:first-child {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--accent-bright);
  background: var(--accent-dim);
  font-family: var(--pixel);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contentCard .textLink, .guideCard .textLink { margin-top: auto; padding-top: 20px; }
.featureCard h3::before, .ruleCard h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 13px;
  border-radius: 3px;
  background: var(--accent);
}
.section { padding-block: clamp(64px, 8vw, 108px); }
.section + .section { border-top: 1px solid var(--line); }
.sectionHeading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.sectionHeading > div { max-width: 780px; }
.sectionHeading h2 { margin-bottom: 0; }
.sectionHeading > p { max-width: 420px; margin-bottom: 6px; color: var(--muted); }
.sectionAction { display: flex; justify-content: center; margin-top: 32px; }
.sectionNote {
  max-width: 940px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--muted);
  background: var(--surface);
  font-size: .95rem;
}
.sectionNote a { color: var(--text-bright); text-underline-offset: 3px; }
.contentReview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin-bottom: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--pixel);
  font-size: .84rem;
  letter-spacing: .03em;
  line-height: 1.5;
  text-transform: uppercase;
}
.contentReview time { color: var(--text-bright); }

/* --------------------------------------------------------------------------
   Home: facts, bento, definition, FAQ, CTA
   -------------------------------------------------------------------------- */
.homeFacts {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.homeFacts a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 88px;
  padding: 18px 22px;
  color: inherit;
  text-decoration: none;
  transition: background .16s;
}
.homeFacts a + a { border-left: 1px solid var(--line); }
.homeFacts a:hover { background: var(--surface-2); }
.homeFacts small { margin-bottom: 6px; color: var(--accent-bright); font-family: var(--pixel); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.homeFacts strong { color: var(--text-bright); font-size: clamp(.9rem, 1.08vw, 1.02rem); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.pathGrid, .featureGrid, .guideGrid, .ruleGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.joinPathGrid .contentCard { min-height: 290px; }
.introGrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; }
.introLead { padding: clamp(28px, 4vw, 56px); border-right: 1px solid var(--line); background: var(--surface-2); }
.introLead p { margin-bottom: 0; color: var(--text-bright); font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.85rem); line-height: 1.32; }
.introCopy { padding: clamp(28px, 4vw, 56px); color: var(--muted); }
.introCopy a { color: var(--text-bright); text-underline-offset: 3px; }
.securityNotice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #e8b64d4d;
  border-left: 4px solid var(--amber);
  border-radius: var(--r);
  background: var(--surface);
}
.securityNotice > div { flex: 420px; min-width: 0; }
.securityNotice .kicker { color: var(--amber); }
.securityNotice h2 { margin: 8px 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.securityNotice p { max-width: 780px; margin: 0; color: var(--text); }
.securityNotice .button { flex-shrink: 0; }
.homeBento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.homeBento > :first-child { grid-column: span 4; min-height: 400px; }
.homeBento > :nth-child(2) { grid-column: span 2; min-height: 400px; }
.homeBento > :nth-child(n+3) { grid-column: span 3; }
.landscapeCard {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  color: inherit;
  text-decoration: none;
  transition: transform .22s var(--ease-out), border-color .22s ease;
}
.homeBento .landscapeCard { min-height: 300px; }
.landscapeCard:hover { border-color: var(--line-3); transform: translateY(-3px); }
.landscapeCardImage { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.landscapeCard:hover .landscapeCardImage { transform: scale(1.04); }
.landscapeCardShade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0b090df2 0, #0b090d59 48%, #0b090d0d 80%); }
.landscapeCardContent { display: block; width: 100%; padding: 26px; }
.landscapeCardContent strong { display: block; margin-bottom: 7px; color: var(--white); font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.05; }
.landscapeCardContent > span:last-child { display: block; max-width: 520px; color: #e7dfec; }
.landscapeCardContent .kicker { color: #ffb3ea; }
.faqList { display: grid; gap: 10px; }
.faqList details { overflow: hidden; transition: border-color .18s, background .18s; }
.faqList details:hover { border-color: var(--line-2); }
.faqList details[open] { border-color: var(--line-3); background: var(--surface-2); }
.faqList summary {
  position: relative;
  min-height: 62px;
  padding: 21px 72px 21px 24px;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faqList summary::-webkit-details-marker { display: none; }
.faqList summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  color: var(--accent-bright);
  background: transparent;
  font-family: var(--sans);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .24s var(--ease-out), background .18s ease, border-color .18s ease;
}
.faqList details[open] summary::after { border-color: var(--accent-line); background: var(--accent-dim); transform: translateY(-50%) rotate(45deg); }
.faqList p { max-width: 940px; margin: 0; padding: 0 24px 24px; color: var(--muted); }
.faqList p a { color: var(--accent-bright); }
.ctaActions { display: flex; flex-wrap: wrap; gap: 10px; }
.ctaBanner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(64px, 7vw, 100px);
  padding: clamp(32px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: radial-gradient(30rem 18rem at 88% -40%, var(--accent-dim), transparent 62%), var(--surface);
}
.ctaBanner h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(1.7rem, 3.2vw, 2.9rem); }
.ctaBanner p:not(.kicker) { max-width: 720px; color: var(--muted); }

/* --------------------------------------------------------------------------
   IP field and copy controls
   -------------------------------------------------------------------------- */
.ipBox { display: flex; width: min(100%, 760px); gap: 8px; animation: fadeUp .7s var(--ease-out) .24s both; }
.ipBox code {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  color: var(--text-bright);
  background: var(--bg-2);
  font-family: var(--pixel);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ipBox code::before { content: "▸"; color: var(--green); font-size: .8em; }
.ipBox.compact code { font-size: 1rem; }
.ipBox .button { flex: none; }
.homeHero .ipBox { justify-content: center; margin-top: 26px; }
.pageHero .ipBox { margin-top: 28px; }
.copyRow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 18px; }
.copyRow code { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--accent-bright); background: var(--bg-2); font-family: var(--pixel); font-size: .92rem; }
.button.is-copied, .copyMini.is-copied { color: var(--ink); background: var(--green); border-color: transparent; }

/* --------------------------------------------------------------------------
   How to join / server IP
   -------------------------------------------------------------------------- */
.languageLinks { padding-block: 22px; }
.languageLinks summary { width: fit-content; cursor: pointer; color: var(--text-bright); font-weight: 700; }
.languageLinks summary:hover { color: var(--accent-bright); }
.languageLinks ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 18px 0 0; list-style: none; }
.languageLinks a { text-underline-offset: 4px; text-decoration: underline; color: var(--muted); }
.languageLinks a:hover { color: var(--text-bright); }
.connectionContent { padding-top: 24px; }
.connectionContent > h2 { margin-top: 46px; margin-bottom: 22px; }
.connectionProse { max-width: 900px; margin-block: 40px; }
.connectionProse h2 { margin-top: 32px; }
.connectionProse p, .connectionContent .answerCard p { line-height: 1.85; }
.connectionProse a, .answerCard a { color: var(--accent-bright); text-underline-offset: 3px; }
.answerCard { padding: clamp(24px, 3.4vw, 40px); border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-dim), transparent 220px), var(--surface); }
.answerCard .answerLead { max-width: 70ch; margin-bottom: 14px; color: var(--text-bright); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.answerCard .answerNote { max-width: 78ch; margin-bottom: 0; color: var(--muted); font-size: .96rem; line-height: 1.62; }
.answerCard code, .connectionProse code { padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--accent-bright); background: var(--bg-2); font-family: var(--pixel); font-size: .95em; overflow-wrap: anywhere; }
.joinBefore { margin-bottom: 40px; padding: clamp(24px, 3.4vw, 40px); border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-dim), transparent 240px), var(--surface); }
.joinBefore h2 { margin-bottom: 14px; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.joinBefore p { color: var(--text); margin: 0; }
.joinSteps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.joinSteps li { display: flex; align-items: flex-start; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.joinSteps li:first-child { padding-top: 4px; }
.joinSteps li:last-child { border-bottom: 0; }
.joinSteps li > span {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-s);
  color: var(--accent-bright);
  background: var(--accent-dim);
  font-family: var(--pixel);
}
.joinSteps h3 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.25; }
.joinSteps p { margin: 0; color: var(--text); }
.joinWalkthrough.bedrock .joinSteps li > span { border-color: #63d08966; color: var(--green); background: var(--green-dim); }
.joinSafety { border-left: 1px solid var(--line-2); padding-left: clamp(24px, 4vw, 44px); }
.joinSafety h3 { margin-bottom: 16px; color: var(--amber); }
.joinCommunity { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 80px); margin-top: 48px; padding: clamp(26px, 5vw, 60px); }
.joinCommunity p { color: var(--text); }
.joinDiscordAddress { display: block; margin: 24px 0; color: var(--accent-bright); overflow-wrap: anywhere; }
.joinCommunity .discordButton { margin-top: 2px; }
.connectionRelated { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 34px; }
.connectionRelated a { color: var(--text-bright); text-underline-offset: 4px; text-decoration: underline; }
.connectionRelated a:hover { color: var(--accent-bright); }
.specTableWrap { margin-top: 26px; overflow-x: auto; }
.specTable { width: 100%; border-collapse: collapse; font-size: .96rem; }
.specTable caption { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--accent-bright); background: var(--surface-2); font-family: var(--pixel); font-size: .84rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.specTable tr + tr { border-top: 1px solid var(--line); }
.specTable th, .specTable td { padding: 12px 18px; text-align: left; vertical-align: top; }
.specTable th { width: 40%; color: var(--muted); font-weight: 400; }
.specTable td { color: var(--text-bright); font-family: var(--pixel); }
.specTable tr:first-child td { color: var(--accent-bright); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Creators
   -------------------------------------------------------------------------- */
.creatorGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.creatorCard { min-width: 0; padding: 14px; }
.creatorPortrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
}
.creatorPortrait::after {
  content: "";
  position: absolute;
  bottom: -58%;
  left: -20%;
  right: -20%;
  height: 78%;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
  transform: rotate(-7deg);
}
.creatorPortrait img { position: relative; z-index: 1; width: 60%; height: 80%; object-fit: contain; image-rendering: pixelated; transition: transform .26s var(--ease-out); }
.creatorCard:hover .creatorPortrait img { transform: translateY(-3px) scale(1.03); }
.creatorBody { display: flex; flex-direction: column; padding: 20px 8px 8px; }
.creatorBody h2 { margin: 13px 0 11px; font-size: clamp(1.5rem, 2.3vw, 2.05rem); overflow-wrap: anywhere; }
.creatorBody p { color: var(--muted); font-size: .92rem; }
.creatorBody small { display: block; margin-top: auto; padding-top: 10px; color: var(--accent-bright); }
.roleBadge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--accent-bright);
  background: var(--accent-dim);
  font-family: var(--pixel);
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.creatorProfileLink {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: var(--text-bright);
  font-family: var(--pixel);
  font-size: .92rem;
  text-underline-offset: 5px;
}
.creatorProfileLink::after { content: "→"; margin-left: 7px; color: var(--accent-bright); transition: transform .2s var(--ease-out); }
.creatorProfileLink:hover::after { transform: translateX(4px); }
.socialRow { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.socialRow a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  color: var(--text-bright);
  background: var(--surface-2);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s var(--ease-out);
}
.socialRow a:hover { border-color: var(--line-3); background: var(--surface-3); transform: translateY(-2px); }
.socialRow svg { width: 19px; height: 19px; fill: currentColor; }
.socialRow [data-social="youtube"]:hover { color: #ff5252; }
.socialRow [data-social="twitch"]:hover { color: #a970ff; }
.socialRow [data-social="tiktok"]:hover { color: #ff4d79; }
.socialRow [data-social="instagram"]:hover { color: #ff6aa5; }
.socialRow [data-social="discord"]:hover { color: #8b9cff; }
.imageFeature {
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 500px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background-position: center;
  background-size: cover;
  position: relative;
}
.imageFeature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d0b10e6, #0d0b1059), linear-gradient(0deg, var(--bg), transparent 55%); }
.imageFeatureContent { padding-block: 76px; }
.imageFeatureContent > div { max-width: 700px; padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r-l); background: #110e14d1; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.imageFeature h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.imageFeature p { color: #e7dfec; }
.imageFeature .button { margin-top: 4px; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blogTopics { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.blogTopics button {
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-bright);
  background: var(--surface);
  font-family: var(--sans);
  transition: border-color .16s, background .16s, color .16s;
}
.blogTopics button:hover { border-color: var(--accent-bright); }
.blogTopics button.active { border-color: var(--accent-line); color: var(--accent-bright); background: var(--accent-dim); }
.blogFeature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; }
.blogFeature > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.blogFeature > div { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.blogFeature h3 { margin: 16px 0; font-size: clamp(1.6rem, 3vw, 2.3rem); overflow-wrap: anywhere; }
.blogFeature h3 a { color: var(--text-bright); text-decoration: none; }
.blogFeature h3 a:hover { color: var(--accent-bright); }
.blogFeature p { color: var(--text); }
.blogDate { color: var(--muted); font-size: .88rem; }
.blogGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blogCard { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 36px); }
.blogCard h3 { margin: 16px 0; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; }
.blogCard h3 a { color: var(--text-bright); text-decoration: none; }
.blogCard h3 a:hover { color: var(--accent-bright); }
.blogCard p { line-height: 1.7; }
.blogCard .blogDate { margin-top: auto; padding-top: 18px; }
.blogCard .textLink { margin-top: 12px; }
.blogEmpty { display: none; margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); background: var(--surface); }
.blogAll { padding-top: 0; }
.blogFilterNote { margin-bottom: 22px; color: var(--muted); font-size: .92rem; }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.articleLayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.articleBody { min-width: 0; }
.articleBody h2 { margin-top: 42px; }
.articleBody p, .articleBody li { line-height: 1.85; }
.articleBody ul { padding-left: 20px; color: var(--muted); }
.articleBody li + li { margin-top: 8px; }
.articleBody a { color: var(--accent-bright); text-underline-offset: 3px; }
.articleAside { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 14px; }
.articleAside .panel { padding: 22px; }
.articleAside h3 { font-size: 1.05rem; }
.articleAside p { color: var(--muted); font-size: .9rem; }
.articleAside a { color: var(--accent-bright); font-size: .9rem; }
.articleNav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.siteFooter { border-top: 1px solid var(--line); background: var(--bg-2); }
.footerMain { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(44px, 5vw, 64px); }
.footerBrand { display: flex; align-items: flex-start; gap: 16px; }
.footerBrand img { image-rendering: pixelated; border-radius: 10px; }
.footerBrand strong { color: var(--text-bright); font-family: var(--pixel); font-size: 1.05rem; }
.footerBrand p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.footerBrand p a { color: var(--text-bright); text-decoration: none; }
.footerBrand p a:hover { color: var(--accent-bright); }
.footerBrand .navDiscord { min-height: 40px; margin-top: 16px; }
.footerLinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.footerCol { display: grid; align-content: start; gap: 10px; }
.footerCol > span { margin-bottom: 4px; color: var(--faint); font-family: var(--pixel); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footerCol a { width: fit-content; color: var(--muted); font-size: .95rem; text-decoration: none; transition: color .16s; }
.footerCol a:hover { color: var(--accent-bright); }
.footerLegal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 24px 34px; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.footerLegal p { margin: 0; }
.footerLegal p + p { margin-top: 4px; }
.footerLegal a { color: var(--accent-bright); }
.backToTop { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-family: var(--pixel); font-size: .84rem; text-decoration: none; transition: color .16s; }
.backToTop::after { content: "↑"; color: var(--accent-bright); transition: transform .2s var(--ease-out); }
.backToTop:hover { color: var(--text-bright); }
.backToTop:hover::after { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Toast + motion
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border: 1px solid var(--line-3);
  border-radius: 10px;
  color: var(--text-bright);
  background: #221d29f2;
  box-shadow: var(--shadow-2);
  font-size: .9rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s var(--ease-out);
  backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: #f0736f66; color: #ffd7d5; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .brandWordmark { min-width: 158px; padding-right: 8px; }
  .brandWordmark img { width: 158px; }
  .navSlots { justify-content: flex-start; }
  .navSlot { padding-inline: 11px; font-size: .86rem; }
  .navSlot.active::after { right: 11px; left: 11px; }
  .languageLabel { display: none; }
  .creatorGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articleLayout { grid-template-columns: 1fr; }
  .articleAside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .introGrid, .joinCommunity, .footerMain { grid-template-columns: 1fr; }
  .introLead { border-right: 0; border-bottom: 1px solid var(--line); }
  .joinSafety { border-left: 0; border-top: 1px solid var(--line-2); padding: 28px 0 0; }
  .homeBento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homeBento > :first-child { grid-column: 1 / -1; min-height: 380px; }
  .homeBento > :nth-child(n) { grid-column: auto; min-height: 320px; }
  .homeFacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homeFacts a:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .homeFacts a:nth-child(4) { border-top: 1px solid var(--line); }
  .sectionHeading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ctaBanner { flex-direction: column; align-items: flex-start; }
  .footerLinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blogFeature { grid-template-columns: 1fr; }
  .blogFeature > img { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .creatorGrid { gap: 14px; }
}
@media (max-width: 719px) {
  :root { --nav-height: 64px; --gutter: clamp(16px, 4vw, 34px); }
  .hotbarInner { padding: 8px var(--gutter); gap: 5px; }
  .brandWordmark { min-width: 124px; padding-right: 5px; }
  .brandWordmark img { width: 124px; }
  .navSlot { padding-inline: 9px; font-size: .8rem; min-height: 40px; }
  .navSlot.active::after { right: 9px; left: 9px; bottom: 3px; }
  .navDiscord { min-height: 40px; padding: 0 10px; }
  .navDiscord span { display: none; }
  .headerLanguage summary { gap: 5px; padding: 9px; min-height: 40px; }
  .headerLanguage .globe { width: 15px; height: 15px; }
  .languageDropdown { right: -120px; }
  .homeHeroContent { min-height: 520px; padding-block: 104px 52px; }
  .wordmark { width: clamp(230px, 60vw, 340px); }
  .homeHeroTitle { font-size: clamp(1.35rem, 4.4vw, 1.8rem); }
  .pageHeroContent { padding-block: 112px 42px; }
  .pageHero { min-height: 400px; }
  .pageHero.compact { min-height: 340px; }
  .pathGrid, .featureGrid, .guideGrid, .ruleGrid, .blogGrid { grid-template-columns: 1fr; }
  .homeBento { grid-template-columns: 1fr; }
  .homeBento > :first-child, .homeBento > :nth-child(n) { grid-column: auto; min-height: 300px; }
  .homeFacts { grid-template-columns: 1fr; margin-top: -18px; }
  .homeFacts a { min-height: 72px; }
  .homeFacts a + a, .homeFacts a:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .ipBox { flex-direction: column; }
  .ipBox code { min-height: 54px; }
  .ipBox .button { width: 100%; }
  .homeHeroActions .button, .heroActions .button { width: 100%; }
  .creatorGrid { grid-template-columns: 1fr; }
  .creatorPortrait { aspect-ratio: 4 / 3; }
  .footerLinks { grid-template-columns: 1fr; }
  .footerLegal { flex-direction: column; align-items: flex-start; }
  .articleAside { grid-template-columns: 1fr; }
  .joinSteps li { gap: 13px; }
  .joinSteps li > span { flex-basis: 38px; width: 38px; height: 38px; }
  .joinSteps h3 { font-size: 1.15rem; }
  .securityNotice { padding: 22px; }
  .securityNotice > div { flex-basis: auto; }
  .securityNotice .button { width: 100%; }
  .ctaBanner { padding: 26px; }
  .ctaBanner .button { width: 100%; }
  .languageDropdown { right: 0; }
}
@media (max-width: 519px) {
  :root { --nav-height: 108px; }
  .hotbar { height: var(--nav-height); }
  .hotbarInner { flex-wrap: wrap; align-content: center; padding-block: 7px; row-gap: 2px; }
  .brandWordmark { order: 1; min-width: 108px; }
  .brandWordmark img { width: 108px; }
  .navDiscord { order: 2; min-height: 36px; margin-left: auto; }
  .headerLanguage { order: 3; }
  .headerLanguage summary { min-height: 36px; padding: 8px 7px; }
  .headerLanguage .languageCode { display: none; }
  .headerLanguage .caret { display: none; }
  .navSlots {
    order: 4;
    flex-basis: 100%;
    justify-content: center;
    gap: 0;
    overflow: visible;
  }
  .navSlot { min-height: 34px; padding-inline: 8px; font-size: .75rem; }
  .navSlot.active::after { right: 8px; left: 8px; bottom: 2px; }
  .languageDropdown { right: 0; top: calc(100% + 10px); }
  .pageHeroContent .kicker { font-size: .72rem; letter-spacing: .09em; }
  .homeHeroContent { min-height: 540px; padding-block: 132px 48px; }
  .homeHeroLead { font-size: .96rem; }
  .homeFacts a { padding: 15px 18px; }
  .pageHeroContent { padding-block: 140px 40px; }
  .pageHero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .joinCommunity { padding: 24px; }
  .connectionRelated { flex-direction: column; gap: 10px; }
  .blogTopics { gap: 8px; }
  .blogTopics button { padding: 10px 14px; font-size: .86rem; }
}
