:root {
  --bg: #030303;
  --panel: rgba(12, 12, 14, 0.78);
  --panel-strong: rgba(18, 18, 20, 0.92);
  --line: rgba(212, 175, 55, 0.2);
  --gold: #d4af37;
  --gold-soft: #f0d56a;
  --text: #f4f4f4;
  --muted: rgba(255, 255, 255, 0.68);
  --green: #4caf50;
  --earth: #8b6f47;
  --danger: #d94848;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  background: #020202;
  scrollbar-width: none;
}

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-height: 100vh;
  color: var(--text);
  background-color: #020202;
  background:
    radial-gradient(circle at 50% -8%, rgba(212, 175, 55, 0.24), transparent 30%),
    radial-gradient(circle at 10% 24%, rgba(212, 175, 55, 0.14), transparent 30%),
    radial-gradient(circle at 92% 48%, rgba(212, 175, 55, 0.1), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(76, 175, 80, 0.075), transparent 30%),
    linear-gradient(180deg, #020202 0%, #0a0905 30%, #050505 58%, #090805 82%, #020202 100%);
  font-family: "Cairo", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.cursor {
  width: 28px;
  height: 28px;
  position: fixed;
  z-index: 999999;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  position: fixed;
  z-index: 999999;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-ripple {
  width: 20px;
  height: 20px;
  position: fixed;
  z-index: 999998;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: networkCursorRipple 0.6s ease-out forwards;
}

@keyframes networkCursorRipple {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }
}

a {
  color: inherit;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-content {
  text-align: center;
}

.loader-content h1 {
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 3px;
}

.loading-bar {
  width: 200px;
  height: 3px;
  overflow: hidden;
  border-radius: 5px;
  background: #222;
}

.loading-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  animation: loadingMove 1.5s ease-in-out infinite;
}

@keyframes loadingMove {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kayan-home-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 180;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  background: rgba(7, 7, 8, 0.78);
  color: var(--gold);
  text-decoration: none;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.kayan-home-float:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--gold);
  color: #050505;
}

.kayan-home-float i {
  font-size: 15px;
}

.kayan-home-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.kayan-home-float::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  bottom: 56px;
  padding: 7px 10px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kayan-home-float:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .kayan-home-float {
    left: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }
}

.network-page {
  background-color: #020202;
  background:
    radial-gradient(circle at 50% -8%, rgba(212, 175, 55, 0.18), transparent 30%),
    radial-gradient(circle at 12% 28%, rgba(212, 175, 55, 0.11), transparent 32%),
    radial-gradient(circle at 88% 62%, rgba(76, 175, 80, 0.055), transparent 32%),
    linear-gradient(180deg, #020202 0%, #080704 34%, #040404 68%, #020202 100%);
  position: relative;
  isolation: isolate;
}

.network-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -20;
  pointer-events: none;
  background:
    linear-gradient(rgba(2, 2, 2, 0.46), rgba(2, 2, 2, 0.6)),
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.035) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px),
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.1), transparent 42%);
}

.network-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -19;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(212, 175, 55, 0.055) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 70% 22%, rgba(240, 213, 106, 0.1), transparent 26%);
  opacity: 0.34;
}

.network-shell {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.network-nav {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.network-nav-inner {
  width: min(100% - 40px, 1200px);
  min-height: 68px;
  margin-inline: auto;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.network-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.network-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
}

.network-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.network-links a,
.network-links span {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.network-links a:hover,
.network-links a.active {
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.network-hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px 0 72px;
}

.network-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.94)),
    url("images/kayan-network-header.png") center center / min(58vw, 760px) auto no-repeat;
  opacity: 0.86;
}

.network-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 90px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(3, 3, 3, 0.42) 82%, transparent 100%);
}

.network-hero-content {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.eyebrow {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.48);
  font-weight: 900;
}

.network-hero h1,
.project-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.98;
  font-weight: 900;
}

.network-hero p,
.project-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.network-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.network-btn {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.035);
  will-change: transform;
}

.network-btn.gold {
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.network-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.64);
}

.network-section {
  padding: 96px 0;
  position: relative;
}

.network-section::before {
  content: none;
}

