/* ================================================================
   THANHUB — DESIGN SYSTEM v4 (LANDING PAGE - ULTRA PREMIUM)
   Deep black + electric blue + violet — premium glassmorphism
   ================================================================ */

:root {
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);

  /* Color Palette */
  --bg:              #000000;
  --bg-1:            #040508;
  --bg-2:            #06080d;
  --surface:         rgba(255, 255, 255, 0.03);
  --surface-mid:     rgba(255, 255, 255, 0.06);
  --surface-strong:  rgba(255, 255, 255, 0.09);
  --line:            rgba(255, 255, 255, 0.06);
  --line-mid:        rgba(255, 255, 255, 0.12);
  --line-strong:     rgba(255, 255, 255, 0.20);

  --text:            #f5f5f7;
  --muted:           #9aa0a6;
  --subtle:          #636366;

  --blue:            #4aa3ff;
  --blue-dark:       #2c85ff;
  --blue-glow:       rgba(74, 163, 255, 0.28);
  --violet:          #8b5cf6;
  --violet-glow:     rgba(139, 92, 246, 0.22);
  --green:           #34c759;
  --green-soft:      rgba(52, 199, 89, 0.12);
  --amber:           #ff9f0a;
  --red:             #ff453a;

  --shadow:          0 12px 40px rgba(0, 0, 0, 0.65);
  --shadow-lg:       0 32px 80px rgba(0, 0, 0, 0.8);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { overflow: hidden; position: relative; z-index: 1; }

img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

/* ── Ambient Background ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-1);
  overflow: hidden;
}

/* Grid overlay */
.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 40%, transparent 100%);
  z-index: 0;
}

/* Floating Radial Blobs */
.site-bg::after {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  top: -200px; right: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 163, 255, 0.12) 0%, transparent 70%);
  animation: blob-float 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 30px) scale(1.06); }
}

/* ── Container & Section ── */
.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 120px 0; }

.section-alt {
  background: rgba(255, 255, 255, 0.012);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* ── Section Head ── */
.section-head {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(74, 163, 255, 0.22);
  border-radius: var(--r-pill);
  background: rgba(74, 163, 255, 0.06);
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.section-head p {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

/* ── Navbar ── */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  width: 100%;
  padding-top: var(--safe-top);
  background: rgba(4, 5, 8, 0.75);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.nav-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-mid);
  padding: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-mid);
}

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

.nav-menu-btn {
  display: none;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  cursor: pointer;
  outline: none;
}

.nav-menu-btn .bar {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 99px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-menu-btn.active .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-btn.active .bar:nth-child(2) { opacity: 0; }
.nav-menu-btn.active .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 24px rgba(74, 163, 255, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 32px rgba(74, 163, 255, 0.45);
}

.btn-secondary {
  color: var(--blue);
  background: rgba(74, 163, 255, 0.07);
  border-color: rgba(74, 163, 255, 0.22);
}

.btn-secondary:hover {
  background: rgba(74, 163, 255, 0.12);
  border-color: rgba(74, 163, 255, 0.4);
}

.btn-soft {
  color: var(--text);
  background: var(--surface-mid);
  border-color: var(--line-mid);
}

.btn-soft:hover {
  background: var(--surface-strong);
  border-color: var(--line-strong);
}

.nav-btn {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* ── Live status dot ── */
.live-dot {
  width: 8px; height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.7);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 6px rgba(52, 199, 89, 0.5); }
  50%       { box-shadow: 0 0 16px rgba(52, 199, 89, 0.8), 0 0 28px rgba(52, 199, 89, 0.3); }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  isolation: isolate;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(500px, 1.05fr);
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 30%, var(--blue) 80%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 480px;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 11, 16, 0.6);
}

.stat {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── Hero Panel 3D Mockup ── */
.hero-panel {
  position: relative;
  width: min(680px, 52vw);
  min-height: 440px;
  justify-self: end;
  display: grid;
  align-items: center;
}

.hero-image-shell {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16/10;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: all 0.4s ease;
  border-radius: var(--r-lg);
}

.hero-panel:hover .hero-image-shell {
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-5px);
}

.hero-image-shell::before {
  content: "";
  position: absolute;
  inset: 5% 3%;
  z-index: -1;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(74,163,255,0.32), transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(139,92,246,0.22), transparent 38%);
  filter: blur(20px);
  opacity: 0.85;
}

.hero-image-shell img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-mid);
  box-shadow:
    0 32px 70px rgba(0,0,0,0.65),
    0 0 1px rgba(255,255,255,0.06) inset,
    0 0 48px rgba(74,163,255,0.1);
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.92);
  background: rgba(4, 5, 8, 0.85);
  border: 1px solid rgba(74,163,255,0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 3;
}

