/* =========================================================
   NUVORELIX V6.3 — ASTRO CLEAN DESKTOP
   Desktop: no framed visual card. Mobile: framed visual remains.
   Visual source contains no Pokemon-specific references.
   ========================================================= */

/* Replace old artwork with a cleaner generic TCG visual */
.astro-code-bg,
.astro-code-monitor{
  background-image:url('brand/astro-tcg-clean-visual.png')!important;
}

/* Desktop: use the clean artwork only as atmospheric background */
@media(min-width:761px){
  .astro-code-hero{
    min-height:780px!important;
    background:#020202!important;
  }

  .astro-code-bg{
    display:block!important;
    inset:0!important;
    background-size:cover!important;
    background-position:66% center!important;
    filter:saturate(.80) contrast(1.04) brightness(.58)!important;
    transform:scale(1.015)!important;
  }

  .astro-code-shade{
    display:block!important;
    background:
      linear-gradient(90deg,
        #020202 0%,
        rgba(2,2,2,.99) 22%,
        rgba(2,2,2,.96) 36%,
        rgba(2,2,2,.77) 50%,
        rgba(2,2,2,.35) 66%,
        rgba(2,2,2,.14) 82%,
        rgba(2,2,2,.20) 100%),
      linear-gradient(180deg,rgba(0,0,0,.10),transparent 26%,transparent 74%,rgba(0,0,0,.36))!important;
  }

  .astro-code-inner{
    width:min(1440px,calc(100% - 72px))!important;
    min-height:780px!important;
    grid-template-columns:minmax(520px,700px) 1fr!important;
    gap:0!important;
    align-items:center!important;
    padding:82px 0 94px!important;
  }

  .astro-code-copy{
    max-width:670px!important;
    padding:24px 0!important;
  }

  /* User request: remove the framed monitor/card on PC */
  .astro-code-visual{
    display:none!important;
  }

  .astro-code-title{
    max-width:11ch!important;
  }

  .astro-code-description{
    max-width:600px!important;
  }

  .astro-code-benefits{
    max-width:650px!important;
  }
}

/* Mobile/tablet phone layout: no full-bleed artwork behind copy.
   The visual card is intentionally retained above the text. */
@media(max-width:760px){
  .astro-code-bg,
  .astro-code-shade{
    display:none!important;
  }

  .astro-code-hero{
    background:#000!important;
  }

  .astro-code-inner{
    grid-template-columns:1fr!important;
  }

  .astro-code-visual{
    display:block!important;
    order:-1!important;
    aspect-ratio:4/3!important;
    min-height:0!important;
    overflow:hidden!important;
    border:1px solid rgba(212,175,55,.24)!important;
    border-radius:22px!important;
    background:#070604!important;
    box-shadow:0 18px 46px rgba(0,0,0,.46)!important;
    transform:none!important;
  }

  .astro-code-monitor{
    inset:0!important;
    background-size:cover!important;
    background-position:69% center!important;
    filter:saturate(.86) contrast(1.04) brightness(.72)!important;
    transform:scale(1.015)!important;
  }

  .astro-code-visual::after{
    background:linear-gradient(180deg,rgba(0,0,0,.04),transparent 55%,rgba(0,0,0,.28))!important;
  }
}

@media(max-width:460px){
  .astro-code-visual{
    aspect-ratio:1/1!important;
  }
  .astro-code-monitor{
    background-position:72% center!important;
  }
}