.section-head {
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}

.section-head span {
  color: var(--gold);
  font-weight: 900;
}

.section-head h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
}

.section-head p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.section-head.wide p {
  max-width: 960px;
}

.network-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: stretch;
  gap: 18px;
}

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

.about-project-card {
  min-height: 280px;
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.about-project-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(6px);
}

.about-project-card > * {
  position: relative;
  z-index: 1;
}

.about-card-icon,
.platform-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.18);
}

.about-project-card h3 {
  color: #fff;
  font-size: 26px;
}

.about-project-card p {
  color: var(--muted);
  line-height: 1.8;
}

.network-metrics {
  display: grid;
  gap: 12px;
}

.network-metrics div,
.join-panel {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent 38%),
    var(--panel-strong);
}

.network-metrics div {
  min-height: 118px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 7px;
}

.network-metrics strong {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
}

.network-metrics span {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
}

.project-list {
  display: grid;
  gap: 7px;
  padding-inline-start: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 800;
}

.join-panel {
  min-height: 360px;
  padding: clamp(28px, 6vw, 56px);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.join-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.2), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.14), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 90px);
}

.join-panel > * {
  position: relative;
  z-index: 1;
}

.join-panel h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.15;
}

.join-panel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

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

.worlds-grid {
  gap: 22px;
}

.project-card {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.92) 78%),
    var(--project-art),
    linear-gradient(180deg, #080808, #020202);
  background-size:
    100% 100%,
    var(--project-art-size, contain),
    100% 100%;
  background-position:
    center,
    var(--project-art-position, center 18%),
    center;
  background-repeat: no-repeat;
  opacity: 0.94;
  transition: 0.28s ease;
}

.project-card:hover::before {
  transform: none;
}

.project-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
}

.project-card h3 {
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}

.project-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.project-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card .tag-row span,
.status-chip {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.42);
  font-size: 12px;
  font-weight: 900;
}

.cfw-art {
  --project-art: url("images/about.png");
  --project-art-size: min(66%, 340px) auto;
  --project-art-position: center 9%;
}

.mc-art {
  --project-art: url("images/kayan-mc-no-bg.png");
  --project-art-size: min(72%, 380px) auto;
  --project-art-position: center 10%;
}

.bg-art {
  --project-art: url("images/about.png");
  --project-art-size: min(66%, 340px) auto;
  --project-art-position: center 9%;
}

.network-btn.large {
  min-height: 62px;
  padding: 0 28px;
  font-size: 17px;
}

.worlds-section {
  padding: 120px 0 110px;
  overflow: hidden;
}

.ecosystem-line {
  margin: 8px auto 36px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.ecosystem-line strong {
  color: #fff;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
}

.ecosystem-line span {
  width: min(520px, 70vw);
  height: 2px;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.95), transparent);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}

.ecosystem-line p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
}

.worlds-orbit {
  min-height: 660px;
  position: relative;
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.22fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 22px;
  padding: 46px 0;
  isolation: isolate;
}

.worlds-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  border-radius: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.045) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 70px),
    radial-gradient(circle at 50% 46%, rgba(212, 175, 55, 0.18), transparent 32%);
  opacity: 0.86;
}

.worlds-orbit::after {
  content: "";
  position: absolute;
  inset: 50% 8% auto;
  z-index: -2;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.78), transparent);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.36);
}

.worlds-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.worlds-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.78);
  animation: worldParticleFloat 6s ease-in-out infinite;
  opacity: 0.62;
  will-change: transform, opacity;
}

.worlds-particles span:nth-child(1) { inset: 18% auto auto 11%; animation-delay: 0s; }
.worlds-particles span:nth-child(2) { inset: 28% 22% auto auto; animation-delay: 1.1s; }
.worlds-particles span:nth-child(3) { inset: auto auto 24% 28%; animation-delay: 2.2s; }
.worlds-particles span:nth-child(4) { inset: auto 14% 30% auto; animation-delay: 0.7s; }
.worlds-particles span:nth-child(5) { inset: 12% auto auto 52%; animation-delay: 1.8s; }
.worlds-particles span:nth-child(6) { inset: auto auto 14% 54%; animation-delay: 3s; }

