/* ============================================================
   3-BITS — Purple Nebula themed rebuild of 3bits.xyz
   Signature: falling stars, chrome-violet, deep space glass
   ============================================================ */

:root {
  --space-0: #05010f;
  --space-1: #0c051c;
  --space-2: #140a2e;
  --space-3: #1d1138;
  --glass: rgba(24, 13, 48, 0.55);
  --glass-strong: rgba(29, 17, 56, 0.85);
  --line: rgba(197, 147, 255, 0.14);
  --line-strong: rgba(197, 147, 255, 0.30);

  --violet: #a855f7;
  --purple: #7c3aed;
  --fuchsia: #d946ef;
  --pink: #e879f9;
  --lavender: #c4b5fd;
  --starlight: #f5f3ff;
  --muted: #a79bc7;
  --discord: #5865f2;
  --discord-hover: #6d78f5;
  --yt: #ff4d4d;
  --tiktok: #25f4ee;

  --glow: 0 0 24px rgba(168, 85, 247, 0.45), 0 0 80px rgba(168, 85, 247, 0.18);
  --grad: linear-gradient(120deg, #7c3aed 0%, #a855f7 35%, #d946ef 70%, #e879f9 100%);

  --font-display: "Unbounded", sans-serif;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 18px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--space-0);
  color: var(--starlight);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(217, 70, 239, 0.38); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--space-1); }
::-webkit-scrollbar-thumb { background: linear-gradient(#7c3aed, #d946ef); border-radius: 8px; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* ============ NEBULA BACKDROP ============ */
.nebula-backdrop {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1100px 750px at 78% -10%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(900px 700px at -15% 38%, rgba(217, 70, 239, 0.17), transparent 60%),
    radial-gradient(1000px 900px at 55% 115%, rgba(88, 28, 135, 0.40), transparent 65%),
    var(--space-0);
}
.nebula-cloud { position: absolute; border-radius: 50%; filter: blur(95px); opacity: 0.5; animation: cloudDrift 28s ease-in-out infinite alternate; will-change: transform; }
.cloud-1 { width: 620px; height: 620px; top: -170px; right: -150px; background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%); }
.cloud-2 { width: 500px; height: 500px; top: 30%; left: -200px; background: radial-gradient(circle, rgba(217, 70, 239, 0.33), transparent 70%); animation-delay: -9s; animation-duration: 33s; }
.cloud-3 { width: 680px; height: 680px; bottom: -240px; left: 35%; background: radial-gradient(circle, rgba(124, 58, 237, 0.42), transparent 70%); animation-delay: -15s; animation-duration: 36s; }
.cloud-4 { width: 360px; height: 360px; top: 16%; left: 52%; background: radial-gradient(circle, rgba(232, 121, 249, 0.22), transparent 70%); animation-delay: -4s; }
@keyframes cloudDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-55px, 48px, 0) scale(1.12); }
  100% { transform: translate3d(65px, -42px, 0) scale(0.94); }
}
#cosmos { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }

/* ============ HEADER LOGO + NAV ============ */
.header-logo {
  position: fixed; top: 14px; left: 22px; z-index: 60;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  width: 52px; height: 52px;
  filter: drop-shadow(0 0 16px rgba(200, 214, 255, 0.45)) drop-shadow(0 0 34px rgba(168, 85, 247, 0.35));
  transition: transform 0.45s cubic-bezier(.2, 1.6, .4, 1);
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.09); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.18em; color: var(--starlight); text-shadow: 0 0 22px rgba(168, 85, 247, 0.75); }

.top-nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; align-items: center; gap: 4px;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(12, 5, 28, 0.62); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(5, 1, 15, 0.55);
}
.nav-link {
  color: var(--muted); text-decoration: none; border: none; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; transition: color .25s, background .25s, box-shadow .25s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(168, 85, 247, 0.14); }
