body.ads-home {
  background-color: #080910;
  background-image:
    radial-gradient(ellipse at 80% -10%, rgba(99,91,255,.22), transparent 42%),
    radial-gradient(ellipse at 10% 20%, rgba(45,226,166,.08), transparent 36%),
    linear-gradient(180deg, #080910 0%, #0c0d18 100%);
  background-attachment: scroll;
}
html:has(body.ads-home) { background: #080910; }
body.ads-home header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #080910;
  max-width: var(--app-max);
}
body.ads-home .page-body {
  width: 100%;
  max-width: var(--app-max);
  padding: 0 0 40px;
}
.ads-landing {
  width: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  padding: 8px 16px 32px;
  box-sizing: border-box;
}
.ads-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.ads-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  background:
    radial-gradient(circle at 72% 18%, rgba(99,91,255,.28), transparent 46%),
    radial-gradient(circle at 18% 88%, rgba(45,226,166,.16), transparent 42%),
    linear-gradient(180deg, #16182a 0%, #080910 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.ads-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  background: #080910;
  opacity: 0;
  pointer-events: none;
}
.ads-video-wrap.is-on video {
  opacity: 1;
  pointer-events: auto;
}
.ads-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(99,91,255,.32), transparent 48%),
    radial-gradient(circle at 20% 85%, rgba(45,226,166,.16), transparent 44%),
    linear-gradient(180deg, #17192c 0%, #0a0b16 100%);
  pointer-events: auto;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  z-index: 2;
}
.ads-video-overlay.is-playing {
  opacity: 0;
  pointer-events: none;
}
.ads-play {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  cursor: pointer;
}
.ads-video-title {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.ads-video-meta {
  margin: 0;
  font-size: 12px;
  color: #94A3B8;
}
.ads-copy h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 10px;
}
.ads-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #94A3B8;
}
.ads-copy b { color: #fff; font-weight: 800; }
.ads-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.ads-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ads-pill-login {
  grid-column: 1 / -1;
}
.ads-pill-ico,
.ads-pill-go {
  width: 40px; height: 40px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16);
  flex-shrink: 0;
}
.ads-pill-ico svg,
.ads-pill-go svg { width: 18px; height: 18px; }
.ads-pill-txt { flex: 1; min-width: 0; }
.ads-pill-txt strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.ads-pill-txt small,
.ads-pill-go { display: none; }
.ads-pill-txt strong {
  font-size: 13px;
  line-height: 1.2;
}
.ads-pill-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}
.ads-pill-dl { background: var(--indigo-grad); }
.ads-pill-reg { background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%); }
.ads-pill-login {
  background: var(--cta);
  color: #fff;
}
.ads-pill-login .ads-pill-ico { background: rgba(255,255,255,.18); color: #fff; }
.ads-trust-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0 12px;
}
.ads-trust-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2DE2A6;
  margin: 0 0 8px;
}
.ads-trust-copy h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
}
.ads-trust-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #94A3B8;
}
.ads-certs .dash-cert-slider {
  width: 100%;
  max-width: none;
  margin: 0;
}
.ads-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(120%);
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 16px;
  background: #171727;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
  z-index: 120;
  transition: transform 0.35s ease;
  text-align: center;
}
.ads-toast.show { transform: translateX(-50%) translateY(0); }
body.is-logged.ads-home .ads-toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 1024px) {
  body.ads-home header,
  body.ads-home .page-body,
  .ads-landing { max-width: 1100px; }
  .ads-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 36px;
    margin-bottom: 24px;
  }
  .ads-copy h1 { font-size: 40px; }
  .ads-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
  .ads-pill-login { grid-column: auto; }
  .ads-pill {
    min-height: 72px;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 20px;
  }
  .ads-pill-txt small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255,255,255,.78);
    font-weight: 500;
  }
  .ads-pill-go {
    display: flex;
    width: 40px;
    height: 40px;
  }
  .ads-pill-txt strong { font-size: 15px; }
  .ads-pill-ico { width: 40px; height: 40px; border-radius: 14px; }
  .ads-pill-login { color: #052e24; }
  .ads-pill-login .ads-pill-txt small { color: rgba(5,46,36,.72); }
  .ads-pill-login .ads-pill-ico,
  .ads-pill-login .ads-pill-go { background: rgba(5,46,36,.12); color: #052e24; }
  .ads-trust-block {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 28px;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.ads-home header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #080910 !important;
  }
  .ads-video-wrap:not(.is-on) video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ads-toast { transition: none; }
}
