/* -------- LANDING PAGE -------- */

/* HERO */
.l-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e0e18 0%, #17172a 50%, #241733 100%);
  color: #fff;
  padding: 84px 0 96px;
  margin-top: 8px;
  border-radius: 22px;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100% - 32px);
}
.l-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 12% 10%, rgba(120, 92, 255, .35), transparent 60%),
    radial-gradient(500px 380px at 92% 90%, rgba(0, 216, 255, .22), transparent 60%),
    radial-gradient(400px 320px at 80% 10%, rgba(255, 90, 200, .18), transparent 65%);
  pointer-events: none;
}
.l-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}
.l-hero__copy { max-width: 600px; }
.l-hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 500;
  margin: 0 0 18px;
  border: 1px solid rgba(255,255,255,.1);
}
.l-hero__title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.l-hero__title span {
  background: linear-gradient(90deg, #b491ff 0%, #6bc9ff 50%, #ff8fd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.l-hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.75);
  margin: 0 0 28px;
  max-width: 560px;
}
.l-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.l-hero__btn { padding: 14px 24px; font-size: 15px; font-weight: 600; }
.l-hero__badges {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.l-hero__badges li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; font-weight: 500;
}

.l-hero__art { position: relative; height: 340px; }
.l-hero__blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  filter: blur(24px);
  opacity: .8;
  animation: blob 18s ease-in-out infinite;
}
.l-hero__blob--a { top: 8%; left: 20%; width: 220px; height: 220px; background: var(--acc-2); animation-delay: 0s; }
.l-hero__blob--b { top: 45%; left: 45%; width: 180px; height: 180px; background: #22c9ff; animation-delay: -6s; }
.l-hero__blob--c { top: 20%; left: 60%; width: 200px; height: 200px; background: var(--acc-3); animation-delay: -12s; }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(24px,-14px) scale(1.1); }
  66%     { transform: translate(-18px,20px) scale(.95); }
}

/* POPULAR DIRECTIONS + AI split */
.dirs-with-ai {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 24px;
  align-items: start;
}
.dirs-with-ai__main { min-width: 0; }

/* POPULAR DIRECTIONS (brand tiles, compact) */
.dir-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.dir-grid li { list-style: none; }
.dir {
  position: relative;
  aspect-ratio: 5 / 4;
  padding: 12px 14px;
  border-radius: 14px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 2px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, box-shadow .18s ease;
  box-shadow: 0 6px 16px rgba(20,15,60,.08);
  isolation: isolate;
}
.dir::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--dir-a, var(--acc)), var(--dir-b, var(--acc-2)));
}
.dir::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(0,0,0,.25), transparent 60%);
  pointer-events: none;
}
.dir:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,15,60,.16); }

.dir[style*="background-image"] {
  background-size: cover;
  background-position: center;
}
.dir__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.dir[style*="background-image"]::before,
.dir[style*="background-image"]::after { content: none; }