@keyframes worldParticleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.38;
  }
  50% {
    transform: translateY(-18px) scale(1.45);
    opacity: 0.9;
  }
}

.world-card {
  min-height: 540px;
  direction: rtl;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 28px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  background: rgba(7, 7, 8, 0.82);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.world-card.featured-world {
  min-height: 650px;
  transform: translateY(-22px);
  border-color: rgba(212, 175, 55, 0.44);
  box-shadow: 0 34px 120px rgba(212, 175, 55, 0.16), 0 30px 90px rgba(0, 0, 0, 0.52);
}

.world-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.9) 84%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(8, 8, 9, 0.92));
  transform: scale(1.02);
  filter: saturate(0.85) brightness(0.78);
  transition: transform 0.35s ease, filter 0.35s ease;
  will-change: transform;
}

.worlds-orbit.is-visible .world-card-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.9) 84%),
    var(--world-bg) center / cover no-repeat;
}

.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  opacity: 0.42;
  transition: opacity 0.28s ease;
}

.world-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
}

.world-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.world-card .tag-row span {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.44);
  font-size: 12px;
  font-weight: 900;
}

.world-card h3 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.world-card:not(.featured-world) h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.world-card p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.world-entry {
  width: fit-content;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.featured-world .world-entry {
  opacity: 1;
  transform: translateY(0);
}

.world-card:hover {
  transform: translateY(-14px) scale(1.035);
  border-color: rgba(212, 175, 55, 0.6);
}

.world-card.featured-world:hover {
  transform: translateY(-30px) scale(1.035);
}

.world-card:hover .world-card-bg {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(0.96);
}

.world-card:hover::after {
  opacity: 0.18;
}

.world-card:hover .world-entry {
  opacity: 1;
  transform: translateY(0);
}

.worlds-orbit:has(.world-card:hover) .world-card:not(:hover) {
  filter: brightness(0.56) saturate(0.72);
  opacity: 0.72;
}

.world-battleground-card {
  --world-bg: url("images/world-battleground-arena.png");
}

.world-cfw-card {
  --world-bg: url("images/world-cfw-skyline.png");
}

.world-mc-card {
  --world-bg: url("images/world-mc-cinematic.png");
}

.coming-overlay {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 10px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ecosystem-action {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.journey-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 34px;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  inset: 14px 8% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.9), transparent);
}

.journey-step {
  min-height: 270px;
  padding: 28px 22px 24px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 9, 0.8);
}

.journey-step::before {
  content: "";
  position: absolute;
  inset: -30px 24px auto auto;
  width: 18px;
  height: 18px;
  border: 3px solid #050505;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.12), 0 0 24px rgba(212, 175, 55, 0.44);
}

.journey-step span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.journey-step h3 {
  color: #fff;
  font-size: 24px;
}

.journey-step p {
  color: var(--muted);
  line-height: 1.8;
}

.community-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: transparent;
}

.community-section::after {
  content: none;
}

.community-head {
  max-width: 980px;
}

.community-head h2 {
  font-size: clamp(42px, 7vw, 82px);
}

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

.community-link-card {
  min-height: 270px;
  grid-column: span 2;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 13px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(212, 175, 55, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 9, 0.86);
}

.community-link-card.discord-card {
  min-height: 320px;
  grid-column: span 3;
}

.community-link-card h3 {
  color: #fff;
  font-size: 25px;
}

.community-link-card p {
  color: var(--muted);
  line-height: 1.8;
}

.community-link-card .network-btn {
  width: fit-content;
  align-self: end;
}

.network-footer {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  color: rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 12% 0%, rgba(212,175,55,.12), transparent 30%),
    linear-gradient(180deg, #070707, #020202);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.network-footer .network-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.network-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.network-footer-links a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  transition: 0.25s ease;
}

.network-footer-links a i {
  color: var(--gold);
}

.network-footer-links a:hover {
  color: #050505;
  border-color: rgba(212, 175, 55, 0.64);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  transform: translateY(-2px);
}

.network-footer-links a:hover i {
  color: #050505;
}

.project-hero {
  min-height: 84svh;
  padding: 150px 0 70px;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-bg);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), #030303 100%);
}

