:root {
  --bg: #12091f;
  --bg-soft: #1a1031;
  --bg-card: rgba(34, 20, 58, 0.92);
  --bg-card-2: rgba(48, 28, 78, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #bfaed8;
  --blue: #8b5cf6;
  --blue-2: #c084fc;
  --green: #d946ef;
  --gold: #d8b4fe;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, 0.24), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(217, 70, 239, 0.14), transparent 30%),
    linear-gradient(180deg, #10081d 0%, #170d2b 35%, #12091f 100%);
  background-size: 130% 130%;
  color: var(--text);
  overflow-x: hidden;
  animation: bodyGlow 12s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), black 20%, black 75%, rgba(0,0,0,0.15));
  animation: gridDrift 28s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(216,180,254,0.85) 1px, transparent 1.5px);
  background-size: 150px 150px, 220px 220px;
  background-position: 0 0, 60px 80px;
  animation: starsMove 40s linear infinite;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 20%);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.16), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  transition: 0.12s ease-out;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(17, 10, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: navDrop 0.8s ease both;
}

.nav-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 0 18px rgba(192, 132, 252, 0.26));
}

.brand img,
.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  animation: logoFloat 4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: #e7ddff;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn,
.mobile-login {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: 0.25s ease;
}

.login-btn:hover,
.mobile-login:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.18);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 20px 20px;
  background: rgba(20, 10, 36, 0.96);
  border-top: 1px solid rgba(255,255,255,0.05);
  animation: fadeDown 0.26s ease both;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 0;
  color: #d9e4f4;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(14, 7, 24, 0.90) 0%, rgba(18, 10, 32, 0.76) 44%, rgba(25, 13, 42, 0.62) 100%),
    url("background.png") center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 90deg at 52% 50%, transparent, rgba(139,92,246,0.18), transparent, rgba(217,70,239,0.12), transparent);
  animation: slowSpin 18s linear infinite;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(168, 85, 247, 0.20), transparent 35%),
    radial-gradient(circle at right top, rgba(236, 72, 153, 0.12), transparent 30%),
    linear-gradient(to bottom, transparent 72%, #12091f 100%);
  pointer-events: none;
  animation: overlayPulse 8s ease-in-out infinite alternate;
}

.hero-particles span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: rgba(192, 132, 252, 0.38);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.58);
  animation: particleFloat 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 12%; top: 24%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 48%; top: 18%; animation-delay: 1.5s; background: rgba(217,70,239,0.34); }
.hero-particles span:nth-child(3) { left: 76%; top: 28%; animation-delay: 2.2s; }
.hero-particles span:nth-child(4) { left: 64%; top: 70%; animation-delay: 0.8s; background: rgba(216,180,254,0.38); }
.hero-particles span:nth-child(5) { left: 22%; top: 72%; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 88%; top: 62%; animation-delay: 4s; background: rgba(217,70,239,0.34); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: #efe7ff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  animation: pillPulse 3.5s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
}

.hero h1 span {
  color: #ffffff;
  text-shadow: 0 0 42px rgba(192, 132, 252, 0.32);
  background: linear-gradient(90deg, #ffffff, #e9d5ff, #ffffff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 5s ease-in-out infinite;
}

.hero p {
  margin-top: 24px;
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: #eadcff;
  font-weight: 600;
  animation: softFloat 4s ease-in-out infinite;
}

.hero-pill strong {
  color: white;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary,
.btn-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: 0.25s ease;
  overflow: hidden;
}

.btn-primary::before,
.game-content a::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before,
.game-content a:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.btn-primary {
  min-width: 190px;
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.30);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px rgba(168, 85, 247, 0.40);
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 400px;
}

.server-orbit {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: softFloat 5s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 50px rgba(192,132,252,0.12), 0 0 45px rgba(139,92,246,0.20);
}

.ring-one {
  animation: slowSpin 16s linear infinite;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(192,132,252,0.26), transparent 38% 100%);
}

.ring-two {
  inset: 44px;
  animation: slowSpinReverse 12s linear infinite;
  background: conic-gradient(from 160deg, transparent 0 25%, rgba(217,70,239,0.24), transparent 42% 100%);
}

