*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --xlh-bg:#0f0e1a;
  --xlh-surface:rgba(255,255,255,.06);
  --xlh-glass:rgba(18,16,36,.72);
  --xlh-primary:#6c5ce7;
  --xlh-accent:#00cec9;
  --xlh-warm:#fd79a8;
  --xlh-text:#eae6ff;
  --xlh-muted:#a29bfe;
  --xlh-border:rgba(255,255,255,.1);
  --xlh-radius:18px;
  --xlh-nav-h:62px;
  --xlh-dlbar-h:0px;
  font-size:16px;
}
html{scroll-behavior:smooth}
body{
  font-family:"Noto Sans SC",system-ui,-apple-system,sans-serif;
  background:var(--xlh-bg);
  color:var(--xlh-text);
  line-height:1.75;
  min-height:100vh;
  padding-top:var(--xlh-nav-h);
}
body.xlh-dl-active{padding-top:calc(var(--xlh-nav-h) + var(--xlh-dlbar-h))}
a{color:var(--xlh-accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--xlh-warm)}
img{max-width:100%;height:auto;display:block;border-radius:12px}
.xlh-wrap{max-width:960px;margin:0 auto;padding:0 18px 48px}

/* Header */
.xlh-head{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:var(--xlh-nav-h);
  background:var(--xlh-glass);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--xlh-border);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 18px;
}
.xlh-head-brand{display:flex;align-items:center;gap:10px;color:var(--xlh-text);font-weight:700;font-size:1.05rem}
.xlh-head-brand img{width:36px;height:36px;border-radius:10px}
.xlh-burger{
  width:42px;height:42px;border:none;background:var(--xlh-surface);
  border-radius:12px;cursor:pointer;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:5px;
}
.xlh-burger span{display:block;width:20px;height:2px;background:var(--xlh-text);border-radius:2px;transition:.25s}
.xlh-burger.xlh-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.xlh-burger.xlh-open span:nth-child(2){opacity:0}
.xlh-burger.xlh-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.xlh-nav-desk{display:none;gap:22px;list-style:none}
.xlh-nav-desk a{color:var(--xlh-muted);font-size:.92rem}
.xlh-nav-desk a:hover,.xlh-nav-desk a.xlh-active{color:var(--xlh-accent)}
.xlh-nav-mob{
  position:fixed;top:var(--xlh-nav-h);left:0;right:0;
  background:var(--xlh-glass);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--xlh-border);
  padding:16px 18px 22px;transform:translateY(-110%);
  opacity:0;pointer-events:none;transition:.3s;z-index:950;
}
.xlh-nav-mob.xlh-show{transform:translateY(0);opacity:1;pointer-events:auto}
.xlh-nav-mob ul{list-style:none;display:flex;flex-direction:column;gap:14px}
.xlh-nav-mob a{color:var(--xlh-text);font-size:1rem;display:block;padding:8px 0}