.dir__mark {
  position: absolute; top: 18px; right: 18px;
  font-weight: 900; font-size: 34px;
  letter-spacing: -1px;
  opacity: .55;
  line-height: 1;
  text-transform: uppercase;
}
.dir__ico {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  opacity: .95;
}
.dir--wow .dir__ico { filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.dir__name { font-weight: 800; font-size: 15px; letter-spacing: -.2px; line-height: 1.2; }
.dir__sub  { font-size: 11px; opacity: .8; }

/* Brand palettes (used when no background-image) */
.dir--telegram { --dir-a: #37bbfe; --dir-b: #007dbb; }
.dir--valorant { --dir-a: #ff4655; --dir-b: #0f1923; }
.dir--brawl    { --dir-a: #ffb800; --dir-b: #7439ff; }
.dir--standoff { --dir-a: #b8202c; --dir-b: #1a1a1a; }
.dir--genshin  { --dir-a: #8a5cff; --dir-b: #d4a355; }
.dir--roblox   { --dir-a: #e21b1b; --dir-b: #1a1a1a; }
.dir--wow      { --dir-a: #1e2836; --dir-b: #0a0e14; }
.dir--minecraft{ --dir-a: #4c9a2a; --dir-b: #2d5c1a; }

@media (max-width: 1180px) {
  .dirs-with-ai { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .dir__name { font-size: 14px; }
  .dir__mark { font-size: 24px; }
  .dir__ico  { width: 28px; height: 28px; }
}

.ai-widget {
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 8px 32px rgba(20,15,60,.06);
  position: sticky; top: 20px;
}
.ai-widget__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ai-widget__head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.ai-widget__sub { color:var(--txt-2); font-size: 12px; }
.ai-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px;
  background:var(--glass);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.ai-item:hover { background: #eef1ff; }
.ai-item__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px;
  letter-spacing: .5px;
}
.ai-item__name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-item__sub  { color:var(--txt-2); font-size: 12px; }
.ai-item__from { font-size: 13px; color:var(--txt-2); text-align: right; white-space: nowrap; }
.ai-item__from b { color: var(--acc); font-weight: 800; }

.ai-more {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  color: #fff; font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(75,63,255,.25);
  transition: transform .1s, box-shadow .15s;
}
.ai-more:hover { box-shadow: 0 10px 22px rgba(75,63,255,.35); }
.ai-more:active { transform: translateY(1px); }

/* AI modal */
.ai-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.ai-modal[data-open="1"] { display: flex; }
.ai-modal__back {
  position: absolute; inset: 0;
  background: rgba(14,14,24,.55);
  backdrop-filter: blur(6px);
  animation: co-fade .18s ease;
}
.ai-modal__body {
  position: relative; margin: auto;
  width: min(720px, 94vw); max-height: 88vh;
  padding: 28px 28px 24px;
  background:var(--glass);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(20,15,60,.28);
  overflow-y: auto;
  animation: co-pop .22s cubic-bezier(.2,.9,.3,1.25);
}
.ai-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border: 0; border-radius: 999px;
  background:var(--glass); font-size: 20px; cursor: pointer;
}
.ai-modal__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.ai-modal__sub   { margin: 0 0 18px; color:var(--txt-2); font-size: 13px; }
.ai-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.ai-modal__grid a { text-decoration: none; color: inherit; }
.ai-modal__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 14px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 12px;
  transition: transform .12s, border-color .12s;
}
.ai-modal__card:hover { transform: translateY(-2px); border-color: var(--acc); }
.ai-modal__card .ai-item__mark { width: 34px; height: 34px; }

@media (max-width: 900px) {
  .ai-section { grid-template-columns: 1fr; }
  .ai-widget { position: static; }
}

/* SECTION SHELL */
.l-section { margin-top: 80px; }
.l-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
}
.l-section__title { font-size: 28px; font-weight: 700; margin: 0; }
.l-section__link {
  color: var(--acc); font-weight: 600; font-size: 14px; text-decoration: none;
}
.l-section__link:hover { text-decoration: underline; }

/* GLOBAL CATEGORY TILES */
.l-cats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.l-cats a {
  display: flex; flex-direction: column;
  padding: 20px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  gap: 12px;
}
.l-cats a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(20,15,60,.08); border-color: #d0cdff; }
.l-cats__ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: 1px;
  color: var(--acc);
  background: linear-gradient(135deg, #eef1ff, #fff4fa);
}
.l-cats__name { font-weight: 700; font-size: 16px; }
.l-cats__count { color:var(--txt-2); font-size: 13px; }

/* HOW IT WORKS */
.l-howto {
  margin-top: 100px;
  padding: 72px 0;
  background: linear-gradient(180deg, #f7f7fb 0%, #ffffff 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.l-howto__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.l-howto__title { font-size: 34px; font-weight: 700; margin: 0 0 10px; }
.l-howto__lead { color:var(--txt-2); font-size: 16px; margin: 0; }
.l-howto__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.l-howto__step {
  padding: 24px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.l-howto__num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--acc), var(--acc-3));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.l-howto__step h3 { margin: 0 0 8px; font-size: 17px; }
.l-howto__step p { margin: 0; color:var(--txt-2); font-size: 14px; line-height: 1.55; }

/* WHY US */
.l-why {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 24px;
}
.l-why li {
  padding: 26px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 14px;
}
.l-why__ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef1ff, #ffe8f5);
  display: flex; align-items: center; justify-content: center;
  color: var(--acc);
  font-size: 22px; font-weight: 800;
  margin-bottom: 14px;
}
.l-why h3 { margin: 0 0 6px; font-size: 17px; }
.l-why p  { margin: 0; color:var(--txt-2); font-size: 14px; line-height: 1.55; }

/* TESTIMONIALS */
.l-testi {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.l-testi__card {
  padding: 22px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 14px;
}
.l-testi__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.l-testi__ava  { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; background:var(--bg-2); }
.l-testi__meta { display: flex; flex-direction: column; }
.l-testi__name { font-weight: 700; font-size: 14px; }
.l-testi__stars{ color: var(--warn); font-size: 14px; letter-spacing: 2px; }
.l-testi__text { color:var(--txt); font-size: 14px; line-height: 1.55; margin: 0; }

/* FAQ */
.l-faq {
  max-width: 800px; margin: 24px auto 0;
  display: flex; flex-direction: column; gap: 10px;
}
.l-faq__item {
  background:var(--glass);
  border:1px solid var(--line);
  border-radius: 12px;
  padding: 0;
}
.l-faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.l-faq__item summary::-webkit-details-marker { display: none; }
.l-faq__item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color:var(--txt-2);
  transition: transform .2s ease;
}
.l-faq__item[open] summary::after { content: "−"; }
.l-faq__item p {
  margin: 0; padding: 0 22px 20px;
  color:var(--txt-2); font-size: 14px; line-height: 1.6;
}

/* CTA */
.l-cta {
  margin-top: 100px;
  padding: 60px 0;
  background: linear-gradient(160deg, #0e0e18 0%, #17172a 50%, #2b1541 100%);
  color: #fff;
}
.l-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.l-cta__title { margin: 0 0 8px; font-size: 30px; font-weight: 700; }
.l-cta__lead  { margin: 0; color: rgba(255,255,255,.75); max-width: 620px; }
.l-cta__btn   { padding: 14px 24px; font-size: 15px; font-weight: 600; white-space: nowrap; }

/* MOBILE */
@media (max-width: 900px) {
  .l-hero { padding: 60px 0 60px; }
  .l-hero__inner { grid-template-columns: 1fr; }
  .l-hero__art { display: none; }
  .l-trust { grid-template-columns: repeat(2, 1fr); }
  .l-trust__num { font-size: 26px; }
  .l-howto__steps { grid-template-columns: 1fr; }
  .l-section { margin-top: 60px; }
  .l-section__title { font-size: 22px; }
}