.orbit-core {
  width: 145px;
  height: 145px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32), 0 0 60px rgba(192,132,252,0.24);
  animation: coreGlow 4s ease-in-out infinite alternate;
}

.orbit-core img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.orbit-node {
  position: absolute;
  min-width: 70px;
  height: 40px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  font-size: 13px;
  background: rgba(22, 11, 39, 0.88);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.node-one { top: 42px; right: 54px; animation: nodeBounce 3.2s ease-in-out infinite; }
.node-two { left: 18px; bottom: 112px; animation: nodeBounce 3.6s ease-in-out infinite 0.4s; }
.node-three { right: 28px; bottom: 70px; animation: nodeBounce 3.8s ease-in-out infinite 0.8s; }

.feature-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(22, 11, 39, 0.90);
  backdrop-filter: blur(12px);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: #ede3ff;
  font-weight: 700;
}

.strip-grid div {
  transition: transform 0.25s ease, color 0.25s ease;
}

.strip-grid div:hover {
  transform: translateY(-4px);
  color: white;
}

.section {
  padding: 100px 0;
}

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

.eyebrow {
  display: inline-block;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}

.eyebrow.green {
  color: #f0abfc;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.minecraft-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.game-card {
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  opacity: 0;
  background: linear-gradient(120deg, transparent, rgba(192,132,252,0.24), transparent);
  animation: cardSweep 6s ease-in-out infinite;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(192,132,252,0.30);
  box-shadow: 0 34px 80px rgba(0,0,0,0.42), 0 0 42px rgba(124,58,237,0.18);
}

.minecraft {
  background:
    linear-gradient(to top, rgba(6,10,18,0.88), rgba(6,10,18,0.08)),
    url("minecraft.png") center/cover no-repeat;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(217,70,239,0.16), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(139,92,246,0.20), transparent 28%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.game-content h3 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
}

.game-content p {
  margin-top: 10px;
  max-width: 560px;
  color: #d8c8f0;
  font-size: 16px;
  line-height: 1.6;
}

.game-content a {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease;
}

.game-content a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
}

.minecraft-mini-grid {
  display: grid;
  gap: 24px;
}

.mini-card {
  position: relative;
  min-height: 130px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(34,20,58,0.92), rgba(48,28,78,0.88));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.mini-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  top: -48px;
  border-radius: 32px;
  background: rgba(192,132,252,0.16);
  transform: rotate(24deg);
  transition: transform 0.35s ease;
}

.mini-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217,70,239,0.26);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.mini-card:hover::before {
  transform: rotate(45deg) scale(1.18);
}

.mini-card span,
.mini-card h3,
.mini-card p {
  position: relative;
  z-index: 2;
}

.mini-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
}

.mini-card h3 {
  font-size: 20px;
  font-weight: 900;
}

.mini-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.features-showcase {
  position: relative;
  padding: 125px 0 95px;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 180, 254, 0.16), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(168, 85, 247, 0.14), transparent 30%),
    linear-gradient(180deg, #130b1f 0%, #1a1028 48%, #10081d 100%);
  overflow: hidden;
}

.features-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 82%, transparent);
  pointer-events: none;
  animation: gridDrift 24s linear infinite reverse;
}

.features-showcase::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  top: 80px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(216, 180, 254, 0.035),
    0 0 0 160px rgba(255, 255, 255, 0.012);
  pointer-events: none;
  animation: slowSpin 30s linear infinite;
}

.features-blur {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.features-blur-one {
  width: 300px;
  height: 300px;
  left: 8%;
  bottom: 18%;
  background: rgba(216, 180, 254, 0.18);
  animation: blurFloat 9s ease-in-out infinite;
}

.features-blur-two {
  width: 320px;
  height: 320px;
  right: 15%;
  top: 20%;
  background: rgba(168, 85, 247, 0.16);
  animation: blurFloat 11s ease-in-out infinite reverse;
}

.features-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 70px;
  align-items: center;
}

.features-copy {
  max-width: 590px;
}

.features-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(216, 180, 254, 0.14);
  border: 1px solid rgba(216, 180, 254, 0.20);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.features-copy h2 {
  color: var(--gold);
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 700;
}