.nav-account-btn {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255,255,255,0.35);
}
.nav-account-btn:hover { color: #fff; filter: brightness(1.12); box-shadow: 0 0 26px rgba(217, 70, 239, 0.55); }
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--line-strong); color: var(--starlight); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 74px; right: 16px; z-index: 59; background: rgba(12,5,28,.96); border: 1px solid var(--line-strong); border-radius: 16px; padding: 10px; backdrop-filter: blur(18px); box-shadow: var(--glow); }
.mobile-menu.open { display: block; animation: menuIn .3s ease; }
.mobile-menu a { display: block; color: var(--starlight); text-decoration: none; font-family: var(--font-head); padding: 12px 18px; border-radius: 10px; }
.mobile-menu a:hover { background: rgba(168,85,247,.15); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ============ HERO ============ */
.hero-container {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; overflow: hidden; padding: 110px 20px 80px;
}
.hero-logo-float {
  position: absolute; z-index: 0; width: min(560px, 88vw); opacity: 0.9;
  filter: drop-shadow(0 0 70px rgba(190, 200, 255, 0.35)) drop-shadow(0 0 160px rgba(168, 85, 247, 0.45));
  animation: floatLogo 9s ease-in-out infinite;
  pointer-events: none; user-select: none;
}
@keyframes floatLogo { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(2deg); } }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(197,147,255,.22); z-index: 0; }
.orbit-a { width: min(780px, 120vw); height: min(780px, 120vw); animation: spin 60s linear infinite; }
.orbit-b { width: min(460px, 74vw); height: min(460px, 74vw); border-style: solid; border-color: rgba(197,147,255,.09); animation: spin 36s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-content::before {
  content: ""; position: absolute; z-index: -1; inset: -130px -170px;
  background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(5, 1, 15, 0.66) 0%, rgba(5, 1, 15, 0.3) 52%, transparent 76%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--pink); border: 1px solid rgba(232, 121, 249, 0.35); background: rgba(217, 70, 239, 0.09);
  padding: 9px 18px; border-radius: 999px; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }

