:root {
  --bg: #07060d;
  --bg-soft: #100d1d;
  --card: rgba(20, 16, 38, 0.72);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f8f7ff;
  --muted: #aaa5be;
  --purple: #2f7dff;
  --purple-light: #6fb2ff;
  --blue: #4b8bff;
  --blue-deep: #0b4bd6;
  --green: #86ef55;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: #01030a;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: saturate(.82) brightness(.55) contrast(1.05) hue-rotate(-6deg);
}

.video-tint {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(47, 125, 255, .18), transparent 34%),
    linear-gradient(180deg, rgba(6,8,16,.86) 0%, rgba(7,9,18,.72) 30%, rgba(6,8,15,.86) 70%, rgba(5,7,13,.94) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .65;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(111,178,255,.8) 0 1px, transparent 1.5px);
  background-position: 0 0, 45px 70px;
  background-size: 130px 130px, 190px 190px;
}

.glow {
  position: fixed;
  width: 440px;
  height: 440px;
  z-index: -1;
  filter: blur(120px);
  opacity: .16;
  border-radius: 50%;
}

.glow-one {
  top: 15%;
  left: -180px;
  background: #1e50c8;
}

.glow-two {
  right: -220px;
  top: 55%;
  background: #2f70ff;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 16px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(8, 6, 16, .74);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 40px rgba(0,0,0,.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(47,125,255,.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: color .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-download {
  color: white !important;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(47, 125, 255, .14);
  border: 1px solid rgba(111,178,255,.28);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px;
  border-radius: 2px;
  background: white;
}

main {
  position: relative;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 90px 0 50px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8c9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(134,239,85,.8);
}

.hero h1 {
  max-width: 700px;
  margin: 22px 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(58px, 7vw, 95px);
  line-height: .93;
  letter-spacing: -.065em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffffff 2%, #6fb2ff 42%, #6ea5ff 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(47,125,255,.16));
}

.hero-copy > p {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

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

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary {
  background: linear-gradient(135deg, #6fb2ff, #2f7dff 56%, #0b4bd6);
  box-shadow: 0 14px 36px rgba(47,125,255,.30), inset 0 1px 0 rgba(255,255,255,.28);
}

.primary:hover {
  box-shadow: 0 20px 46px rgba(47,125,255,.42);
}

.secondary {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}

.secondary:hover {
  border-color: rgba(255,255,255,.24);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  color: #8f899f;
  font-size: 13px;
}

.hero-meta b {
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.logo-card {
  position: relative;
  z-index: 2;
  width: min(510px, 92%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 45%;
  background:
    radial-gradient(circle at 50% 45%, rgba(47, 125, 255, .24), transparent 45%),
    rgba(18, 12, 32, .28);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.52));
  animation: float 5s ease-in-out infinite;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,125,255,.3), transparent 68%);
  filter: blur(28px);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.04);
}

.logo-shine {
  position: absolute;
  inset: 20% 18%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.12) 43%, transparent 57%);
  transform: translateX(-75%);
  animation: shine 5.4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(111,178,255,.22);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit-one {
  width: 510px;
  height: 320px;
}

.orbit-two {
  width: 570px;
  height: 390px;
  border-color: rgba(76,132,255,.16);
  transform: rotate(20deg);
}

