@font-face {
  font-family: 'Grobold';
  src: url('assets/GROBOLD.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #0a0a14;
  --bg2: #0f0f1a;
  --bg3: #13132a;
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --accent: #f59e0b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(124,58,237,0.2);
  --card: rgba(255,255,255,0.04);
  --font: 'Poppins', sans-serif;
  --font-title: 'Grobold', 'Poppins', sans-serif;
  --radius: 12px;
}

h1, h2, h3, h4, h5, h6, 
.nav-links a, .btn-primary, .btn-outline, .btn-nav, 
.badge-num, .stat-num, .sec-tag, .panel-tag, .step-badge,
.tut-tab-btn, .btn-tut-download, .copy-btn, .logo-accent,
.server-status, .server-val, .hot-ribbon, .phone-play-btn {
  font-family: var(--font-title);
  font-weight: normal !important;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; width: 100%; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px 0;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-wrap {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.02em;
  width: max-content;
  max-width: 100%;
}
.logo-img { border-radius: 8px; }
.logo-img-title {
  height: 45px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.logo-img-title:hover {
  transform: scale(1.05);
}
.navbar.scrolled .logo-img-title {
  height: 50px;
}
.footer-logo {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
}
.footer-logo .logo-img-title {
  height: 55px;
  max-width: none;
}
.logo-accent { color: var(--purple-light); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; padding: 7px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.07); }
.btn-nav {
  background: var(--purple) !important; color: #fff !important;
  font-weight: 600 !important; padding: 8px 20px !important;
  border-radius: 8px !important;
}
.btn-nav:hover { background: #6d28d9 !important; transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); width: 38px; height: 38px; border-radius: 8px;
  cursor: pointer; font-size: 1rem; align-items: center; justify-content: center;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh; min-height: 100dvh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(5, 5, 16, 0.85) 0%, rgba(13, 5, 32, 0.85) 50%, rgba(5, 5, 16, 0.85) 100%), url('assets/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 24px 80px;
}
.hero-bg-stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 40%, rgba(168,85,247,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 30% 60%, rgba(168,85,247,0.4) 0%, transparent 100%);
}
.hero-bg-grad {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(124,58,237,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 40%, rgba(124,58,237,0.1) 0%, transparent 70%);
}
.hero-wrap {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
  pointer-events: none;
}
.hero-left, .hero-right {
  pointer-events: auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,0.2); border: 1px solid rgba(124,58,237,0.5);
  color: var(--purple-light); font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero-left h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 900;
  line-height: 1.25; margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 
    -1px -1px 0 rgba(255, 255, 255, 0.15),  
    1px 1px 0 rgba(255, 255, 255, 0.45), 
    0 4px 15px rgba(0, 0, 0, 0.65),
    0 0 15px rgba(168, 85, 247, 0.6),
    0 0 35px rgba(124, 58, 237, 0.3);
}
.hero-gt-title {
  height: 1.1em;
  width: auto;
  vertical-align: middle;
  margin: 0 4px;
  display: inline-block;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.grad-text {
  background: linear-gradient(90deg, #a855f7, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  color: var(--muted); font-size: 1rem; line-height: 1.75;
  max-width: 500px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff; text-decoration: none; padding: 13px 28px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 0 30px rgba(124,58,237,0.4);
  transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(124,58,237,0.6); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; text-decoration: none;
  padding: 13px 28px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }

.hero-badges { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 10px; }
.badge i { font-size: 1.4rem; color: var(--purple-light); }
.badge-num {
  display: block; font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1;
}
.badge-label { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.badge-sep { width: 1px; height: 36px; background: var(--border); }

/* HERO RIGHT */
.hero-img-wrap { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute; width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; pointer-events: none;
}
.hero-char {
  width: 100%; max-width: 380px; border-radius: 20px;
  position: relative; z-index: 1;
  border: 1px solid rgba(124,58,237,0.3);
  box-shadow: 0 0 60px rgba(124,58,237,0.2);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-float {
  position: absolute; background: rgba(15,15,30,0.92);
  border: 1px solid rgba(124,58,237,0.4); border-radius: 100px;
  padding: 7px 14px; font-size: 0.78rem; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  z-index: 2;
}
.hero-float i { color: var(--accent); }
.hero-float-1 { top: 10%; left: -20px; animation: floatbadge 3s ease-in-out infinite; }
.hero-float-2 { bottom: 20%; right: -20px; animation: floatbadge 3s ease-in-out infinite 1s; }
.hero-float-3 { bottom: 8%; left: 10%; animation: floatbadge 3s ease-in-out infinite 0.5s; }
@keyframes floatbadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ---- MARQUEE ---- */
.marquee-wrap {
  background: linear-gradient(90deg, #7c3aed, #9333ea);
  padding: 13px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track span { font-size: 0.85rem; font-weight: 600; color: #fff; white-space: nowrap; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---- SECTIONS ---- */
.section { padding: 90px 0; overflow: hidden; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag {
  display: inline-block; background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35); color: var(--purple-light);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 14px; border-radius: 100px; margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800;
  color: #fff; margin-bottom: 12px; letter-spacing: -0.02em;
}
.sec-head p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ---- FEATURES ---- */
.features-section { background: var(--bg2); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px; position: relative;
  transition: all 0.25s;
}
.feat-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.06); }
.feat-hot { border-color: var(--purple); box-shadow: 0 0 24px rgba(124,58,237,0.15); }
.hot-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #7c3aed, #f59e0b);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.feat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feat-icon.purple { background: rgba(124,58,237,0.2); color: #a855f7; }
.feat-icon.yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.feat-icon.blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.feat-icon.green { background: rgba(16,185,129,0.15); color: #34d399; }
.feat-icon.pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.feat-icon.orange { background: rgba(249,115,22,0.15); color: #fb923c; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

/* ---- HOW TO ---- */
.howto-section { background: var(--bg); }
.steps-wrap {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px; margin-bottom: 56px; flex-wrap: wrap;
}
.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 20px; text-align: center;
  max-width: 220px; flex: 1; min-width: 180px;
  transition: all 0.2s; position: relative;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.5); }
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; font-size: 0.75rem; font-weight: 800;
  padding: 3px 12px; border-radius: 100px; letter-spacing: 0.05em;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(124,58,237,0.15); color: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 14px;
}
.step-card h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.step-arrow {
  color: var(--border); font-size: 1.2rem;
  margin-top: 50px; flex-shrink: 0;
}

/* SERVER BOX */
.server-box {
  max-width: 560px; margin: 0 auto;
  background: var(--bg3); border: 1px solid rgba(124,58,237,0.4);
  border-radius: 16px; overflow: hidden;
}
.server-box-title {
  background: linear-gradient(90deg, rgba(124,58,237,0.3), rgba(124,58,237,0.1));
  padding: 14px 24px; font-weight: 700; font-size: 0.9rem; color: #fff;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border);
}
.server-box-title i { color: var(--purple-light); }
.server-rows { padding: 8px 0; }
.server-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.server-row:last-child { border-bottom: none; }
.server-key { color: var(--muted); font-size: 0.85rem; }
.server-val-wrap { display: flex; align-items: center; gap: 10px; }
.server-val { font-family: monospace; font-size: 0.95rem; color: #fff; font-weight: 600; }
.copy-btn {
  background: rgba(124,58,237,0.2); color: var(--purple-light);
  border: 1px solid rgba(124,58,237,0.4); border-radius: 6px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  transition: all 0.2s; font-family: var(--font);
}
.copy-btn:hover { background: rgba(124,58,237,0.4); }
.copy-btn.copied { background: rgba(16,185,129,0.2); color: #34d399; border-color: rgba(16,185,129,0.4); }
.server-status { display: flex; align-items: center; gap: 6px; color: #34d399; font-weight: 600; font-size: 0.88rem; }
.dot-online {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px #34d399;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ---- STATS BANNER ---- */
.stats-banner {
  background: linear-gradient(135deg, #12053a, #1a0650);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.stats-row { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 150px; padding: 20px; }
.stat-num {
  display: block; font-size: 2.4rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
}
.stat-lbl { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-sep { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

/* ---- DOWNLOAD ---- */
.download-section { background: var(--bg2); }
.download-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.download-left .sec-tag { display: block; margin-bottom: 12px; }
.download-left h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: #fff; margin-bottom: 14px; letter-spacing: -0.02em;
}
.download-left p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; line-height: 1.7; }
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; padding: 12px 22px; border-radius: 12px;
  border: 1px solid var(--border); transition: all 0.2s;
  color: #fff;
}
.dl-btn i { font-size: 1.6rem; }
.dl-btn .dl-small { display: block; font-size: 0.7rem; color: var(--muted); }
.dl-btn .dl-big { display: block; font-size: 0.95rem; font-weight: 700; }
.dl-btn.android { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.4); }
.dl-btn.android:hover { background: rgba(124,58,237,0.3); transform: translateY(-2px); }
.dl-btn.ios { background: rgba(255,255,255,0.05); }
.dl-btn.ios:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.dl-btn.pc { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); }
.dl-btn.pc:hover { background: rgba(59,130,246,0.2); transform: translateY(-2px); }
.discord-cta { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.discord-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #5865F2; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 0.88rem;
  transition: all 0.2s;
}
.discord-btn:hover { background: #4752c4; transform: translateY(-1px); }
.discord-cta span { color: var(--muted); font-size: 0.82rem; }

/* PHONE MOCK */
.download-right { display: flex; justify-content: center; }
.phone-mock {
  width: 220px;
  background: #111; border-radius: 36px;
  border: 2px solid rgba(124,58,237,0.4);
  padding: 8px; box-shadow: 0 0 60px rgba(124,58,237,0.2);
  animation: float 4s ease-in-out infinite;
}
.phone-screen { background: #0d0520; border-radius: 28px; overflow: hidden; min-height: 380px; }
.phone-content { padding: 32px 20px; text-align: center; }
.phone-stats { display: flex; justify-content: space-around; margin-bottom: 24px; }
.ph-stat span { display: block; font-weight: 800; color: var(--purple-light); font-size: 1.1rem; }
.ph-stat small { color: var(--muted); font-size: 0.7rem; }
.phone-play-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 10px 20px; border-radius: 10px; cursor: pointer;
}

/* ---- FOOTER ---- */
.footer { background: #06060f; border-top: 1px solid var(--border); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 1.2rem !important; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; color: var(--muted); text-decoration: none;
  font-size: 0.9rem; transition: all 0.2s;
}
.social-links a:hover { background: rgba(124,58,237,0.2); color: var(--purple-light); border-color: rgba(124,58,237,0.5); }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-light); }
.footer-bot {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bot span { color: var(--muted); font-size: 0.8rem; }
.footer-disc { font-size: 0.72rem !important; opacity: 0.6; }

/* ---- INTERACTIVE TUTORIAL TABS ---- */
.tutorial-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 100px;
  max-width: 850px;
  margin: 0 auto 40px;
  backdrop-filter: blur(8px);
}
.tut-tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 110px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tut-tab-btn i {
  font-size: 1.05rem;
}
.custom-tab-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}
.orange-glow {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.green-glow {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.purple-glow {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}
.tut-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.tut-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.tutorial-glass-wrapper {
  position: relative;
  width: 100%;
  max-width: 850px;
  margin: 0 auto 50px;
}
.tutorial-container-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.blob-1 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--purple-light), #6366f1);
  top: -60px;
  left: -80px;
  animation: blobFloat1 16s ease-in-out infinite alternate;
}
.blob-2 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #fb923c, #ec4899);
  bottom: -90px;
  right: -80px;
  animation: blobFloat2 20s ease-in-out infinite alternate;
}
.blob-3 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #34d399, #60a5fa);
  top: 35%;
  left: 40%;
  animation: blobFloat3 18s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  100% {
    transform: translate(90px, 60px) scale(1.15);
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
}
@keyframes blobFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  100% {
    transform: translate(-100px, -70px) scale(0.9);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}
@keyframes blobFloat3 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  100% {
    transform: translate(70px, -90px) scale(1.2);
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
  }
}
.tutorial-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tutorial-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.panel-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--purple-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.panel-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.panel-header p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tut-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.tut-step:last-child {
  margin-bottom: 0;
}
.tut-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.4), transparent);
}
.tut-step:last-child::before {
  display: none;
}
.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 2px solid var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
}
.step-desc {
  flex: 1;
}
.step-desc h4 {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.step-subtext {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.8;
  margin-top: 8px;
}
.warning-text {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  color: #fb923c;
  margin-top: 10px;
  line-height: 1.5;
}
.warning-text i {
  margin-top: 2px;
}
.sub-steps {
  margin: 10px 0 10px 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.sub-steps li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.tut-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.dl-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--purple-light);
  flex-shrink: 0;
}
.dl-card-info {
  flex: 1;
}
.dl-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  display: block;
  margin-bottom: 2px;
}
.dl-card-info h5 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}
.dl-card-info p {
  color: var(--muted);
  font-size: 0.78rem;
}
.btn-tut-download {
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-tut-download:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.code-box-wrapper {
  position: relative;
  margin: 14px 0;
  background: #06060c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px 18px;
}
.code-box-wrapper pre {
  margin: 0;
  overflow-x: auto;
}
.code-box-wrapper code {
  font-family: monospace;
  font-size: 0.82rem;
  color: #a78bfa;
}
.btn-copy-code {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-copy-code.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* ---- ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media(max-width:960px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-right { display: none; }
  .hero-badges { justify-content: center; }
  .hero-btns { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .download-wrap { grid-template-columns: 1fr; }
  .download-right { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  
  .tutorial-glass-wrapper {
    width: auto;
    margin: 0 16px 40px;
  }
  .tutorial-container-box {
    padding: 30px 24px;
  }
}
@media(max-width:700px) {
  .nav-links {
    display: none; position: fixed; inset: 0; background: rgba(6,6,15,0.98);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 20px; z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-wrap { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .stats-row { gap: 0; }
  .stat-sep { width: 60px; height: 1px; }
  .stat-item { min-width: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; text-align: center; }

  .tutorial-tabs-nav {
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
    margin: 0 16px 30px;
  }
  .tut-tab-btn {
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    min-width: 90px;
  }
  .tutorial-glass-wrapper {
    width: auto;
    margin: 0 16px 45px;
  }
  .floating-wl {
    width: 50px;
    opacity: 0.3;
  }
  .tutorial-container-box {
    padding: 24px 16px;
  }
  .tut-step {
    gap: 12px;
  }
  .step-badge {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .tut-step::before {
    left: 15px;
    top: 32px;
    bottom: -32px;
  }
  .panel-header h3 {
    font-size: 1.35rem;
  }
  .tut-download-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
    padding: 20px 16px;
  }
  .dl-card-icon {
    margin: 0 auto;
  }
  .btn-tut-download {
    width: 100%;
    justify-content: center;
  }
}

/* ---- FLOATING WORLD LOCK ---- */
.floating-wl {
  position: absolute;
  top: 18%;
  left: 75%;
  width: 90px;
  height: auto;
  z-index: 1;
  opacity: 0.55;
  cursor: pointer;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.45));
  mix-blend-mode: screen;
  animation: floatWL 6s ease-in-out infinite;
  transition: filter 0.2s ease, opacity 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.floating-wl:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.9)) brightness(1.05);
}
.floating-wl.clicked {
  animation: escapeWL 0.8s cubic-bezier(0.25, 1, 0.50, 1) forwards;
  pointer-events: none;
}
.floating-wl.spawning {
  animation: spawnWL 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes floatWL {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-15px, -12px) rotate(4deg);
  }
  50% {
    transform: translate(15px, -24px) rotate(-6deg);
  }
  75% {
    transform: translate(-8px, -8px) rotate(3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes escapeWL {
  0% {
    transform: scale(1) translate(0, 0) rotate(0deg);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 0 20px rgba(245, 158, 11, 0.85));
  }
  100% {
    transform: scale(0.2) translate(220px, -220px) rotate(720deg);
    opacity: 0;
    filter: blur(5px) drop-shadow(0 0 0px rgba(245, 158, 11, 0));
  }
}

@keyframes spawnWL {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
    filter: blur(5px);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0px);
  }
}

.wl-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 2px;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 0 6px #fbbf24;
}