/* Fixed download bar */
.xlh-dlbar{
  position:fixed;top:var(--xlh-nav-h);left:0;right:0;z-index:880;
  background:rgba(12,10,28,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--xlh-border);
  padding:8px 12px;display:none;
  transform:translateY(-100%);transition:transform .3s;
}
.xlh-dlbar.xlh-visible{display:block;transform:translateY(0)}
.xlh-dlbar.xlh-menu-hidden{display:none!important;transform:translateY(-100%)}
.xlh-dlbar-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.xlh-dlbar-inner a{display:flex;flex-direction:column;align-items:center;width:calc(20% - 8px);text-decoration:none}
.xlh-dlbar-inner img{width:52px;height:52px;border-radius:14px;object-fit:cover;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.xlh-dlbar-inner span{font-size:10px;color:var(--xlh-muted);margin-top:3px;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:768px){
  .xlh-burger{display:none}
  .xlh-nav-desk{display:flex}
  .xlh-dlbar-inner a{width:calc(12.5% - 8px)}
  .xlh-dlbar-inner img{width:48px;height:48px}
}

/* Promo zone */
.xlh-promo{margin:20px 0;padding:14px;background:var(--xlh-surface);border-radius:var(--xlh-radius);border:1px solid var(--xlh-border)}
.xlh-promo .xlh-ads{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.xlh-promo .xlh-ads a{display:flex;flex-direction:column;align-items:center;width:70px;text-decoration:none}
.xlh-promo .xlh-ads img{width:58px;height:58px;border-radius:14px;object-fit:cover}
.xlh-promo .xlh-ads span{font-size:11px;color:var(--xlh-muted);margin-top:4px;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Hero */
.xlh-hero{
  position:relative;margin:24px 0 36px;padding:36px 24px;
  border-radius:24px;overflow:hidden;
  background:linear-gradient(135deg,#1a1535 0%,#2d1b69 45%,#0f3460 100%);
  border:1px solid var(--xlh-border);
}
.xlh-hero::before{
  content:"";position:absolute;top:-40%;right:-20%;width:280px;height:280px;
  background:radial-gradient(circle,rgba(108,92,231,.45),transparent 70%);
  animation:xlh-pulse 4s ease-in-out infinite;
}
@keyframes xlh-pulse{0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}
.xlh-hero-inner{position:relative;z-index:1}
.xlh-hero h1{font-size:1.55rem;line-height:1.35;margin-bottom:14px;background:linear-gradient(90deg,#fff,var(--xlh-accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.xlh-hero-lead{color:var(--xlh-muted);font-size:.95rem;max-width:640px}

/* Breadcrumb */
.xlh-crumb{font-size:.82rem;color:var(--xlh-muted);margin:18px 0;display:flex;flex-wrap:wrap;gap:6px}
.xlh-crumb a{color:var(--xlh-muted)}
.xlh-crumb span{color:var(--xlh-text)}

/* Sections */
.xlh-sec{margin-bottom:42px}
.xlh-sec h2{font-size:1.28rem;margin-bottom:16px;color:#fff;border-left:4px solid var(--xlh-primary);padding-left:12px}
.xlh-sec h3{font-size:1.05rem;margin:20px 0 10px;color:var(--xlh-accent)}
.xlh-sec p{margin-bottom:14px;color:#d5d0ef;font-size:.94rem;text-align:justify}

/* Cards grid */
.xlh-cards{display:grid;gap:16px;margin:20px 0}
@media(min-width:640px){.xlh-cards{grid-template-columns:1fr 1fr}}
.xlh-card{
  background:var(--xlh-surface);border:1px solid var(--xlh-border);
  border-radius:var(--xlh-radius);padding:20px;
  transition:transform .25s,box-shadow .25s;
}
.xlh-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(108,92,231,.15)}
.xlh-card h3{margin-top:0;font-size:1rem}

/* Media rows */
.xlh-media{display:grid;gap:20px;margin:22px 0;align-items:center}
@media(min-width:640px){.xlh-media{grid-template-columns:1fr 1.1fr}}
.xlh-media.xlh-reverse .xlh-media-img{order:2}
.xlh-media.xlh-reverse .xlh-media-txt{order:1}
.xlh-media-img img{box-shadow:0 8px 28px rgba(0,0,0,.4)}

/* Download CTA */
.xlh-dl-cta{text-align:center;margin:28px 0}
.xlh-dl-btn{
  display:inline-block;padding:13px 32px;border-radius:999px;
  background:linear-gradient(135deg,var(--xlh-primary),var(--xlh-warm));
  color:#fff;font-weight:600;font-size:.95rem;
  box-shadow:0 6px 24px rgba(108,92,231,.35);
  transition:transform .2s,box-shadow .2s;
}
.xlh-dl-btn:hover{color:#fff;transform:scale(1.03);box-shadow:0 10px 32px rgba(253,121,168,.3)}

/* Legal pages */
.xlh-legal h2{font-size:1.15rem;margin:28px 0 12px;color:#fff}
.xlh-legal p,.xlh-legal li{color:#ccc8e8;font-size:.92rem}
.xlh-legal ul{padding-left:20px;margin-bottom:14px}

/* Error pages */
.xlh-err{text-align:center;padding:60px 20px}
.xlh-err h1{font-size:4rem;background:linear-gradient(135deg,var(--xlh-primary),var(--xlh-accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.xlh-err p{color:var(--xlh-muted);margin:16px 0 28px}

/* Footer */
.xlh-foot{
  margin-top:48px;padding:28px 18px 36px;
  border-top:1px solid var(--xlh-border);
  background:rgba(8,6,18,.6);text-align:center;
}
.xlh-foot-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 22px;margin-bottom:14px;list-style:none}
.xlh-foot-nav a{color:var(--xlh-muted);font-size:.88rem}
.xlh-foot-copy{font-size:.78rem;color:#6b6590}
