@font-face {
  font-family: "Minecraft Ten";
  src: url("./fonts/minecraft-ten.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Minecraft Seven";
  src: url("./fonts/minecraft-seven.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #070d09;
  --bg-2: #040805;
  --surface: #0e1711;
  --surface-2: #142219;
  --surface-3: #1b2f23;
  --ink: #040a06;
  --white: #ffffff;
  --text: #cbd7cf;
  --text-bright: #ffffff;
  --muted: #8da394;
  --faint: #546b5a;
  --line: rgba(34, 197, 94, 0.15);
  --line-2: rgba(34, 197, 94, 0.28);
  --line-3: rgba(34, 197, 94, 0.45);
  --accent: #16a34a;
  --accent-bright: #4ade80;
  --accent-dim: rgba(34, 197, 94, 0.16);
  --accent-line: rgba(34, 197, 94, 0.52);
  --emerald-glow: rgba(74, 222, 128, 0.4);
  --silver: #e2e8f0;
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.16);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.16);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.16);
  --red: #ef4444;
  --discord: #5865f2;
  --shadow-1: 0 6px 18px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 16px 40px rgba(0, 0, 0, 0.75);
  --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(0.2, 0.8, 0.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: #1e3325 #070d09;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body:before {
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, rgba(34, 197, 94, 0.08), transparent 60%),
              linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px) 0 0 / 60px 60px,
              linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px) 0 0 / 60px 60px;
  position: fixed;
  inset: 0;
}

::selection {
  color: var(--ink);
  background: var(--accent-bright);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #040805;
}

::-webkit-scrollbar-thumb {
  background: #193321;
  border: 3px solid #040805;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #254a32;
}

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

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);
  letter-spacing: 0.01em;
  text-wrap: balance;
  font-weight: 400;
  line-height: 1.08;
}

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;
}

.kicker {
  color: var(--accent-bright);
  font-family: var(--pixel);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  display: inline-flex;
}

.kicker:before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-bright);
  content: "";
  border-radius: 2px;
  flex: none;
  width: 7px;
  height: 7px;
}

.textLink {
  color: var(--accent-bright);
  font-family: var(--pixel);
  letter-spacing: 0.02em;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
}

.textLink:after {
  content: "→";
  transition: transform 0.2s var(--ease-out);
}

a:hover > .textLink:after,
.textLink:hover:after {
  transform: translate(4px);
}

.textLink:hover {
  color: var(--white);
}

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 108px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.sectionHeading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
  display: flex;
}

.sectionHeading > div {
  max-width: 780px;
}

.sectionHeading h2 {
  margin-bottom: 0;
}

.sectionHeading > p {
  max-width: 440px;
  color: var(--muted);
  margin-bottom: 6px;
}

.sectionNote {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  max-width: 940px;
  color: var(--muted);
  background: var(--surface);
  margin-top: 28px;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.button {
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  min-height: 46px;
  color: var(--text-bright);
  background: var(--surface-2);
  cursor: pointer;
  font-family: var(--pixel);
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.16s var(--ease-out), background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  font-size: 0.96rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
}

.button:hover,
.button:focus-visible {
  background: var(--surface-3);
  border-color: var(--line-3);
  outline: 0;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
}

.primaryButton {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%) !important;
  color: #ffffff !important;
  border: 1px solid #4ade80 !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
  font-weight: 400;
}

.primaryButton:hover,
.primaryButton:focus-visible {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%) !important;
  border-color: #86efac !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.55) !important;
  transform: translateY(-2px);
}

.secondaryButton {
  border-color: var(--accent-line);
  color: var(--accent-bright);
  background: var(--accent-dim);
}

.secondaryButton:hover,
.secondaryButton:focus-visible {
  border-color: var(--accent-bright);
  background: rgba(34, 197, 94, 0.25);
}

.ghostButton {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.06);
}

.ghostButton:hover,
.ghostButton:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.discordButton {
  color: #fff;
  background: var(--discord);
  border-color: transparent;
}

.discordButton:hover,
.discordButton:focus-visible {
  background: #6f79f6;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.4);
}

/* Hotbar Navigation */
.hotbar {
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(7, 13, 9, 0.88);
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.hotbarInner {
  min-width: 0;
  width: min(100%, calc(var(--shell) + var(--gutter) * 2));
  height: 100%;
  padding: 12px 10px 12px var(--gutter);
  flex: 1;
  align-items: stretch;
  gap: 8px;
  margin-inline: auto;
  display: flex;
}

.brandWordmark {
  align-items: center;
  min-width: 200px;
  padding-right: 14px;
  text-decoration: none;
  transition: opacity 0.18s;
  display: flex;
}

.brandWordmark img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(180, 228, 30, 0.4);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}