.features-copy p {
  max-width: 510px;
  margin-top: 26px;
  color: #c4bdd1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.features-note {
  width: fit-content;
  margin-top: 32px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d6d9df;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-note span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(217, 70, 239, 0.14);
  animation: statusPing 1.8s ease-out infinite;
}

.features-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-tile {
  position: relative;
  min-height: 205px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(42, 42, 42, 0.94), rgba(28, 29, 33, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 80% 10%, rgba(216, 180, 254, 0.14), transparent 35%),
    radial-gradient(circle at 12% 85%, rgba(139, 92, 246, 0.12), transparent 32%);
  opacity: 0;
  transition: 0.28s ease;
}

.feature-tile::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -60px;
  bottom: -60px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.025);
  transform: rotate(18deg);
  transition: transform 0.35s ease;
}

.feature-tile:hover {
  transform: translateY(-7px) rotateX(1deg);
  border-color: rgba(216, 180, 254, 0.24);
  background:
    linear-gradient(145deg, rgba(50, 50, 50, 0.98), rgba(31, 33, 38, 0.98));
}

.feature-tile:hover::before {
  opacity: 1;
}

.feature-tile:hover::after {
  transform: rotate(42deg) scale(1.12);
}

.tile-large {
  min-height: 245px;
  transform: translateY(-22px);
}

.tile-large:hover {
  transform: translateY(-29px) rotateX(1deg);
}

.tile-wide {
  grid-column: span 2;
  min-height: 170px;
}

.tile-mark {
  position: absolute;
  right: 26px;
  top: 22px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
}

.tile-icon {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(216, 180, 254, 0.16);
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(216, 180, 254, 0.12);
  animation: iconWiggle 4.5s ease-in-out infinite;
}

.feature-tile h3 {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.feature-tile p {
  position: relative;
  z-index: 2;
  margin-top: 13px;
  max-width: 420px;
  color: #cbc0dd;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.included-panel {
  position: relative;
  z-index: 2;
  margin-top: 82px;
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(24, 14, 41, 0.88), rgba(18, 10, 31, 0.90));
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: center;
}

.included-left span,
.included-left strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.included-left span {
  color: #ffffff;
}

.included-left strong {
  color: var(--gold);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 24px 34px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 13px;
  transition: transform 0.24s ease;
}

.included-item:hover {
  transform: translateY(-4px);
}

.included-item span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(216, 180, 254, 0.18);
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.included-item p {
  color: #eef1f6;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.cta-section {
  padding: 90px 0 110px;
}

.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at left center, rgba(139,92,246,0.18), transparent 32%),
    linear-gradient(180deg, rgba(30, 16, 52, 0.98), rgba(23, 12, 40, 0.98));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(192,132,252,0.18), transparent, rgba(217,70,239,0.14), transparent);
  transform: translateX(-100%);
  animation: ctaSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-left,
.cta-right {
  position: relative;
  z-index: 2;
}

.cta-left h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

.cta-left p {
  margin-top: 14px;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.btn-primary.large {
  min-width: 200px;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  background: #0d0717;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0 40px;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}

.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 70px;
}

.footer-links h4 {
  margin-bottom: 18px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #d9ccf2;
  font-size: 15px;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 18px 0;
  text-align: center;
  color: #b9a6d8;
  font-size: 14px;
}

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

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

@keyframes bodyGlow {
  from { background-position: 0% 0%; }
  to { background-position: 100% 40%; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 144px 72px, 72px 144px; }
}

@keyframes starsMove {
  from { background-position: 0 0, 60px 80px; }
  to { background-position: 150px 300px, 280px 440px; }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes slowSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes overlayPulse {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.28; }
  45% { opacity: 0.9; }
  50% { transform: translateY(-34px) translateX(18px) rotate(180deg); }
}

@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(139,92,246,0); }
  50% { box-shadow: 0 0 30px rgba(139,92,246,0.20); }
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes coreGlow {
  from { box-shadow: 0 24px 70px rgba(0,0,0,0.32), 0 0 50px rgba(192,132,252,0.22); }
  to { box-shadow: 0 30px 85px rgba(0,0,0,0.38), 0 0 85px rgba(217,70,239,0.22); }
}

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