/* ---- COMMUNITY SECTION ---- */
.community-section {
  padding: 80px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.community-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.community-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(var(--card-glow-rgb), 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.community-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--card-glow-rgb), 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(var(--card-glow-rgb), 0.15);
}
.community-card:hover::before {
  opacity: 1;
}
.community-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  background: rgba(var(--card-glow-rgb), 0.1);
  color: rgb(var(--card-glow-rgb));
  transition: transform 0.3s ease;
}
.community-card:hover .community-icon {
  transform: scale(1.1) rotate(5deg);
}
.community-card.discord {
  --card-glow-rgb: 88, 101, 242; /* Discord Blurple */
}
.community-card.whatsapp {
  --card-glow-rgb: 37, 211, 102; /* WhatsApp Green */
}
.community-card.instagram {
  --card-glow-rgb: 225, 48, 108; /* Instagram Pink/Red */
}
.community-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-title);
}
.community-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.community-stats {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-stats .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.community-btn {
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: rgba(var(--card-glow-rgb), 0.1);
  border: 1px solid rgba(var(--card-glow-rgb), 0.3);
  transition: all 0.3s ease;
  font-family: var(--font-title);
  text-align: center;
  position: relative;
  z-index: 2;
}
.community-card:hover .community-btn {
  background: rgb(var(--card-glow-rgb));
  border-color: rgb(var(--card-glow-rgb));
  box-shadow: 0 0 15px rgba(var(--card-glow-rgb), 0.4);
}