.mc-page {
  --hero-bg:
    linear-gradient(180deg, rgba(5, 8, 5, 0.12), #030303),
    repeating-linear-gradient(0deg, rgba(84, 54, 26, 0.95) 0 42px, rgba(108, 77, 39, 0.95) 42px 84px),
    repeating-linear-gradient(90deg, rgba(68, 155, 70, 0.95) 0 72px, rgba(54, 126, 59, 0.95) 72px 144px);
}

.battleground-page {
  --hero-bg:
    radial-gradient(circle at 50% 30%, rgba(217, 72, 72, 0.2), transparent 34%),
    linear-gradient(135deg, #17181c, #030303 70%);
}

.mc-page .network-brand-mark {
  border-color: rgba(76, 175, 80, 0.5);
  color: var(--green);
}

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

.info-card {
  min-height: 220px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)), var(--panel);
}

.info-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.mc-page .info-card i {
  background: linear-gradient(135deg, var(--green), #a5d66f);
}

.info-card h3 {
  color: #fff;
  font-size: 22px;
}

.info-card p,
.info-card li {
  color: var(--muted);
  line-height: 1.75;
}

.info-card ul {
  padding-inline-start: 18px;
}

.store-panel,
.discord-panel,
.soon-panel {
  padding: 30px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent 38%),
    var(--panel-strong);
}

.soon-panel {
  min-height: 380px;
  place-items: center;
  text-align: center;
}

.soon-panel h1 {
  color: var(--gold);
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
}

.soon-panel h2 {
  color: #fff;
  font-size: clamp(26px, 5vw, 54px);
}

.disabled-nav {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.35);
}

@media (max-width: 980px) {
  .project-grid,
  .about-project-grid,
  .mc-feature-grid,
  .mc-update-grid,
  .community-grid,
  .journey-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .journey-timeline::before {
    display: none;
  }

  .journey-step::before {
    inset: 18px 18px auto auto;
  }

  .community-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-link-card,
  .community-link-card.discord-card {
    grid-column: span 1;
  }

  .worlds-orbit {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .worlds-orbit::after {
    inset: 0 auto 0 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.56), transparent);
  }

  .world-card,
  .world-card.featured-world {
    min-height: 500px;
    transform: none;
  }

  .world-card:hover,
  .world-card.featured-world:hover {
    transform: translateY(-8px) scale(1.015);
  }

  .world-cfw-card {
    order: 1;
  }

  .world-mc-card {
    order: 2;
  }

  .world-battleground-card {
    order: 3;
  }

  .network-about-grid {
    grid-template-columns: 1fr;
  }

  .network-nav-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .network-links {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .network-links::-webkit-scrollbar {
    display: none;
  }

  .network-links a,
  .network-links span {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  body,
  body *,
  body *::before,
  body *::after {
    cursor: auto !important;
  }

  .cursor,
  .cursor-dot,
  .cursor-ripple {
    display: none !important;
  }

  .network-shell,
  .network-hero-content,
  .network-nav-inner {
    width: min(100% - 28px, 1200px);
  }

  .network-hero,
  .project-hero {
    padding-top: 158px;
  }

  .network-hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.92) 62%, #030303 100%),
      url("images/kayan-network-header.png") center 118px / min(92vw, 430px) auto no-repeat;
    opacity: 0.78;
  }

  .project-grid,
  .about-project-grid,
  .mc-feature-grid,
  .mc-update-grid,
  .community-grid,
  .journey-timeline,
  .community-link-grid {
    grid-template-columns: 1fr;
  }

  .community-section {
    padding: 84px 0;
  }

  .community-link-card,
  .community-link-card.discord-card {
    min-height: 250px;
  }

  .worlds-section {
    padding: 86px 0;
  }

  .world-card,
  .world-card.featured-world {
    min-height: 470px;
    padding: 22px;
  }

  .world-entry {
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .ecosystem-line p {
    max-width: 270px;
    line-height: 1.7;
  }

  .project-card {
    min-height: 520px;
  }

  .network-actions,
  .project-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .network-footer .network-shell {
    display: grid;
  }
}
