/* ── reset / variables ── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg: #050507;
  --bg-2: #0c0c12;
  --bg-elev: #14141a;
  --bg-card: #161620;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f0f0f5;
  --text-muted: rgba(255,255,255,0.55);
  --text-dim: rgba(255,255,255,0.4);
  --accent: #5b8cff;
  --accent-2: #8b5cff;
  --accent-3: #5fc7ff;
  --grad: linear-gradient(135deg, #8b5cff 0%, #5b8cff 50%, #5fc7ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,92,255,0.18) 0%, rgba(91,140,255,0.18) 50%, rgba(95,199,255,0.18) 100%);
  --shadow-glow: 0 10px 40px rgba(91,140,255,0.35);
}
[data-theme="light"] {
  --bg: #f6f6f9;
  --bg-2: #efeff4;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.16);
  --text: #1a1a22;
  --text-muted: rgba(0,0,0,0.6);
  --text-dim: rgba(0,0,0,0.4);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background 0.4s, color 0.4s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ── header ── */
.header {
  position: sticky; top: 16px; z-index: 100;
  margin: 16px;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--bg-elev) 75%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  color: white; font-size: 14px;
  box-shadow: 0 4px 16px rgba(139,92,255,0.4);
}
.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a {
  position: relative; color: var(--text-muted);
  transition: color 0.2s;
  padding: 4px 0;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.header-right { display: flex; gap: 12px; align-items: center; }
.btn-link { color: var(--text-muted); font-size: 15px; padding: 8px 16px; transition: color 0.2s; }
.btn-link:hover { color: var(--text); }
.btn-primary-sm {
  background: var(--text); color: var(--bg);
  padding: 9px 22px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-primary-sm:hover { opacity: 0.85; }
.btn-primary-sm:active { transform: scale(0.97); }

/* ── hero ── */
.hero {
  position: relative; min-height: 86vh;
  padding: 60px 64px 80px;
  display: grid; grid-template-columns: 1fr 460px;
  align-items: center; gap: 40px;
  overflow: hidden;
}
.aurora, .aurora-extra {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
.aurora {
  filter: blur(80px); opacity: 0.6;
  transition: transform 0.4s ease-out;
}
.aurora::before, .aurora::after {
  content: ''; position: absolute; border-radius: 50%;
}
.aurora::before {
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 60%);
  top: -10%; left: -10%;
  animation: float1 20s ease-in-out infinite alternate;
}
.aurora::after {
  width: 50vmax; height: 50vmax;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 60%);
  bottom: -20%; right: -10%;
  animation: float2 26s ease-in-out infinite alternate;
}
.aurora-extra { filter: blur(100px); opacity: 0.4; }
.aurora-extra::before {
  content: ''; position: absolute;
  width: 40vmax; height: 40vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  top: 30%; left: 50%; transform: translateX(-50%);
  animation: float3 32s ease-in-out infinite alternate;
}
@keyframes float1 { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(15%,10%) scale(1.15);} }
@keyframes float2 { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(-12%,-15%) scale(1.1);} }
@keyframes float3 { 0%{transform:translate(-50%,0) scale(0.9);} 100%{transform:translate(-40%,15%) scale(1.2);} }
[data-theme="light"] .aurora { opacity: 0.45; }
[data-theme="light"] .aurora-extra { opacity: 0.3; }

.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(91,140,255,0.12);
  border: 1px solid rgba(91,140,255,0.3);
  border-radius: 100px;
  font-size: 13px; color: var(--accent);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease-out;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00d97e;
  box-shadow: 0 0 12px #00d97e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease-out 0.1s both;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.subtext {
  font-size: 17px; color: var(--text-muted);
  max-width: 540px; line-height: 1.6;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
  animation: fadeUp 0.8s ease-out 0.3s both;
}
.hero-meta {
  font-size: 14px; color: var(--text-dim);
  animation: fadeUp 0.8s ease-out 0.4s both;
}
.btn-grad {
  background: var(--grad); color: white;
  padding: 14px 32px; border-radius: 100px;
  font-size: 16px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.15s, box-shadow 0.3s, opacity 0.2s;
  box-shadow: var(--shadow-glow);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(91,140,255,0.5); }
.btn-grad:active { transform: scale(0.98); }
.btn-outline {
  background: var(--bg-card); color: var(--text);
  padding: 14px 28px; border-radius: 100px;
  font-size: 16px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong);
  transition: background 0.2s, transform 0.1s;
}
.btn-outline:hover { background: color-mix(in srgb, var(--bg-card) 70%, var(--text) 5%); }
.btn-outline:active { transform: scale(0.98); }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }

.hero-version {
  position: absolute; top: 24px; right: 80px;
  font-size: 38px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  z-index: 2;
  opacity: 0.95;
}

/* ── hero art (Minecraft heads + character) ── */
.hero-art {
  position: relative; z-index: 1;
  width: 460px; height: 500px;
  perspective: 800px;
  animation: fadeUp 1s ease-out 0.4s both;
}
.mc-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 30px 50px;
  animation: floatGrid 12s ease-in-out infinite;
}
@keyframes floatGrid { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
.mc-head {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5a3d1f, #8b6238);
  position: relative;
  box-shadow: inset -4px -4px 0 rgba(0,0,0,0.25), inset 4px 4px 0 rgba(255,255,255,0.06), 0 4px 12px rgba(0,0,0,0.3);
  animation: bob var(--bd, 4s) ease-in-out infinite;
}
.mc-head::before {
  content: ''; position: absolute;
  top: 24%; left: 18%; width: 14%; height: 14%;
  background: #1a1a1a; box-shadow: 32px 0 0 #1a1a1a;
}
.mc-head::after {
  content: ''; position: absolute;
  bottom: 24%; left: 28%; width: 44%; height: 8%;
  background: rgba(0,0,0,0.5);
}
.mc-head.h1 { background: linear-gradient(135deg,#5a3d1f,#8b6238); --bd:3.5s; }
.mc-head.h2 { background: linear-gradient(135deg,#1a3d1f,#2a6e35); --bd:4.2s; }
.mc-head.h3 { background: linear-gradient(135deg,#3d3d3d,#6e6e6e); --bd:3.8s; }
.mc-head.h4 { background: linear-gradient(135deg,#5a3d1f,#8b6238); --bd:4.5s; }
.mc-head.h5 { background: linear-gradient(135deg,#3d2a1f,#6b4d2e); --bd:3.2s; }
.mc-head.h6 { background: linear-gradient(135deg,#1f3d3d,#2e6e6b); --bd:4s; }
.mc-head.h7 { background: linear-gradient(135deg,#3d1f1f,#6e2a2a); --bd:3.6s; }
.mc-head.h8 { background: linear-gradient(135deg,#5a3d1f,#8b6238); --bd:4.4s; }
.mc-head.h9 { background: linear-gradient(135deg,#1a3d1f,#2a6e35); --bd:3.7s; }
.mc-head.h10 { background: linear-gradient(135deg,#3d2e1f,#6e552e); --bd:4.1s; }
.mc-head.h11 { background: linear-gradient(135deg,#3d3d3d,#6e6e6e); --bd:3.9s; }
.mc-head.h12 { background: linear-gradient(135deg,#1f1f3d,#2e2e6e); --bd:4.3s; }
@keyframes bob { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-8px) rotate(2deg);} }

.mc-character {
  position: absolute; bottom: 0; right: 60px;
  width: 200px; height: 380px;
  filter: drop-shadow(0 30px 60px rgba(91,140,255,0.4));
  animation: characterFloat 6s ease-in-out infinite;
}
@keyframes characterFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-16px);} }
.mc-body {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 240px;
  background: linear-gradient(180deg, #f5f5f5 0%, #d8d8d8 100%);
  border-radius: 80px 80px 20px 20px;
  box-shadow: inset -10px -10px 30px rgba(0,0,0,0.08);
}
.mc-face {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 130px;
  background: radial-gradient(ellipse at 50% 40%, #f5d6b8 0%, #d4a373 100%);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.mc-mask {
  position: absolute; top: 80px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 60px;
  background:
    repeating-linear-gradient(0deg, #c0c0c0 0 8px, #909090 8px 16px),
    repeating-linear-gradient(90deg, #c0c0c0 0 8px, #909090 8px 16px);
  background-blend-mode: multiply;
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
  z-index: 5;
}

/* ── sections ── */
.section {
  padding: 100px 64px;
  max-width: 1280px; margin: 0 auto;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 28px;
}
.section-tag i { color: var(--accent); }
.section-h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-h2.small-margin { margin-top: 80px; }
.section-sub {
  color: var(--text-muted); font-size: 17px;
  margin-bottom: 40px; max-width: 560px;
}

/* ── features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.f-card {
  position: relative; overflow: hidden;
  padding: 36px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.f-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: var(--border-strong);
}
.f-card h3 {
  font-size: 30px; font-weight: 600;
  margin: auto 0 14px;
  letter-spacing: -0.01em;
}
.f-card p {
  color: var(--text-muted); font-size: 16px;
  max-width: 360px;
}
.f-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(0,0,0,0.2);
  display: grid; place-items: center;
  font-size: 24px; color: #1a1a22;
  margin-bottom: 16px;
}
.f-icon-mono {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.f-icon-mono.dark { background: rgba(0,0,0,0.4); color: white; }
.f-icon-of {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
  margin-bottom: 20px;
}

/* card variants */
.f-card.stealth {
  background: linear-gradient(135deg, #00d9a3 0%, #00b8c4 50%, #4690b3 100%);
  color: #0a0a0c;
  border-color: transparent;
}
.f-card.stealth h3 { color: #0a0a0c; }
.f-card.stealth p { color: rgba(0,0,0,0.7); }
.f-card.stealth::before {
  content: ''; position: absolute; inset: -50%;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}

.f-card.flex {
  background: linear-gradient(135deg, #f0f0f0 0%, #d4d4d8 100%);
  color: #0a0a0c;
  border-color: transparent;
}
.f-card.flex h3 { color: #0a0a0c; }
.f-card.flex p { color: rgba(0,0,0,0.6); }
.f-card.flex .f-icon-mono { color: #0a0a0c; border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.05); }
.f-card.flex.dark .f-icon-mono { color: white; }

/* features art */
.f-art-cards {
  position: absolute; right: -60px; top: 30px; bottom: 30px;
  width: 200px;
  perspective: 600px;
}
.f-art-cards .card {
  position: absolute; right: 0; top: 50%;
  width: 180px; height: 110px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1a22 0%, #2a2a35 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  transform-origin: right center;
}
.f-art-cards .card::before {
  content: 'VISA'; position: absolute; bottom: 12px; right: 16px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-family: 'Helvetica Neue', sans-serif;
}
.f-art-cards .card::after {
  content: ''; position: absolute; top: 14px; left: 14px;
  width: 28px; height: 22px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
}
.f-art-cards .c1 { transform: translateY(-50%) rotate(-12deg) translateX(10px); }
.f-art-cards .c2 { transform: translateY(-50%) rotate(-6deg) translateX(0); z-index: 2; }
.f-art-cards .c3 { transform: translateY(-50%) rotate(0deg) translateX(-15px); z-index: 3; }

.f-art-pad {
  position: absolute; right: -10px; top: 30px;
  width: 200px; height: 130px;
}
.pad-body {
  position: absolute; inset: 20px 0 20px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #c0c0c0 100%);
  border-radius: 70px 30px 30px 70px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 -4px 0 rgba(0,0,0,0.1);
}
.pad-stick {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a35, #0a0a0c);
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.05);
}
.pad-stick.l { left: 30px; }
.pad-stick.r { right: 60px; }
.pad-dpad {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 70px; width: 18px; height: 18px;
  background: #1a1a22;
  box-shadow: 18px 0 0 #1a1a22, -9px -9px 0 #1a1a22, 9px 9px 0 #1a1a22, 9px -9px 0 #1a1a22, -9px 9px 0 #1a1a22;
}
.pad-buttons {
  position: absolute; top: 50%; transform: translateY(-50%);
  right: 100px; width: 14px; height: 14px;
  border-radius: 50%; background: #ff6b6b;
  box-shadow: 18px 18px 0 #4dd0e1, -18px 18px 0 #ffeb3b, 0 36px 0 #66bb6a;
}

.f-card.optifine {
  background: var(--bg-card);
  border-color: var(--border);
}

.f-card.auto {
  position: relative;
}

/* ── launcher section ── */
.launcher-section { background: linear-gradient(180deg, transparent 0%, var(--bg-2) 50%, transparent 100%); }
.section-tag.light { background: rgba(255,255,255,0.05); }
.launcher-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  margin-top: 40px;
}
.launcher-mock { position: relative; }
.laptop {
  position: relative;
  background: linear-gradient(135deg, #2a2a35 0%, #1a1a22 100%);
  border-radius: 16px 16px 6px 6px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.laptop-screen {
  background: #050507;
  border-radius: 8px;
  padding: 16px;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1a1f4a 0%, #4a3da8 50%, #6e3eff 100%);
  position: relative;
  overflow: hidden;
}
.laptop-screen::before {
  content: 'FLOOWEY  − ✕';
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center;
  padding: 0 16px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.5em;
}
.laptop-base {
  height: 8px; margin: 0 -16px;
  background: linear-gradient(180deg, #2a2a35 0%, #1a1a22 100%);
  border-radius: 0 0 24px 24px;
  position: relative;
}
.laptop-base::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px;
  background: rgba(0,0,0,0.4); border-radius: 0 0 8px 8px;
}
.lapp {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
  height: calc(100% - 30px);
}
.lapp-side { display: flex; flex-direction: column; padding: 8px; }
.lapp-logo {
  font-size: 18px; font-weight: 800;
  color: white; margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.lapp-subtitle { color: rgba(255,255,255,0.6); font-size: 11px; line-height: 1.3; margin-bottom: 12px; }
.lapp-icons { display: flex; gap: 10px; color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: auto; }
.lapp-btn-primary, .lapp-btn-outline {
  font-size: 11px; padding: 7px 12px;
  border-radius: 6px; margin-top: 8px;
  font-weight: 600;
}
.lapp-btn-primary {
  background: linear-gradient(135deg, #5b8cff, #5fc7ff);
  color: white;
}
.lapp-btn-outline {
  background: transparent; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.lapp-main { display: grid; place-items: center; }
.lapp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 26px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.lapp-tag { font-size: 16px; font-weight: 700; color: white; }
.lapp-tag-sub { font-size: 11px; color: rgba(255,255,255,0.5); }
.rocket {
  position: absolute; bottom: -20px; right: 40px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #5b8cff 0%, #5fc7ff 100%);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px; color: white;
  box-shadow: 0 10px 40px rgba(91,140,255,0.6);
  animation: rocketFloat 4s ease-in-out infinite;
}
@keyframes rocketFloat { 0%,100%{transform:translateY(0) rotate(-12deg);} 50%{transform:translateY(-12px) rotate(0deg);} }

.launcher-text { display: flex; flex-direction: column; gap: 50px; }
.lt-block {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.lt-block h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; }
.lt-block p { color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 460px; }
.lt-check, .lt-arrow {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 22px; color: var(--text);
}
.lt-check { color: #00d97e; }

/* ── pricing ── */
.pricing-section { text-align: left; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px; align-items: stretch;
  margin-top: 40px;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 60px rgba(91,140,255,0.25); }
.price-card.popular { border-color: rgba(91,140,255,0.5); box-shadow: 0 10px 40px rgba(91,140,255,0.15); }
.popular-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad);
  color: white; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 2;
}
.price-art {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, #0a0a14 0%, #1a1a30 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.price-art::before {
  content: ''; position: absolute; inset: -50%;
  background:
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(255,255,255,0.03) 30px 32px),
    radial-gradient(circle at 30% 30%, rgba(91,140,255,0.25), transparent 50%);
  animation: artBg 10s ease-in-out infinite alternate;
}
@keyframes artBg { 0%{transform:rotate(0);} 100%{transform:rotate(8deg);} }
/* big Minecraft head per pricing card */
.price-mc {
  position: relative; z-index: 1;
  width: 110px; height: 110px;
  border-radius: 12px;
  box-shadow: inset -6px -6px 0 rgba(0,0,0,0.3), inset 6px 6px 0 rgba(255,255,255,0.08), 0 12px 32px rgba(0,0,0,0.4);
  animation: bobBig 4s ease-in-out infinite;
}
.price-mc::before {
  content: ''; position: absolute;
  top: 26%; left: 18%; width: 14%; height: 14%;
  background: #1a1a1a;
  box-shadow: 36px 0 0 #1a1a1a;
}
.price-mc::after {
  content: ''; position: absolute;
  bottom: 22%; left: 28%; width: 44%; height: 8%;
  background: rgba(0,0,0,0.55);
  border-radius: 1px;
}
@keyframes bobBig { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-12px) rotate(3deg);} }

.price-mc.steve {
  background:
    linear-gradient(135deg, #c08e6e 0%, #a06b48 100%);
  box-shadow:
    inset 0 -36px 0 rgba(80,46,22,0.7),
    inset -6px -6px 0 rgba(0,0,0,0.3),
    inset 6px 6px 0 rgba(255,255,255,0.08),
    0 12px 32px rgba(160,107,72,0.4);
}
.price-mc.steve::before {
  box-shadow: 36px 0 0 #1a1a1a;
}

.price-mc.creeper {
  background:
    linear-gradient(135deg, #6dbe6d 0%, #3a8a3a 100%);
  box-shadow:
    inset -6px -6px 0 rgba(0,0,0,0.3),
    inset 6px 6px 0 rgba(255,255,255,0.1),
    0 12px 32px rgba(58,138,58,0.5);
}
.price-mc.creeper::before {
  top: 28%; left: 22%; width: 16%; height: 18%;
  box-shadow: 28px 0 0 #1a1a1a;
}
.price-mc.creeper::after {
  bottom: 18%; left: 32%; width: 36%; height: 22%;
  background: #1a1a1a;
  clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 50% 70%, 20% 100%, 0% 50%);
}

.price-mc.diamond {
  background:
    linear-gradient(135deg, #6ec4ff 0%, #3478b8 100%);
  box-shadow:
    inset -6px -6px 0 rgba(0,0,0,0.25),
    inset 6px 6px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(95,199,255,0.5);
}
.price-mc.diamond::before {
  background: #0a1a2a;
  box-shadow: 32px 0 0 #0a1a2a;
}
.price-mc.diamond::after {
  background: rgba(10,26,42,0.6);
}

.price-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.price-title { font-size: 14px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 4px; }
.price-period { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.price-tag {
  display: inline-block; align-self: flex-start;
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 16px;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.price-divider { height: 1px; background: var(--border); margin: 12px 0 16px; }
.price-btn { width: 100%; justify-content: center; padding: 12px 20px; font-size: 15px; }

.promo-block {
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.btn-pill {
  background: var(--bg-card); color: var(--text);
  padding: 12px 24px; border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-pill:hover { border-color: var(--accent); }

.hwid-block {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 24px;
}

/* ── faq ── */
.faq-section { padding-top: 40px; }
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 800px;
}
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color 0.2s, background 0.2s;
}
details[open] { border-color: var(--accent); }
details summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 500;
}
details summary::-webkit-details-marker { display: none; }
details summary i { color: var(--text-muted); transition: transform 0.3s; }
details[open] summary i { transform: rotate(180deg); }
details p {
  margin-top: 14px; color: var(--text-muted);
  line-height: 1.6; font-size: 15px;
}
details a { color: var(--accent); text-decoration: underline; }

/* ── footer ── */
.footer {
  margin-top: 80px;
  padding: 64px 64px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-tagline { color: var(--text-muted); font-size: 14px; margin-top: 16px; line-height: 1.6; }
.footer-col h4 {
  font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-muted); font-size: 15px;
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-dim);
  flex-wrap: wrap; gap: 16px;
}

/* ── floating ── */
.floating-controls {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 50;
}
.control-btn {
  width: 48px; height: 48px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 16px;
  transition: background 0.2s, transform 0.1s;
}
.control-btn:hover { background: var(--bg-elev); }
.control-btn:active { transform: scale(0.95); }
.control-btn.lang { width: auto; padding: 0 14px; gap: 8px; font-size: 14px; }
.fi {
  display: inline-block; width: 18px; height: 14px;
  background: linear-gradient(0deg, #d52b1e 0 33%, #0039a6 33% 66%, #fff 66% 100%);
  border-radius: 2px;
}

/* ── modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 24px; opacity: 0;
  transition: opacity 0.25s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 36px;
  max-width: 440px; width: 100%; position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 16px;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.tabs {
  display: flex; background: var(--bg);
  border-radius: 14px; padding: 5px;
  margin-bottom: 28px; gap: 4px;
}
.tab {
  flex: 1; padding: 11px 16px; border-radius: 10px;
  font-size: 14px; color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.tab.active { background: var(--bg-card); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; margin-bottom: 8px; color: var(--text); font-weight: 500; }
.field-input { position: relative; }
.field-input i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
}
.field input {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 14px 13px 42px; font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--text-muted); }
.modal-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; margin-bottom: 18px;
}
.cb-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.modal-row input[type="checkbox"], .captcha-stub input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--accent);
}
.modal-row a { color: var(--accent); }
/* form error banner */
.form-error {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 92, 100, 0.1);
  border: 1px solid rgba(255, 92, 100, 0.35);
  border-radius: 12px;
  font-size: 13px;
  color: #ff7a82;
  margin-bottom: 16px;
  animation: shakeIn 0.35s ease-out;
}
.form-error i { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
@keyframes shakeIn {
  0%   { transform: translateX(0); opacity: 0; }
  20%  { transform: translateX(-8px); opacity: 1; }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
.form-success {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(0, 217, 126, 0.1);
  border: 1px solid rgba(0, 217, 126, 0.35);
  border-radius: 12px;
  font-size: 13px;
  color: #00d97e;
  margin-bottom: 16px;
}
.form-success i { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* code input */
.code-input {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 22px;
}
.code-input input {
  width: 48px; height: 56px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 22px; font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, transform 0.1s;
}
.code-input input:focus { outline: none; border-color: var(--accent); transform: scale(1.05); }
.code-input input.filled { border-color: var(--accent-2); }

/* button loading state */
.btn-grad:disabled, .submit-btn:disabled {
  opacity: 0.7; cursor: not-allowed;
  pointer-events: none;
}
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

.modal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
  padding: 8px 0;
  transition: color 0.2s;
}
.modal-back:hover { color: var(--text); }
.resend-btn {
  display: block; width: 100%;
  text-align: center;
  background: transparent; border: none;
  color: var(--accent);
  font-size: 13px;
  margin-top: 12px;
  padding: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.resend-btn:hover { opacity: 0.8; }
.resend-btn:disabled { color: var(--text-dim); cursor: not-allowed; }

.captcha-stub {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.captcha-label { flex: 1; font-size: 14px; }
.captcha-logo {
  font-size: 10px; color: var(--text-muted); text-align: center; line-height: 1.2;
}
.captcha-logo i { font-size: 18px; color: var(--accent); display: block; margin-bottom: 2px; }
.submit-btn { width: 100%; justify-content: center; padding: 13px; }
.modal-foot {
  font-size: 12px; color: var(--text-muted);
  text-align: center; margin-top: 14px;
}
.modal-foot a { color: var(--accent); text-decoration: underline; }
.modal-h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.modal-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.contact-item:hover { border-color: var(--accent); }
.contact-item i { font-size: 20px; color: var(--accent); width: 28px; }
.contact-item span { display: flex; flex-direction: column; }
.contact-item b { font-size: 14px; font-weight: 600; }
.contact-item small { font-size: 12px; color: var(--text-muted); }

/* ── docs page ── */
.doc-page {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 64px;
}
.doc-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.doc-header::before {
  content: '';
  position: absolute;
  inset: -40px -200px;
  background:
    radial-gradient(circle at 30% 50%, rgba(91,140,255,0.4), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(245,148,80,0.25), transparent 50%);
  filter: blur(60px);
  z-index: -1;
}
.doc-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.doc-title { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.doc-subtitle { color: var(--text-muted); font-size: 17px; line-height: 1.6; max-width: 720px; margin: 0 auto; }
.doc-meta {
  display: flex; gap: 28px; justify-content: center;
  margin-top: 28px; font-size: 13px; color: var(--text-muted);
}
.doc-meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc-grid {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: flex-start;
}
.doc-toc {
  position: sticky; top: 100px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.doc-toc h5 {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px; padding: 0 4px;
}
.doc-toc a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.doc-toc a:hover { color: var(--text); background: var(--bg); }
.doc-toc a.active { color: var(--text); background: var(--bg); }
.doc-toc a i { width: 16px; text-align: center; }
.doc-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 48px;
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
}
.doc-content h2 {
  color: var(--text); font-size: 28px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.doc-content h2:not(:first-child) { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.doc-content h3 { color: var(--text); font-size: 18px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.doc-content p { margin-bottom: 14px; }
.doc-content ul { margin: 14px 0 18px 22px; }
.doc-content ul li { margin-bottom: 8px; list-style: disc; }
.doc-callout {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 18px 0;
}
.doc-callout b { color: var(--text); display: block; margin-bottom: 6px; font-size: 14px; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 60px 32px; min-height: auto; }
  .hero-art { display: none; }
  .hero-version { right: 32px; top: 12px; font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .launcher-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .promo-block { grid-column: 1 / -1; padding: 12px 0; }
  .section, .footer, .doc-page { padding-left: 32px; padding-right: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
}
@media (max-width: 600px) {
  .header { padding: 12px 16px; }
  .nav { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-version { font-size: 22px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section, .footer, .doc-page { padding-left: 20px; padding-right: 20px; }
  .doc-content { padding: 28px 24px; }
}