.brandWordmark:hover img {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(180, 228, 30, 0.65);
}

.brandWordmark:hover {
  opacity: 0.88;
}

.navSlots {
  scrollbar-width: none;
  flex: 1;
  justify-content: safe center;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  display: flex;
  overflow-x: auto;
}

.navSlots::-webkit-scrollbar {
  display: none;
}

.navSlot {
  white-space: nowrap;
  border-radius: var(--r-s);
  color: var(--muted);
  font-family: var(--pixel);
  flex-shrink: 0;
  align-items: center;
  padding: 0 14px;
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 0.16s, background 0.16s;
  display: inline-flex;
  position: relative;
}

.navSlot:hover,
.navSlot:focus-visible {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.05);
  outline: 0;
}

.navSlot.active {
  color: var(--text-bright);
}

.navSlot.active:after {
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
  content: "";
  border-radius: 2px;
  height: 2px;
  position: absolute;
  bottom: 6px;
  left: 14px;
  right: 14px;
}

.navDiscord {
  border-radius: var(--r-s);
  color: #fff;
  background: var(--discord);
  min-width: 44px;
  font-family: var(--pixel);
  transition: background 0.16s ease, transform 0.16s var(--ease-out);
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 0.94rem;
  text-decoration: none;
  display: inline-flex;
}

.navDiscord:hover {
  background: #6f79f6;
  transform: translateY(-1px);
}

.navDiscord img {
  width: 18px;
  height: auto;
}

/* Hero Section */
.homeHero {
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  min-height: clamp(520px, 68svh, 680px);
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.homeHeroImage {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) brightness(0.85);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.homeHero:after {
  z-index: -1;
  background: linear-gradient(rgba(7, 13, 9, 0.45), rgba(7, 13, 9, 0.78) 60%, var(--bg));
  content: "";
  position: absolute;
  inset: 0;
}

.homeHeroShade {
  z-index: -1;
  background: linear-gradient(rgba(7, 13, 9, 0.4), rgba(7, 13, 9, 0.88) 68%, var(--bg)),
              linear-gradient(90deg, rgba(7, 13, 9, 0.85), transparent 35%, transparent 65%, rgba(7, 13, 9, 0.85));
  position: absolute;
  inset: 0;
}

.homeHeroContent {
  text-align: center;
  align-content: center;
  justify-items: center;
  min-height: clamp(520px, 68svh, 680px);
  padding-block: 48px 56px;
  display: grid;
}

.wordmark {
  width: clamp(260px, 42vw, 480px);
  height: auto;
  margin: 0 auto 16px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75), 0 0 32px rgba(180, 228, 30, 0.45);
  animation: fadeUp 0.7s var(--ease-out) both;
}

.homeHeroTitle {
  max-width: 900px;
  color: var(--text-bright);
  animation: fadeUp 0.7s var(--ease-out) 80ms both;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.15;
}

.statusIndicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--pixel);
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(14, 23, 17, 0.8);
  border: 1px solid var(--line-2);
  padding: 6px 14px;
  border-radius: 999px;
  animation: fadeUp 0.7s var(--ease-out) 120ms both;
}

.statusDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: 1.6s ease-in-out infinite pulseGlow;
}