/* ── Games Strip ── */
.games-strip {
  padding: 28px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-heading {
  margin-bottom: 14px;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.games-list-modern { display: flex; flex-wrap: wrap; gap: 8px; }

.game-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.game-tag:hover {
  color: var(--text);
  background: var(--surface-mid);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ── Bot/Panel Grid ── */
.bot-operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.bot-operations-copy { max-width: 520px; }

.bot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(74,163,255,0.22);
  border-radius: 999px;
  background: rgba(74,163,255,0.06);
}

.bot-operations-copy h2,
.bot-operations-copy h3 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.bot-operations-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.bot-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.bot-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
}

.bot-policy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.bot-policy-link:hover { color: #fff; gap: 10px; }
.bot-review-link { margin-top: 8px; color: var(--subtle); }
.bot-review-link:hover { color: var(--muted); }

.bot-system-panel {
  padding: 30px;
  background: rgba(6, 7, 10, 0.9);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.bot-system-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.bot-system-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.bot-system-head img {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-mid);
  padding: 4px;
  background: var(--surface);
}

.bot-system-head strong { display: block; color: var(--text); font-size: 15px; font-weight: 800; }
.bot-system-head div span { display: block; margin-top: 2px; color: var(--subtle); font-size: 12px; }

.bot-system-status {
  padding: 4px 8px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(52,199,89,0.22);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bot-version-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.bot-version-grid article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}

.bot-version-grid article:hover {
  border-color: rgba(74, 163, 255, 0.28);
  background: rgba(74, 163, 255, 0.03);
}

.bot-version {
  display: inline-flex;
  padding: 3px 8px;
  color: var(--blue);
  background: rgba(74, 163, 255, 0.08);
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
}

.bot-version-grid h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.bot-version-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.bot-operations { background: #030406; }

/* ── Keys Cards ── */
.keys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.key-card {
  min-height: 280px;
  padding: 36px;
  border-radius: var(--r-lg);
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid var(--line-mid);
  box-shadow: var(--shadow);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.key-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 163, 255, 0.38);
  box-shadow: var(--shadow-lg), 0 0 1px rgba(74,163,255,0.15) inset;
}

.key-card.featured {
  background: linear-gradient(155deg, rgba(74, 163, 255, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(74, 163, 255, 0.38);
  box-shadow: var(--shadow), 0 0 40px rgba(74, 163, 255, 0.12);
}

.key-card.featured:hover {
  border-color: rgba(74, 163, 255, 0.6);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(74, 163, 255, 0.18);
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  color: var(--blue);
  background: rgba(74, 163, 255, 0.08);
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  width: fit-content;
}

.key-card h3 {
  margin-top: 24px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.key-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  transition: all 0.2s ease;
}

.card-link:hover { gap: 9px; color: #fff; }

/* ── Script copy container ── */
.script-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.script-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.script-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(52, 199, 89, 0.08);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: var(--r-pill);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.script-header h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.script-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.code-block {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-md);
  overflow: hidden;
}

.code-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.code-topbar span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy-btn {
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--line-mid);
  background: var(--surface-mid);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.copy-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.code-content {
  padding: 18px 20px;
  color: var(--blue);
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-all;
  user-select: all;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line-mid);
  border-radius: var(--r-md);
  overflow: hidden;
}

.steps-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(10, 11, 16, 0.85);
  transition: background 0.2s;
}

.steps-grid div:hover { background: rgba(18, 20, 28, 0.9); }

.steps-grid strong {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(74, 163, 255, 0.08);
  border: 1px solid rgba(74, 163, 255, 0.25);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.steps-grid span { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ── FAQ ── */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-row {
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-row:hover { border-color: rgba(74, 163, 255, 0.25); }
.faq-row.active { border-color: rgba(74, 163, 255, 0.35); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.faq-q:hover { color: var(--blue); }
.faq-row.active .faq-q { color: var(--blue); }

.faq-q span {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  background: var(--surface-mid);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-row.active .faq-q span {
  transform: rotate(45deg);
  background: rgba(74, 163, 255, 0.08);
  border-color: rgba(74, 163, 255, 0.3);
  color: var(--blue);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
}

.faq-row.active .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
  opacity: 1;
}

/* ── Footer ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: rgba(2, 2, 4, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner > div > strong { display: block; font-size: 15px; font-weight: 800; color: var(--text); }
.footer-inner > div > p { margin-top: 6px; color: var(--subtle); font-size: 13px; }

.footer-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--surface-mid);
}

/* ── Banner Ad ── */
.banner-ad {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 290px;
  padding: 18px 20px;
  background: rgba(6, 7, 10, 0.95);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: slide-in-right 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  cursor: pointer;
}

.banner-ad.show {
  display: flex;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.banner-badge {
  display: inline-flex;
  height: 22px;
  padding: 0 10px;
  background: rgba(74, 163, 255, 0.08);
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: var(--r-pill);
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-items: center;
  width: fit-content;
}

.banner-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  background: var(--surface-mid);
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.banner-close:hover { background: var(--surface-strong); color: var(--text); }
.banner-title { font-size: 14px; font-weight: 800; color: var(--text); }
.banner-subtitle { font-size: 12px; color: var(--muted); }
.banner-cta {
  display: inline-flex;
  height: 34px;
  padding: 0 14px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  align-items: center;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(74, 163, 255, 0.3);
}

/* ── Mobile Drawer ── */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  flex-direction: column;
  background: rgba(2, 2, 4, 0.98);
  padding: max(80px, calc(60px + var(--safe-top))) 24px max(32px, var(--safe-bottom));
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid var(--line-mid);
}

.nav-mobile-drawer.open { display: flex; transform: translateY(0); }
.nav-mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.nav-mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.nav-mobile-drawer a:hover,
.nav-mobile-drawer a:active {
  color: var(--text);
  background: var(--surface-mid);
  border-color: var(--line-mid);
}

.nav-mobile-drawer .drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.nav-mobile-drawer .drawer-actions a { flex: 1; justify-content: center; font-size: 14px; }

/* ── Responsive Adaptations ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy h1 { font-size: clamp(44px, 9vw, 68px); }
  .hero-panel { width: min(600px, 90vw); justify-self: center; }
  .hero-image-shell { transform: none; }
  .hero-panel:hover .hero-image-shell { transform: translateY(-4px); }
  .bot-operations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-bg::before, .site-bg::after {
    animation: none !important;
  }
  .section { padding: 80px 0; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(4, 5, 8, 0.98);
    z-index: 998;
    flex-direction: column;
    padding: 30px 24px;
    gap: 10px;
    display: flex;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.35s;
    opacity: 0;
    visibility: hidden;
    border-top: 1px solid var(--line-mid);
  }

  .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    justify-content: flex-start;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link:active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
  }

  .nav-actions .btn-secondary { display: none; }
  .nav-menu-btn { display: flex; }

  .hero {
    padding-top: max(100px, calc(80px + var(--safe-top)));
    padding-bottom: 60px;
  }
  .hero-stats { margin-top: 36px; max-width: 100%; }
  .keys-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .banner-ad {
    width: calc(100% - 32px);
    right: max(16px, var(--safe-right));
    bottom: max(16px, var(--safe-bottom));
    left: max(16px, var(--safe-left));
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: max(32px, var(--safe-bottom)); }

  .btn { min-height: 48px; }
  .nav-link { min-height: 40px; }
  .game-tag { min-height: 40px; }
  .faq-q { min-height: 50px; }
  .copy-btn { height: 34px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: clamp(34px, 10vw, 48px); letter-spacing: -1px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat { padding: 12px 8px; }
  .stat strong { font-size: 18px; }

  .bot-version-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .section-head p { font-size: 14px; }

  .key-card { padding: 26px 20px; }
  .key-card h3 { font-size: 22px; }
  .script-card { padding: 22px 18px; }
  .steps-grid div { padding: 12px 14px; }
  .faq-q { font-size: 14px; padding: 16px 18px; }
  .banner-ad { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =============================================================
   THANHUB BLUE/BLACK REFRESH OVERRIDES
   Consistent mobile-first palette for static pages.
   ============================================================= */
:root {
  --bg: #020617;
  --bg-dark: #030712;
  --bg-gradient: radial-gradient(circle at 20% 0%, rgba(37,99,235,.20), transparent 34rem), linear-gradient(180deg, #020617 0%, #061026 48%, #020617 100%);
  --surface: rgba(15, 23, 42, 0.66);
  --surface-mid: rgba(30, 41, 59, 0.72);
  --surface-strong: rgba(51, 65, 85, 0.82);
  --line: rgba(147, 197, 253, 0.12);
  --line-mid: rgba(147, 197, 253, 0.22);
  --line-strong: rgba(191, 219, 254, 0.34);
  --text: #f8fbff;
  --muted: #9fb0c7;
  --subtle: #64748b;
  --blue: #38bdf8;
  --blue-dark: #2563eb;
  --blue-glow: rgba(56, 189, 248, 0.28);
  --violet: #60a5fa;
  --violet-glow: rgba(96, 165, 250, 0.18);
  --green: #22c55e;
  --amber: #93c5fd;
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px rgba(2, 6, 23, 0.75);
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
}

body::after { animation: none; background: radial-gradient(circle, rgba(56,189,248,.16) 0%, transparent 64%); }
.return-home, .back-btn, .card, .plan-card, .script-box, .script-frame, .video-card, .reseller-card, .support-card, .howto, .faq-item, .policy-card {
  border-color: var(--line-mid) !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, .86), rgba(3, 7, 18, .9)) !important;
  box-shadow: var(--shadow) !important;
  border-radius: 14px !important;
}
.purchase-hero h1, .reseller-header h1, .hero h1, .video-title, .howto h1, .script-box h2 {
  background: linear-gradient(135deg, #ffffff 18%, #93c5fd 55%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.working-now-btn, .btn-primary, .purchase-btn, .script-copy-btn {
  background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
  border-color: rgba(147,197,253,.45) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(37,99,235,.28) !important;
  border-radius: 10px !important;
}
.card:hover, .plan-card:hover, .reseller-card:hover, .support-card:hover, .video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.42) !important;
}
input, textarea, select, .script-input {
  background: rgba(2, 6, 23, .72) !important;
  border-color: rgba(147,197,253,.22) !important;
  color: var(--text) !important;
}
@media (max-width: 720px) {
  .container, .reseller-page, main { width: min(100% - 22px, 1160px); }
  .purchase-hero, .reseller-header, .hero { padding-top: max(96px, calc(74px + var(--safe-top))); padding-bottom: 38px; }
  .card:hover, .plan-card:hover, .reseller-card:hover, .support-card:hover, .video-card:hover { transform: none; }
}

/* THANHUB 2026 SHARED PAGE SYSTEM */
:root {
  --bg: #020617;
  --bg-dark: #030712;
  --surface: rgba(7, 17, 38, .82);
  --surface-mid: rgba(15, 31, 62, .78);
  --surface-strong: rgba(24, 48, 91, .86);
  --line: rgba(125, 211, 252, .13);
  --line-mid: rgba(125, 211, 252, .22);
  --line-strong: rgba(186, 230, 253, .38);
  --text: #f8fbff;
  --muted: #9fb0c7;
  --subtle: #7183a0;
  --blue: #38bdf8;
  --blue-dark: #2563eb;
  --violet: #60a5fa;
  --green: #22c55e;
  --amber: #fbbf24;
  --shadow: 0 18px 44px rgba(0, 0, 0, .42);
  --shadow-lg: 0 32px 88px rgba(0, 0, 0, .68);
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
}
body { background-color: #020617; background-image: radial-gradient(circle at 12% -10%, rgba(37, 99, 235, .22), transparent 34rem), linear-gradient(180deg, #020617 0%, #06122a 52%, #020617 100%); }
body::before { opacity: .26; }
body::after { display: none; }
.container, .reseller-page, main { width: min(1180px, calc(100% - 36px)); }
.return-home, .back-btn { background: rgba(3, 12, 31, .88); border-color: var(--line-mid); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.return-home:hover, .back-btn:hover { background: #0b1d3d; border-color: rgba(56,189,248,.54); }
.purchase-hero, .reseller-header, .hero { padding-top: max(128px, calc(102px + var(--safe-top))); }
.purchase-hero h1, .reseller-header h1, .hero h1, .howto h1 { background: linear-gradient(135deg, #fff 12%, #bfdbfe 48%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; }
.howto, .card, .script-box, .price-card, .pay-box, .video-card, .reseller-card, .reseller-warning, .feature-card, .glass-panel { background: linear-gradient(145deg, rgba(8, 22, 48, .94), rgba(3, 9, 25, .96)); border-color: var(--line-mid); border-radius: 18px; box-shadow: var(--shadow); }
.card:hover, .price-card:hover, .reseller-card:hover { border-color: rgba(56,189,248,.48); box-shadow: 0 22px 52px rgba(0,0,0,.46), 0 0 0 1px rgba(56,189,248,.08) inset; }
.script-frame, .pay-methods button, .input-group, input, textarea, select { border-color: var(--line-mid); background: rgba(2, 8, 24, .82); }
.btn-primary, .buy-btn, .price-btn, .purchase-btn, .script-copy-btn, .working-now-btn { background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: rgba(125,211,252,.42); border-radius: 11px; box-shadow: 0 10px 26px rgba(37,99,235,.24); }
.btn-primary:hover, .buy-btn:hover, .price-btn:hover, .purchase-btn:hover, .script-copy-btn:hover, .working-now-btn:hover { background: linear-gradient(135deg, #1d4ed8, #0284c7); }
.footer { background: rgba(2, 6, 23, .72); border-top-color: var(--line); }
@media (max-width: 720px) {
  .container, .reseller-page, main { width: min(100% - 22px, 1180px); }
  .howto, .script-box, .card, .price-card, .pay-box, .reseller-card { border-radius: 15px; }
  .howto, .script-box, .pay-box { padding: 24px 18px; }
  .script-frame { display: grid; }
  .script-copy-btn { min-height: 44px; border-left: 0; border-top: 1px solid var(--line-mid); }
}