.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 15vw, 9rem); line-height: 0.98; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 8%, #e9d5ff 30%, #a855f7 68%, #4c1d95 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 44px rgba(168, 85, 247, 0.55)) drop-shadow(0 0 120px rgba(124, 58, 237, 0.4));
}
.hero-subtitle {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: clamp(0.78rem, 2vw, 1.05rem); color: #d8ccff; margin: 26px 0 40px;
  text-shadow: 0 2px 18px rgba(5, 1, 15, 0.9);
}
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-button {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.82rem;
  color: #fff; padding: 17px 42px; border-radius: 999px; background: var(--grad); border: none;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .3s cubic-bezier(.2,1.4,.4,1), box-shadow .3s;
}
.cta-button:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 44px rgba(217, 70, 239, 0.6), 0 0 110px rgba(168,85,247,.35); }
.cta-ghost { color: var(--lavender); text-decoration: none; font-family: var(--font-head); letter-spacing: .1em; font-size: .82rem; align-self: center; padding: 12px 6px; border-bottom: 1px solid rgba(197,147,255,.35); transition: color .25s, border-color .25s; }
.cta-ghost:hover { color: #fff; border-color: var(--fuchsia); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(197,147,255,.45); border-radius: 14px; display: block; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--pink); box-shadow: 0 0 8px var(--pink); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ SECTIONS ============ */
.content-section { position: relative; padding: 110px 0; overflow: hidden; }
.section-about { background: linear-gradient(180deg, transparent, rgba(20,10,46,.72) 18%, rgba(20,10,46,.72) 82%, transparent); }
.section-developer { background: linear-gradient(180deg, transparent, rgba(13, 6, 32, 0.6) 25%, rgba(13, 6, 32, 0.6) 75%, transparent); }
.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.dev-card { display: flex; gap: 20px; padding: 28px; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.dev-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--glow); }
.dev-avatar {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; letter-spacing: .05em;
  border: 1px solid var(--line-strong);
}
.dev-avatar-1 { background: linear-gradient(140deg, #7c3aed, #d946ef); box-shadow: 0 0 26px rgba(168,85,247,.55); }
.dev-avatar-2 { background: linear-gradient(140deg, #d946ef, #4c1d95); box-shadow: 0 0 26px rgba(217,70,239,.5); }
.dev-body h3 { font-family: var(--font-head); font-size: 1.15rem; }
.dev-role { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); margin: 6px 0 10px; }
.dev-body p { color: var(--muted); font-size: .89rem; }
.dev-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dev-stack span { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; color: var(--lavender); border: 1px solid var(--line); background: rgba(168,85,247,.07); padding: 4px 10px; border-radius: 6px; }
.dev-links { display: flex; gap: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.dev-link { color: var(--lavender); text-decoration: none; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.dev-link:hover { color: #fff; text-shadow: 0 0 12px rgba(232,121,249,.8); }
@media (max-width: 560px) { .dev-card { flex-direction: column; } .dev-avatar { width: 72px; height: 72px; font-size: 1.1rem; } }

.section-project { background: linear-gradient(180deg, transparent, rgba(29,17,56,.55) 20%, rgba(12,5,28,.65) 85%, transparent); }
.section-contact { background: linear-gradient(180deg, transparent, rgba(20,10,46,.7) 25%, rgba(20,10,46,.7) 75%, transparent); padding-bottom: 130px; }

.kicker { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--fuchsia); margin-bottom: 14px; }
.section-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: 40px; text-shadow: 0 0 40px rgba(168,85,247,.35);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* About */
.about-lead { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.45; max-width: 780px; color: var(--starlight); }
.about-lead strong { color: #fff; font-weight: 600; text-shadow: 0 0 24px rgba(232,121,249,.6); }
.about-sub { margin-top: 26px; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); }
.about-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 46px; }
.pillar { padding: 24px; border-radius: var(--radius); }
.pillar-icon { font-size: 1.6rem; margin-bottom: 10px; filter: drop-shadow(0 0 12px rgba(217,70,239,.6)); }
.pillar h3 { font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--pink); margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .9rem; }

.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Project — Oliver Method showcase */
.features-container {
  position: relative; text-align: center; max-width: 720px; margin-inline: auto;
  padding: 54px 40px 44px; border-radius: 26px;
  background: linear-gradient(165deg, rgba(42, 20, 82, 0.72), rgba(12, 5, 28, 0.88));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(232,121,249,.08), 0 30px 80px rgba(5,1,15,.6), 0 0 90px rgba(124,58,237,.28);
  overflow: hidden;
}
.features-container::after { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 280px; background: radial-gradient(ellipse, rgba(168,85,247,.4), transparent 70%); pointer-events: none; }
.feature-img { width: min(300px, 64vw); margin: 0 auto 6px; display: block; filter: drop-shadow(0 18px 40px rgba(124,58,237,.55)); animation: oliverFloat 6s ease-in-out infinite; position: relative; }
@keyframes oliverFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.02); } }
.feature-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4.6vw, 2.5rem); letter-spacing: .08em; background: linear-gradient(180deg,#fff,#e9d5ff 45%,#c084fc 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(168,85,247,.5)); }
.feature-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .3em; color: var(--pink); margin: 12px 0 18px; opacity: .95; }
.feature-description { color: var(--lavender); max-width: 520px; margin: 0 auto; font-size: 1rem; }
.feature-bullets { list-style: none; margin: 22px auto 0; max-width: 420px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.feature-bullets li { color: var(--muted); font-size: .9rem; padding-left: 22px; position: relative; }
.feature-bullets li::before { content: "✦"; position: absolute; left: 0; color: var(--fuchsia); text-shadow: 0 0 10px rgba(217,70,239,.8); }

.card-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; position: relative; }
.download-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 15px 38px; border-radius: 999px; cursor: pointer; text-decoration: none; color: #1a0530; border: none;
  background: linear-gradient(120deg, #f5d0fe, #e879f9 45%, #c084fc);
  box-shadow: 0 0 28px rgba(232,121,249,.5), inset 0 1px 0 #fff;
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(232,121,249,.65); filter: brightness(1.06); }
.download-btn-ghost { background: rgba(168,85,247,.12); color: var(--lavender); border: 1px solid var(--line-strong); box-shadow: none; }
.download-btn-ghost:hover { color: #fff; border-color: var(--violet); box-shadow: 0 0 22px rgba(168,85,247,.4); }
.card-footnote { margin-top: 20px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: #6f6394; text-transform: uppercase; }

/* Social */
.social-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.social-link {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none;
  width: 150px; padding: 30px 18px 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px);
  color: var(--starlight); font-family: var(--font-head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .3s, box-shadow .3s, border-color .3s, color .3s;
}
.social-link svg { transition: transform .3s, filter .3s; }
.social-link.youtube:hover { border-color: rgba(255,77,77,.5); box-shadow: 0 0 34px rgba(255,77,77,.35); color: #ffb1b1; }
.social-link.discord:hover { border-color: rgba(88,101,242,.55); box-shadow: 0 0 34px rgba(88,101,242,.4); color: #c3c9ff; }
.social-link.tiktok:hover { border-color: rgba(37,244,238,.45); box-shadow: 0 0 34px rgba(37,244,238,.3); color: #a5fffb; }
.social-link:hover { transform: translateY(-6px); }
.social-link:hover svg { transform: scale(1.18); filter: drop-shadow(0 0 14px currentColor); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: rgba(8,3,20,.78); backdrop-filter: blur(12px); padding: 44px 20px 30px; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo { width: 64px; opacity: .92; filter: drop-shadow(0 0 18px rgba(168,85,247,.5)); }
.footer-divider { width: min(520px, 80vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(197,147,255,.4), transparent); }
.footer-copyright { color: var(--muted); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; }

/* ============ MODALS ============ */
.buy-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.buy-modal.open { display: block; }
.buy-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 1, 10, 0.74); backdrop-filter: blur(8px); animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.buy-modal-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px)); max-height: min(92svh, 760px); overflow-y: auto;
  background: linear-gradient(170deg, rgba(38, 19, 74, 0.92), rgba(12, 5, 28, 0.96));
  border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 30px 28px 26px; text-align: center;
  box-shadow: 0 0 0 1px rgba(232,121,249,.07), 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(124,58,237,.35);
  animation: modalIn .38s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.92); } }