.homeHeroLead {
  color: #d6e4db;
  max-width: 680px;
  animation: fadeUp 0.7s var(--ease-out) 0.16s both;
  margin: 18px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.ipBox {
  width: min(100%, 720px);
  animation: fadeUp 0.7s var(--ease-out) 0.24s both;
  gap: 8px;
  margin-top: 22px;
  display: flex;
}

.ipBox code {
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  min-width: 0;
  color: var(--text-bright);
  background: var(--bg-2);
  font-family: var(--pixel);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  display: flex;
  overflow: hidden;
}

.ipBox code:before {
  color: var(--green);
  content: "▸";
  font-size: 0.9em;
}

.homeHeroActions {
  animation: fadeUp 0.7s var(--ease-out) 0.32s both;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  display: flex;
}

/* Facts Bar */
.homeFacts {
  z-index: 8;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -36px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.homeFacts a,
.homeFacts .factItem {
  min-width: 0;
  min-height: 88px;
  color: inherit;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  text-decoration: none;
  transition: background 0.16s;
  display: flex;
}

.homeFacts a + a,
.homeFacts .factItem + .factItem {
  border-left: 1px solid var(--line);
}

.homeFacts a:hover,
.homeFacts .factItem:hover {
  background: var(--surface-2);
}

.homeFacts small {
  color: var(--accent-bright);
  font-family: var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.homeFacts strong {
  color: var(--text-bright);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 600;
  overflow: hidden;
}

/* Cards & Bento Grid */
.panel, .contentCard, .featureCard, .faqList details, .creatorCard, .guideCard, .ruleCard, .seoArticle, .statusPanel {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.contentCard, .featureCard, .guideCard, .ruleCard {
  padding: clamp(24px, 3vw, 34px);
  position: relative;
}

.contentCard {
  color: inherit;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  display: flex;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--line-2) !important;
}

.contentCard:hover {
  border-color: var(--accent-line) !important;
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.contentCard > span:first-child {
  border: 1px solid var(--line-2);
  color: var(--accent-bright);
  background: var(--accent-dim);
  font-family: var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  align-items: center;
  margin-bottom: 22px;
  padding: 5px 10px;
  font-size: 0.8rem;
  display: inline-flex;
}

.contentCard p {
  color: var(--muted);
  line-height: 1.6;
}

.pathGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.joinPathGrid .contentCard {
  min-height: 310px;
}

/* Landscape Cards & Bento */
.landscapeCard {
  isolation: isolate;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  min-height: 340px;
  color: inherit;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease;
  align-items: flex-end;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
}

.landscapeCard:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.landscapeCardImage {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.landscapeCard:hover .landscapeCardImage {
  transform: scale(1.04);
}

.landscapeCardShade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 13, 9, 0.95) 0%, rgba(7, 13, 9, 0.45) 48%, rgba(7, 13, 9, 0.1) 80%);
  position: absolute;
  inset: 0;
}

.landscapeCardContent {
  width: 100%;
  padding: 30px;
  display: block;
}

.landscapeCardContent > span:first-child {
  color: var(--accent-bright);
  font-family: var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 8px;
}

.landscapeCardContent h3 {
  color: var(--white);
  font-family: var(--display);
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.1;
}

.landscapeCardContent p {
  color: #cbd8cf;
  max-width: 540px;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.homeBento {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.homeBento .landscapeCard {
  min-height: 320px;
}

.homeBento > :first-child {
  grid-column: span 4;
  min-height: 420px;
}

.homeBento > :nth-child(2) {
  grid-column: span 2;
  min-height: 420px;
}

.homeBento > :nth-child(n+3) {
  grid-column: span 3;
}

/* Timeline Section */
.timelineGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.timelineCard {
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: var(--surface);
  padding: 24px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.timelineCard:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.timelineCard .timelineDate {
  font-family: var(--pixel);
  font-size: 0.78rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.timelineCard h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.timelineCard p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Creators Grid & Spotlight */
.homeCreatorGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.homeCreatorCard {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  min-width: 0;
  color: inherit;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  background: rgba(14, 23, 17, 0.85);
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  text-decoration: none;
  display: grid;
}

.homeCreatorCard:hover {
  border-color: var(--accent-line);
  background: rgba(20, 34, 25, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.homeCreatorCard img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
}

.homeCreatorCard small {
  color: var(--accent-bright);
  font-family: var(--pixel);
  margin-bottom: 3px;
  font-size: 0.78rem;
  display: block;
}

.homeCreatorCard strong {
  overflow-wrap: anywhere;
  color: var(--text-bright);
  font-family: var(--pixel);
  font-size: 1.02rem;
  display: block;
}

.homeCreatorCard p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.homeCreatorCard b {
  color: var(--accent-bright);
  transition: transform 0.2s var(--ease-out);
  font-size: 1.15rem;
}

.homeCreatorCard:hover b {
  transform: translate(3px);
}

/* FAQ Accordions */
.faqList {
  gap: 12px;
  display: grid;
}

.faqList details {
  transition: border-color 0.18s, background 0.18s;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.faqList details:hover {
  border-color: var(--line-2);
}

.faqList details[open] {
  border-color: var(--line-3);
  background: var(--surface-2);
}

.faqList summary {
  min-height: 62px;
  color: var(--text-bright);
  cursor: pointer;
  font-family: var(--display);
  padding: 20px 72px 20px 24px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.3;
  list-style: none;
  position: relative;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary:after {
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  width: 30px;
  height: 30px;
  color: var(--accent-bright);
  content: "+";
  font-family: var(--sans);
  transition: transform 0.24s var(--ease-out), background 0.18s ease, border-color 0.18s ease;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.faqList details[open] summary:after {
  border-color: var(--accent-line);
  background: var(--accent-dim);
  transform: translateY(-50%) rotate(45deg);
}

.faqList p {
  max-width: 940px;
  color: var(--muted);
  margin: 0;
  padding: 0 24px 24px;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* CTA Banner */
.ctaBanner {
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: radial-gradient(32rem 20rem at 88% -40%, var(--accent-dim), transparent 64%), var(--surface);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: clamp(64px, 7vw, 100px);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  position: relative;
  overflow: hidden;
}

.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);
  margin-top: 10px;
}

.ctaActions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
  flex-shrink: 0;
}

/* Site Footer */
.siteFooter {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footerMain {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 5vw, 68px);
  display: grid;
}

.footerBrand {
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.footerBrand img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(180, 228, 30, 0.4);
}

.footerBrand p {
  color: var(--muted);
  margin: 7px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footerBrand a.copy-ip-btn {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--pixel);
}

.footerLinks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  display: grid;
}

.footerCol {
  align-content: start;
  gap: 10px;
  display: grid;
}

.footerCol > span {
  color: var(--faint);
  font-family: var(--pixel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.footerCol a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.16s;
}

.footerCol a:hover {
  color: var(--accent-bright);
}

.footerLegal {
  border-top: 1px solid var(--line);
  color: var(--faint);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 28px;
  padding-block: 24px 34px;
  font-size: 0.82rem;
  display: flex;
}

.footerLegal p {
  margin: 0;
}

.footerLegal p + p {
  margin-top: 4px;
}

.footerLegal a {
  color: var(--accent-bright);
}

.backToTop {
  color: var(--muted);
  font-family: var(--pixel);
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.16s;
  display: inline-flex;
}

.backToTop:after {
  color: var(--accent-bright);
  content: "↑";
  transition: transform 0.2s var(--ease-out);
}

.backToTop:hover {
  color: var(--text-bright);
}

.backToTop:hover:after {
  transform: translateY(-3px);
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent-bright);
  padding: 12px 20px;
  border-radius: var(--r);
  color: var(--text-bright);
  font-family: var(--pixel);
  font-size: 0.92rem;
  box-shadow: var(--shadow-2);
  animation: slideUpToast 0.25s var(--ease-out);
}

#toast svg {
  color: var(--accent-bright);
}

/* Keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--green);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
    box-shadow: 0 0 4px var(--green);
  }
}

@keyframes slideUpToast {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Media Queries */
@media (max-width: 1099px) {
  .brandWordmark {
    min-width: 170px;
  }
  .brandWordmark img {
    height: 32px;
  }
  .navSlot {
    padding-inline: 12px;
    font-size: 0.92rem;
  }
  .hotbarInner .navDiscord span {
    display: none;
  }
  .homeFacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homeFacts a:nth-child(3),
  .homeFacts .factItem:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .homeFacts a:nth-child(4),
  .homeFacts .factItem:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .homeCreatorGrid,
  .homeBento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homeBento > :nth-child(n) {
    grid-column: auto;
    min-height: 320px;
  }
  .homeBento > :first-child {
    grid-column: 1 / -1;
    min-height: 380px;
  }
}

@media (max-width: 899px) {
  :root {
    --gutter: clamp(16px, 4vw, 34px);
  }
  .navSlots {
    scrollbar-width: none;
    overflow-x: auto;
  }
  .homeCreatorGrid,
  .pathGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footerMain {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 719px) {
  :root {
    --nav-height: 64px;
  }
  .hotbarInner {
    scrollbar-width: none;
    padding-block: 9px;
    overflow-x: auto;
  }
  .brandWordmark {
    min-width: 150px;
    padding-right: 8px;
  }
  .brandWordmark img {
    height: 30px;
  }
  .navSlots, .navSlot {
    flex: none;
  }
  .homeHeroContent {
    min-height: 520px;
  }
  .sectionHeading,
  .ctaBanner {
    flex-direction: column;
    align-items: flex-start;
  }
  .homeFacts {
    grid-template-columns: 1fr;
    margin-top: -18px;
  }
  .homeFacts a,
  .homeFacts .factItem {
    min-height: 72px;
  }
  .homeFacts a + a,
  .homeFacts .factItem + .factItem,
  .homeFacts a:nth-child(3),
  .homeFacts .factItem:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .homeCreatorGrid,
  .homeBento {
    grid-template-columns: 1fr;
  }
  .homeBento > :first-child,
  .homeBento > :nth-child(n) {
    grid-column: auto;
    min-height: 300px;
  }
  .ipBox {
    flex-direction: column;
  }
  .ipBox code {
    min-height: 54px;
  }
  .footerLinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .footerLegal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 519px) {
  .homeHeroActions,
  .homeHeroActions .button,
  .ctaActions,
  .ctaActions .button {
    width: 100%;
  }
  .pathGrid,
  .homeCreatorGrid {
    grid-template-columns: 1fr;
  }
  .footerLinks {
    grid-template-columns: 1fr;
  }
}