.floating-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(14, 11, 25, .8);
  color: #e9e5f5;
  backdrop-filter: blur(15px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  font-size: 12px;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.fabric { background: #ddd6c8; }
.forge { background: #e08a46; }
.neoforge { background: #a869ff; }

.badge-fabric {
  top: 16%;
  left: 3%;
  animation: badgeFloat 4.2s ease-in-out infinite;
}

.badge-forge {
  top: 30%;
  right: -1%;
  animation: badgeFloat 4.7s ease-in-out .7s infinite;
}

.badge-neoforge {
  bottom: 16%;
  right: 4%;
  animation: badgeFloat 5.1s ease-in-out 1.1s infinite;
}

.stats {
  width: min(1040px, calc(100% - 32px));
  margin: 10px auto 0;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  box-shadow: var(--shadow);
}

.stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border-right: 1px solid rgba(255,255,255,.07);
}

.stats div:last-child { border-right: 0; }

.stats strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 130px 0 10px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.loaders h2,
.custom-copy h2,
.download-section h2 {
  margin: 14px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.section-heading p,
.loaders-copy > p,
.custom-copy p,
.download-section p {
  color: var(--muted);
  line-height: 1.75;
}

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

.feature-card {
  position: relative;
  min-height: 255px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent),
    var(--card);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(80px);
  opacity: .10;
}

.feature-card.large {
  min-height: 400px;
  grid-row: span 2;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  font-size: 22px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.feature-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.mini-window {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(7,6,13,.72);
}

.window-top {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.window-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
}

.profile-row {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #c8c4d3;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.profile-row:last-child { border-bottom: 0; }

.profile-row.active {
  background: linear-gradient(90deg, rgba(47,125,255,.14), transparent);
  color: white;
}

.profile-row small { color: #777184; }

.cube {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.grass { background: linear-gradient(#7bcc45 0 35%, #6b432d 36%); }
.purple { background: linear-gradient(135deg, #6a35ca, #df63ff); }
.orange { background: linear-gradient(135deg, #7a3022, #e7954c); }

.loaders {
  padding-top: 150px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.loaders-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: #dad6e6;
}

.loaders-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loaders-copy li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(134,239,85,.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.loader-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.loader-stack::before {
  content: "";
  position: absolute;
  inset: 12% 5%;
  z-index: -1;
  background: #2f7dff;
  filter: blur(100px);
  opacity: .20;
}

.loader-card {
  min-height: 102px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: rgba(18,14,31,.75);
  box-shadow: 0 15px 40px rgba(0,0,0,.22);
  transform: perspective(800px) rotateY(-5deg);
}

.loader-card.featured {
  transform: perspective(800px) rotateY(-5deg) translateX(-24px);
  border-color: rgba(111,178,255,.25);
  background: linear-gradient(105deg, rgba(47,125,255,.13), rgba(18,14,31,.85));
}

.loader-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
}

.fabric-logo { background: #e5dfd2; color: #27231e; }
.forge-logo { background: rgba(225,119,58,.16); }
.neo-logo { background: linear-gradient(135deg, #6731ca, #b65dff); }

.loader-card div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.loader-card b { font-size: 16px; }
.loader-card span, .loader-card small { color: var(--muted); font-size: 12px; }
.loader-card small { color: #bff79e; }

.customization {
  padding-top: 150px;
}

.custom-panel {
  min-height: 540px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 70%, rgba(47,125,255,.18), transparent 35%),
    linear-gradient(130deg, rgba(255,255,255,.025), transparent),
    #0e0b19;
  box-shadow: var(--shadow);
}

.custom-preview {
  height: 370px;
  display: grid;
  grid-template-columns: 78px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background: #090711;
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
  box-shadow: 0 40px 70px rgba(0,0,0,.44);
}

.fake-sidebar {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: rgba(255,255,255,.035);
  border-right: 1px solid rgba(255,255,255,.07);
}

.fake-sidebar img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.fake-sidebar span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}

.fake-sidebar span.active {
  background: linear-gradient(135deg, #2f7dff, #6fb2ff);
  box-shadow: 0 8px 22px rgba(47,125,255,.3);
}

.fake-content { padding: 28px; }

.fake-header {
  width: 45%;
  height: 18px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.theme-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.theme {
  height: 140px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.09);
}

.theme-purple { background: linear-gradient(145deg, #25184b, #8d3bef); }
.theme-red { background: linear-gradient(145deg, #3a1219, #c52c4d); }
.theme-blue { background: linear-gradient(145deg, #10233f, #2776db); }

.fake-lines {
  margin-top: 25px;
  display: grid;
  gap: 11px;
}

.fake-lines i {
  height: 12px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
}

.fake-lines i:nth-child(2) { width: 76%; }
.fake-lines i:nth-child(3) { width: 58%; }

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  color: #8fc0ff;
  font-weight: 800;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span { transform: translateX(5px); }

.download-section {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  min-height: 510px;
  margin: 150px auto 80px;
  padding: 60px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111,178,255,.18);
  border-radius: 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(47,125,255,.14), transparent 70%),
    rgba(14,10,24,.9);
  box-shadow: var(--shadow);
}

.download-section img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 28px rgba(47,125,255,.42));
}

.download-section h2 {
  margin-bottom: 5px;
}

.download-section p {
  margin: 0 0 24px;
}

.download-section small {
  margin-top: 15px;
  color: #777184;
}

.download-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -260px;
  border-radius: 50%;
  background: #2f7dff;
  filter: blur(110px);
  opacity: .25;
}

footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: #777184;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}

footer > span { text-align: right; }
.footer-brand { color: white; }
.footer-brand img { width: 34px; height: 34px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 100;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(17,13,29,.94);
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
  color: white;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shine {
  0%, 25% { transform: translateX(-90%); opacity: 0; }
  42% { opacity: 1; }
  60%, 100% { transform: translateX(95%); opacity: 0; }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    text-align: center;
  }

  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-meta,
  .eyebrow {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
  }

  .loaders,
  .custom-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .loader-card.featured {
    transform: perspective(800px) rotateY(-3deg) translateX(0);
  }

  .custom-copy {
    text-align: center;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 0;
    text-align: center;
  }

  footer > span { text-align: center; }
}

@media (max-width: 720px) {
  .navbar {
    height: 66px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(10,7,18,.97);
  }

  .nav-links.open { display: flex; }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 74px);
  }

  .hero-visual {
    min-height: 400px;
  }

  .orbit-one { width: 360px; height: 240px; }
  .orbit-two { width: 400px; height: 290px; }

  .floating-badge {
    padding: 9px 11px;
    font-size: 10px;
  }

  .badge-fabric { left: 0; }
  .badge-forge { right: 0; }
  .badge-neoforge { right: 0; bottom: 12%; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stats div:nth-child(2) { border-right: 0; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    min-height: 430px;
  }

  .section {
    padding-top: 100px;
  }

  .loaders {
    gap: 45px;
  }

  .custom-panel {
    padding: 25px;
  }

  .custom-preview {
    height: 300px;
    grid-template-columns: 58px 1fr;
  }

  .fake-sidebar {
    padding: 10px;
  }

  .fake-sidebar img {
    width: 36px;
    height: 36px;
  }

  .fake-sidebar span {
    width: 28px;
    height: 28px;
  }

  .fake-content {
    padding: 18px;
  }

  .theme {
    height: 105px;
  }
}

@media (max-width: 480px) {
  .navbar,
  .hero,
  .section,
  footer {
    width: min(100% - 20px, 1180px);
  }

  .brand span { font-size: 15px; }
  .brand img { width: 36px; height: 36px; }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-visual {
    min-height: 350px;
  }

  .orbit-one { width: 310px; height: 210px; }
  .orbit-two { width: 330px; height: 245px; }

  .badge-neoforge { display: none; }

  .stats {
    padding: 22px 12px;
  }

  .section-heading h2,
  .loaders h2,
  .custom-copy h2,
  .download-section h2 {
    font-size: 38px;
  }

  .feature-card {
    padding: 22px;
  }

  .loader-card {
    grid-template-columns: 48px 1fr;
  }

  .loader-card small {
    display: none;
  }

  .loader-logo {
    width: 46px;
    height: 46px;
  }

  .custom-panel {
    padding: 20px;
  }

  .custom-preview {
    height: 245px;
    grid-template-columns: 48px 1fr;
  }

  .fake-sidebar span {
    width: 24px;
    height: 24px;
  }

  .theme-cards {
    gap: 7px;
  }

  .theme {
    height: 82px;
  }

  .download-section {
    margin-top: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Performance Improvements - Lag Reduction & HW Acceleration */
.stars, .glow, .logo-card, .floating-badge, .navbar, .reveal {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.stars {
  will-change: transform;
}

.glow {
  will-change: filter, transform;
}

.logo-card {
  will-change: transform;
}

.reveal {
  will-change: transform, opacity;
}

.navbar {
  will-change: transform, backdrop-filter;
}

/* New UI Features: Discord Buttons & Language Switcher */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  will-change: transform;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lang-icon {
  font-size: 14px;
}

.discord-svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.discord-hero-btn {
  background: rgba(88, 101, 242, 0.15) !important;
  border: 1px solid rgba(88, 101, 242, 0.45) !important;
  color: #5865f2 !important;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.discord-hero-btn:hover {
  background: rgba(88, 101, 242, 0.3) !important;
  border-color: rgba(88, 101, 242, 0.7) !important;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  color: white !important;
}

.nav-discord {
  color: #5865f2 !important;
  font-weight: 700;
}

.nav-discord:hover {
  color: white !important;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.discord-dl-btn {
  background: rgba(88, 101, 242, 0.2) !important;
  border: 1px solid rgba(88, 101, 242, 0.5) !important;
  color: #5865f2 !important;
}

.discord-dl-btn:hover {
  background: #5865f2 !important;
  color: white !important;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.45);
}

@media (max-width: 768px) {
  .dl-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .dl-actions .button {
    width: 100%;
    max-width: 320px;
  }
}
\n\n.quilt { background: #69d8c7; }\n.badge-quilt { bottom: 28%; left: 1%; animation: badgeFloat 4.8s ease-in-out .4s infinite; }\n.quilt-logo { background: linear-gradient(135deg, #185f62, #64d8c2); color: #ecfffb; }\n.open-source { padding-top: 150px; }\n.source-panel {\n  padding: 52px;\n  display: grid;\n  grid-template-columns: 1fr .9fr;\n  align-items: center;\n  gap: 70px;\n  border: 1px solid var(--card-border);\n  border-radius: 32px;\n  background: radial-gradient(circle at 82% 20%, rgba(76,132,255,.15), transparent 30%), rgba(14,10,24,.88);\n  box-shadow: var(--shadow);\n}\n.source-copy h2 { margin: 14px 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(38px,5vw,58px); line-height: 1.02; letter-spacing: -.05em; }\n.source-copy p { color: var(--muted); line-height: 1.75; }\n.source-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }\n.code-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: #08070e; box-shadow: 0 30px 70px rgba(0,0,0,.42); transform: rotate(1.5deg); }\n.code-top { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.07); color: #716b7e; font-size: 11px; }\n.code-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }\n.code-top b { margin-left: auto; font-weight: 600; }\n.code-card pre { margin: 0; padding: 34px; overflow-x: auto; color: #e8e3f3; font: 500 14px/2 "Consolas", monospace; }\n.code-card i { color: var(--green); font-style: normal; }\n.code-card code span { color: #686271; }\n.install-section { padding-top: 120px; }\n.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }\n.steps-grid article { padding: 28px; min-height: 210px; border: 1px solid var(--card-border); border-radius: 22px; background: var(--card); }\n.steps-grid strong { color: #8fc0ff; font-family: "Space Grotesk", sans-serif; font-size: 14px; letter-spacing: .12em; }\n.steps-grid h3 { margin: 28px 0 10px; font-size: 22px; }\n.steps-grid p { color: var(--muted); line-height: 1.65; font-size: 14px; }\n.steps-grid code { color: #8fc0ff; }\n@media (max-width: 920px) { .source-panel { grid-template-columns: 1fr; gap: 45px; } }\n@media (max-width: 720px) { .steps-grid { grid-template-columns: 1fr; } .source-panel { padding: 28px; } .badge-quilt { display: none; } }\n@media (max-width: 480px) { .source-actions { flex-direction: column; } .source-actions .button { width: 100%; } }\n
/* ---------- preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(47,125,255,.10), transparent 60%), #05070f;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader {
  flex-direction: column;
  gap: 22px;
}

.loader-spin {
  --uib-size: 64px;
  --uib-color: var(--purple-light);
  --uib-speed: 2.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: var(--uib-size);
  width: var(--uib-size);
  filter: drop-shadow(0 0 12px rgba(47,125,255,.45));
}

.loader-pct {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--purple-light);
  font-variant-numeric: tabular-nums;
}

.loader-spin .slice { position: relative; height: calc(var(--uib-size) / 6); width: 100%; }
.loader-spin .slice::before, .loader-spin .slice::after {
  --uib-a: calc(var(--uib-speed) / -2);
  --uib-b: calc(var(--uib-speed) / -6);
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - var(--uib-size) / 12);
  height: 100%;
  width: calc(100% / 6);
  border-radius: 50%;
  background: var(--uib-color);
  animation: loader-orbit var(--uib-speed) linear infinite;
}
.loader-spin .slice:nth-child(1)::after { animation-delay: var(--uib-a); }
.loader-spin .slice:nth-child(2)::before { animation-delay: var(--uib-b); }
.loader-spin .slice:nth-child(2)::after { animation-delay: calc(var(--uib-a) + var(--uib-b)); }
.loader-spin .slice:nth-child(3)::before { animation-delay: calc(var(--uib-b) * 2); }
.loader-spin .slice:nth-child(3)::after { animation-delay: calc(var(--uib-a) + var(--uib-b) * 2); }
.loader-spin .slice:nth-child(4)::before { animation-delay: calc(var(--uib-b) * 3); }
.loader-spin .slice:nth-child(4)::after { animation-delay: calc(var(--uib-a) + var(--uib-b) * 3); }
.loader-spin .slice:nth-child(5)::before { animation-delay: calc(var(--uib-b) * 4); }
.loader-spin .slice:nth-child(5)::after { animation-delay: calc(var(--uib-a) + var(--uib-b) * 4); }
.loader-spin .slice:nth-child(6)::before { animation-delay: calc(var(--uib-b) * 5); }
.loader-spin .slice:nth-child(6)::after { animation-delay: calc(var(--uib-a) + var(--uib-b) * 5); }

@keyframes loader-orbit {
  0% { transform: translateX(calc(var(--uib-size) * .25)) scale(.73684); opacity: .65; }
  5% { transform: translateX(calc(var(--uib-size) * .235)) scale(.684208); opacity: .58; }
  10% { transform: translateX(calc(var(--uib-size) * .182)) scale(.631576); opacity: .51; }
  15% { transform: translateX(calc(var(--uib-size) * .129)) scale(.578944); opacity: .44; }
  20% { transform: translateX(calc(var(--uib-size) * .076)) scale(.526312); opacity: .37; }
  25% { transform: translateX(0) scale(.47368); opacity: .3; }
  30% { transform: translateX(calc(var(--uib-size) * -.076)) scale(.526312); opacity: .37; }
  35% { transform: translateX(calc(var(--uib-size) * -.129)) scale(.578944); opacity: .44; }
  40% { transform: translateX(calc(var(--uib-size) * -.182)) scale(.631576); opacity: .51; }
  45% { transform: translateX(calc(var(--uib-size) * -.235)) scale(.684208); opacity: .58; }
  50% { transform: translateX(calc(var(--uib-size) * -.25)) scale(.73684); opacity: .65; }
  55% { transform: translateX(calc(var(--uib-size) * -.235)) scale(.789472); opacity: .72; }
  60% { transform: translateX(calc(var(--uib-size) * -.182)) scale(.842104); opacity: .79; }
  65% { transform: translateX(calc(var(--uib-size) * -.129)) scale(.894736); opacity: .86; }
  70% { transform: translateX(calc(var(--uib-size) * -.076)) scale(.947368); opacity: .93; }
  75% { transform: translateX(0) scale(1); opacity: 1; }
  80% { transform: translateX(calc(var(--uib-size) * .076)) scale(.947368); opacity: .93; }
  85% { transform: translateX(calc(var(--uib-size) * .129)) scale(.894736); opacity: .86; }
  90% { transform: translateX(calc(var(--uib-size) * .182)) scale(.842104); opacity: .79; }
  95% { transform: translateX(calc(var(--uib-size) * .235)) scale(.789472); opacity: .72; }
  100% { transform: translateX(calc(var(--uib-size) * .25)) scale(.73684); opacity: .65; }
}

/* ---------- custom cursor ---------- */
body { cursor: none; }
a, button, .button, input, label { cursor: none; }

.cursor-dot, .cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s ease;
  will-change: transform;
  z-index: 10001;
}

.cursor-dot.is-visible, .cursor-label.is-visible { opacity: 1; }

.cursor-dot {
  width: 27px;
  height: 27px;
  transform-origin: 0 0;
  color: var(--purple-light);
}

.cursor-dot svg { width: 100%; height: 100%; }

.cursor-label {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: #04070f;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(47,125,255,.35);
  transform-origin: 0 50%;
}

@media (pointer: coarse) {
  body, a, button, .button, input, label { cursor: auto; }
  .cursor-dot, .cursor-label { display: none; }
}