.buy-modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(168,85,247,.1); color: var(--lavender);
  cursor: pointer; font-size: .8rem; transition: all .25s;
}
.buy-modal-close:hover { color: #fff; border-color: var(--fuchsia); box-shadow: 0 0 14px rgba(217,70,239,.5); transform: rotate(90deg); }
.buy-modal-title { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .03em; }
.buy-modal-sub { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--pink); margin: 6px 0 18px; }

.buy-plans { display: grid; gap: 12px; margin-bottom: 16px; }
.buy-plan {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "days days"; gap: 2px 12px; text-align: left;
  background: rgba(168,85,247,.07); border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 18px; cursor: pointer; color: var(--starlight); transition: all .25s;
}
.buy-plan:hover { border-color: var(--violet); box-shadow: 0 0 22px rgba(168,85,247,.35); transform: translateY(-2px); }
.buy-plan.featured { border-color: rgba(232,121,249,.45); background: linear-gradient(140deg, rgba(124,58,237,.3), rgba(217,70,239,.15)); box-shadow: 0 0 26px rgba(168,85,247,.3); }
.buy-plan-name { grid-area: name; font-family: var(--font-head); font-weight: 600; }
.buy-plan-price { grid-area: price; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.buy-plan-days { grid-area: days; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.buy-amount { font-family: var(--font-display); font-size: 1.6rem; margin: 4px 0 14px; }
.buy-amount small { font-size: .6em; color: var(--muted); }
.buy-qr {
  width: 212px; height: 212px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center;
  background: #ffffff; padding: 12px; box-shadow: 0 0 0 1px rgba(232,121,249,.4), 0 0 44px rgba(168,85,247,.45);
}
.buy-qr-img { width: 100%; height: 100%; image-rendering: pixelated; border-radius: 8px; }
.buy-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #c4b5fd; border-top-color: #7c3aed; animation: rot 0.9s linear infinite; margin-bottom: 8px; }
@keyframes rot { to { transform: rotate(360deg); } }
.buy-hint { color: #3f2b63; font-size: .8rem; font-weight: 500; }
.buy-note { color: var(--muted); font-size: .78rem; margin-top: 12px; }
.buy-status { display: flex; align-items: center; gap: 9px; justify-content: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #f0abfc; min-height: 1.4em; margin-top: 4px; }
.buy-dot { width: 9px; height: 9px; border-radius: 50%; background: #f0abfc; box-shadow: 0 0 10px #e879f9; animation: pulse 1.2s infinite; }
.buy-dot-good { background: #34d399; box-shadow: 0 0 12px #34d399; animation: none; }
.buy-ref, .buy-timer { font-family: var(--font-mono); font-size: .66rem; color: #6f6394; margin-top: 6px; letter-spacing: .08em; }
.buy-error-msg { color: #fda4af; font-size: .8rem; margin-top: 10px; }

.buy-success-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #12081f; background: linear-gradient(135deg, #a7f3d0, #34d399); box-shadow: 0 0 34px rgba(52,211,153,.5); }
.buy-error-icon { width: 64px; height: 64px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; color: #2b0713; background: linear-gradient(135deg, #fecaca, #f87171); box-shadow: 0 0 34px rgba(248,113,113,.45); }
.buy-success-title { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 10px; }
.buy-key-label { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); text-align: left; margin: 14px 0 8px; }
.buy-key { font-family: var(--font-mono); font-size: .95rem; letter-spacing: .1em; color: #f0abfc; background: rgba(5,1,15,.7); border: 1px dashed rgba(232,121,249,.45); padding: 14px; border-radius: 10px; word-break: break-all; }
.buy-input { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(5,1,15,.65); color: var(--starlight); font-family: var(--font-mono); outline: none; transition: box-shadow .25s; }
.buy-input:focus { box-shadow: 0 0 0 3px rgba(168,85,247,.22); border-color: var(--violet); }
.buy-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.buy-primary-btn { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); color: #fff; border: none; border-radius: 999px; padding: 13px 26px; cursor: pointer; box-shadow: 0 0 22px rgba(168,85,247,.5); transition: all .25s; }
.buy-primary-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.buy-primary-btn[disabled] { opacity: .6; cursor: wait; }
.buy-secondary-btn, .buy-link-btn { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(168,85,247,.1); color: var(--lavender); border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 22px; cursor: pointer; text-decoration: none; transition: all .25s; }
.buy-secondary-btn:hover, .buy-link-btn:hover { color: #fff; border-color: var(--violet); }

/* account modal */
.account-card { text-align: left; }
.account-card .buy-modal-title, .account-card .buy-modal-sub { text-align: center; }
.account-step { text-align: center; }
.discord-signin-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; cursor: pointer;
  background: var(--discord); border: none; border-radius: 12px; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: 15px 20px;
  box-shadow: 0 0 26px rgba(88,101,242,.45), inset 0 1px 0 rgba(255,255,255,.28); transition: all .25s;
}
.discord-signin-btn:hover { background: var(--discord-hover); transform: translateY(-2px); box-shadow: 0 0 36px rgba(88,101,242,.6); }
.discord-signin-btn[disabled] { opacity: .65; cursor: wait; }
.discord-signin-logo { width: 22px; height: 22px; }
.account-fineprint { font-size: .68rem; opacity: .75; }
.account-profile { display: flex; align-items: center; gap: 16px; background: rgba(168,85,247,.08); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.account-avatar-lg, .account-avatar { border-radius: 50%; border: 2px solid var(--violet); box-shadow: 0 0 18px rgba(168,85,247,.6); object-fit: cover; background: var(--space-3); }
.account-avatar-lg { width: 56px; height: 56px; }
.account-profile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-profile-text strong { font-family: var(--font-head); font-size: 1.02rem; }
.account-meta { font-family: var(--font-mono); font-size: .62rem; color: var(--muted); letter-spacing: .08em; }
.account-discord-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-top: 10px; border-radius: 12px; border: 1px solid rgba(88,101,242,.4); background: rgba(88,101,242,.12); }
.account-discord-text { min-width: 0; }
.account-discord-name { display: block; font-family: var(--font-head); font-size: .85rem; color: #c3c9ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-discord-verified { display: inline-flex; align-items: center; gap: 6px; color: #7ee2b8; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }
.account-discord-verified svg { width: 13px; height: 13px; }
.account-history-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; }
.account-history-title { font-family: var(--font-head); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); }
.account-refresh { background: none; border: 1px solid var(--line-strong); color: var(--lavender); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.account-refresh:hover { color: #fff; border-color: var(--violet); }
.account-history { display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.purchase { border: 1px solid var(--line); border-left: 3px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; background: rgba(5,1,15,.4); }
.purchase-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.purchase-plan { font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.purchase-badge { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-pending { background: rgba(240,171,252,.12); color: #f0abfc; border: 1px solid rgba(240,171,252,.35); }
.badge-paid { background: rgba(52,211,153,.1); color: #6ee7b7; border: 1px solid rgba(52,211,153,.35); }
.badge-issued { background: rgba(96,165,250,.1); color: #93c5fd; border: 1px solid rgba(96,165,250,.35); }
.badge-error { background: rgba(248,113,113,.1); color: #fca5a5; border: 1px solid rgba(248,113,113,.35); }
.badge-dead { background: rgba(167,155,199,.08); color: var(--muted); border: 1px solid var(--line); }
.purchase-meta { font-family: var(--font-mono); font-size: .62rem; color: var(--muted); margin: 7px 0 8px; }
.purchase-note { color: var(--muted); font-size: .78rem; margin-bottom: 6px; }
.purchase-key-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.purchase-key { font-family: var(--font-mono); font-size: .74rem; color: #f0abfc; background: rgba(5,1,15,.6); border: 1px dashed rgba(232,121,249,.35); padding: 8px 10px; border-radius: 8px; word-break: break-all; flex: 1; }
.purchase-action { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(168,85,247,.14); border: 1px solid var(--line-strong); color: var(--lavender); padding: 9px 14px; border-radius: 8px; cursor: pointer; transition: all .25s; }
.purchase-action:hover { color: #fff; border-color: var(--violet); }
.purchase-action-strong { background: var(--grad); color: #fff; border-color: transparent; }

/* ============ TOAST ============ */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 16px); background: var(--glass-strong); border: 1px solid var(--violet); color: #fff; padding: 12px 24px; border-radius: 12px; font-family: var(--font-head); font-size: .84rem; opacity: 0; pointer-events: none; transition: all .35s; z-index: 200; box-shadow: var(--glow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ DEVELOPER PROFILE EDITOR ============ */
.dev-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.edit-pill {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: #1a0530; background: linear-gradient(120deg, #f5d0fe, #e879f9 45%, #c084fc); border: none;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 700;
  box-shadow: 0 0 18px rgba(232,121,249,.45); transition: transform .25s, box-shadow .25s;
}
.edit-pill:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(232,121,249,.6); }
.dev-avatar-img { object-fit: cover; background: var(--space-3); border: 1px solid var(--line-strong); }

.dev-social { display: flex; gap: 16px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; justify-content: center; }
.dev-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; transition: color .25s; }
.dev-social a svg { width: 15px; height: 15px; fill: currentColor; }
.dev-social a.discord:hover { color: #9aa5ff; }
.dev-social a.tiktok:hover { color: #7df5ef; }

.profile-card { width: min(560px, calc(100vw - 32px)); text-align: left; max-height: min(92svh, 720px); overflow-y: auto; }
.profile-card .buy-modal-title, .profile-card .buy-modal-sub { text-align: center; }
.profile-rows { display: flex; flex-direction: column; gap: 16px; }
.profile-row { background: rgba(168,85,247,.06); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.profile-row-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.profile-row-title span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-field { display: flex; flex-direction: column; gap: 5px; }
.pf-field.pf-full { grid-column: 1 / -1; }
.pf-field label { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pf-field input, .pf-field select {
  background: rgba(5,1,15,.6); border: 1px solid var(--line-strong); color: var(--starlight);
  border-radius: 9px; padding: 10px 12px; font-family: var(--font-body); font-size: .86rem; outline: none;
}
.pf-field input:focus, .pf-field select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(168,85,247,.2); }
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .top-nav { top: 14px; gap: 2px; padding: 6px; }
  .nav-link { display: none; }
  .nav-link.nav-account-btn { display: inline-flex; }
  .nav-toggle { display: block; }
  .header-logo { top: 10px; left: 14px; }
  .logo-img { width: 44px; height: 44px; }
  .logo-text { display: none; }
  .hero-title { font-size: clamp(4.4rem, 24vw, 7rem); }
}
@media (max-width: 640px) {
  .content-section { padding: 80px 0; }
  .features-container { padding: 40px 20px 32px; }
  .social-link { width: 108px; padding: 22px 10px 18px; font-size: .64rem; }
  .buy-modal-card { padding: 24px 18px 20px; }
  .orbit-b { display: none; }
}
/* Always animated — site is designed for motion, no user toggle. */
/* html.reduce-motion rule intentionally absent */