@keyframes cardSweep {
  0%, 70%, 100% { opacity: 0; transform: translateX(-80%); }
  78% { opacity: 1; }
  92% { opacity: 0; transform: translateX(80%); }
}

@keyframes blurFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(22px, -24px, 0) scale(1.08); }
}

@keyframes statusPing {
  0% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.30); }
  100% { box-shadow: 0 0 0 13px rgba(217, 70, 239, 0); }
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.04); }
}

@keyframes ctaSweep {
  0%, 55%, 100% { transform: translateX(-100%); }
  75% { transform: translateX(100%); }
}

@media (max-width: 1050px) {
  .hero-content,
  .minecraft-showcase,
  .features-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-art {
    min-height: 320px;
  }

  .features-copy {
    max-width: 760px;
  }

  .tile-large {
    transform: none;
  }

  .tile-large:hover {
    transform: translateY(-7px);
  }

  .included-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 90px 0 80px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .features-showcase {
    padding: 90px 0 70px;
  }

  .features-copy h2 {
    font-size: 42px;
    letter-spacing: -1.7px;
  }

  .features-copy p {
    font-size: 16px;
  }

  .features-stack {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: span 1;
  }

  .feature-tile {
    min-height: auto;
    padding: 26px;
  }

  .included-panel {
    padding: 24px;
  }

  .included-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .included-item p {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

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

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

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 80px 0;
  }

  .game-card {
    min-height: 360px;
  }

  .server-orbit {
    width: min(300px, 84vw);
  }

  .orbit-core {
    width: 118px;
    height: 118px;
  }

  .orbit-core img {
    width: 76px;
    height: 76px;
  }

  .footer-links {
    flex-direction: column;
  }
}

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

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


/* Purple theme finishing touches */
.hero {
  background:
    linear-gradient(90deg, rgba(10, 4, 24, 0.92) 0%, rgba(32, 12, 66, 0.78) 42%, rgba(60, 25, 110, 0.48) 100%),
    url("background.png") center/cover no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 28%, rgba(124, 58, 237, 0.28), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(216, 180, 254, 0.18), transparent 32%),
    linear-gradient(to bottom, rgba(15, 7, 32, 0.04) 0%, rgba(15, 7, 32, 0.34) 68%, #0f0720 100%);
}

.navbar,
.mobile-menu {
  background: rgba(15, 7, 32, 0.78);
}

.btn-primary {
  background: linear-gradient(135deg, #6d28d9, #9333ea, #c084fc);
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(192, 132, 252, 0.42);
}

.features-showcase {
  background:
    radial-gradient(circle at 18% 18%, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(192, 132, 252, 0.14), transparent 30%),
    linear-gradient(180deg, #160821 0%, #120824 48%, #0f0720 100%);
}

.cta-box {
  background:
    radial-gradient(circle at left center, rgba(147, 51, 234, 0.22), transparent 34%),
    radial-gradient(circle at right center, rgba(216, 180, 254, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(35, 18, 65, 0.98), rgba(18, 8, 36, 0.98));
}

.minecraft {
  background:
    linear-gradient(to top, rgba(10,4,24,0.90), rgba(88,28,135,0.20)),
    url("minecraft.png") center/cover no-repeat;
}

.mini-card,
.included-panel,
.feature-tile {
  border-color: rgba(216, 180, 254, 0.09);
}

::selection {
  background: rgba(192, 132, 252, 0.36);
  color: white;
}

/* Plans section */
.plans-section {
  position: relative;
  padding: 105px 0 115px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 85, 247, 0.18), transparent 26%),
    radial-gradient(circle at 88% 36%, rgba(216, 180, 254, 0.12), transparent 30%),
    linear-gradient(180deg, #0f0720 0%, #170b2f 52%, #120824 100%);
}

.plans-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 180, 254, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 180, 254, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 82%, transparent);
  pointer-events: none;
  animation: gridDrift 26s linear infinite;
}

.plans-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.plan-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(35, 18, 65, 0.88), rgba(18, 8, 36, 0.90));
  border: 1px solid rgba(216, 180, 254, 0.12);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.30);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -110px;
  top: -105px;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.15);
  filter: blur(2px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent, rgba(216, 180, 254, 0.14), transparent);
  transform: translateX(-100%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-9px);
  border-color: rgba(216, 180, 254, 0.28);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.42), 0 0 46px rgba(168, 85, 247, 0.16);
}

.plan-card:hover::before {
  transform: scale(1.24);
  opacity: 0.95;
}

.plan-card:hover::after {
  opacity: 1;
  animation: ctaSweep 1.1s ease;
}

.plan-featured {
  border-color: rgba(216, 180, 254, 0.25);
  background:
    radial-gradient(circle at 80% 0%, rgba(192, 132, 252, 0.24), transparent 32%),
    linear-gradient(145deg, rgba(48, 22, 92, 0.94), rgba(20, 8, 43, 0.94));
}

.plan-top,
.plan-card ul,
.plan-card a {
  position: relative;
  z-index: 2;
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 180, 254, 0.11);
  border: 1px solid rgba(216, 180, 254, 0.16);
  color: #f3e8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  color: white;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
}

.plan-card p {
  margin-top: 12px;
  color: #cbb7e8;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-card li strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.plan-card li span {
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #6d28d9, #9333ea, #c084fc);
  box-shadow: 0 16px 34px rgba(147, 51, 234, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(192, 132, 252, 0.34);
}

@media (max-width: 1050px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }
}

/* More space-themed visual layer */
.btn-secondary {
  min-width: 160px;
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  background: rgba(216, 180, 254, 0.09);
  border: 1px solid rgba(216, 180, 254, 0.18);
  color: #f3e8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(216, 180, 254, 0.15);
  box-shadow: 0 18px 38px rgba(168, 85, 247, 0.22);
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: min(8vw, 120px);
  top: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), transparent 0 10px),
    radial-gradient(circle at 42% 38%, rgba(216,180,254,0.30), transparent 0 34%),
    radial-gradient(circle at center, rgba(124,58,237,0.20), rgba(88,28,135,0.05) 54%, transparent 72%);
  box-shadow: 0 0 95px rgba(168,85,247,0.22), inset -30px -28px 80px rgba(10,4,24,0.45);
  opacity: 0.48;
  filter: blur(0.2px);
  animation: planetDrift 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge::before {
  content: "✦";
  margin-right: 8px;
  color: #d8b4fe;
  animation: twinkle 1.8s ease-in-out infinite;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(420px, 70vw);
  height: 2px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(216,180,254,0.85), transparent);
  box-shadow: 0 0 26px rgba(216,180,254,0.38);
  animation: cometLine 4.5s ease-in-out infinite;
}

.orbit-core::before,
.orbit-core::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 0 16px rgba(216,180,254,0.85);
}

.orbit-core::before {
  width: 7px;
  height: 7px;
  left: -52px;
  top: 22px;
  animation: satelliteOne 8s linear infinite;
}

.orbit-core::after {
  width: 5px;
  height: 5px;
  right: -62px;
  bottom: 10px;
  animation: satelliteTwo 10s linear infinite;
}

.plan-card,
.feature-tile,
.mini-card,
.cta-box,
.included-panel {
  backdrop-filter: blur(14px);
}

.plan-card h3::before,
.feature-tile h3::before,
.mini-card h3::before {
  content: "✦ ";
  color: #d8b4fe;
  text-shadow: 0 0 18px rgba(216,180,254,0.45);
}

.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(124,58,237,0.18), transparent 28%),
    #090414;
}

@keyframes planetDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 20px, 0) scale(1.05); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.16); }
}

@keyframes cometLine {
  0%, 100% { opacity: 0.42; transform: scaleX(0.7); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

@keyframes satelliteOne {
  from { transform: rotate(0deg) translateX(46px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(46px) rotate(-360deg); }
}

@keyframes satelliteTwo {
  from { transform: rotate(360deg) translateX(58px) rotate(-360deg); }
  to { transform: rotate(0deg) translateX(58px) rotate(0deg); }
}

@media (max-width: 860px) {
  .hero::after {
    width: 220px;
    height: 220px;
    right: -60px;
    top: 10%;
    opacity: 0.32;
  }
}
