/* YA Services — SellAuth PRO Theme Patch v3
   Goal: More like the Nebula example: clean dark + big glow + premium chips/buttons
   Removed GIF banners background. Uses custom animated glows + star dust + grid.

   Files changed:
   - Assets/custom.css
   - Assets/script.js
*/

:root{
  --ya-bg:#07070b;
  --ya-bg2:#090b12;
  --ya-text:#eaf5ff;
  --ya-muted:rgba(234,245,255,.70);

  --ya-teal:#00d5ff;
  --ya-blue:#2aa9ff;

  --ya-border:rgba(255,255,255,.10);
  --ya-border2:rgba(255,255,255,.14);
  --ya-radius:18px;
  --ya-shadow: 0 18px 55px rgba(0,0,0,.55);

  /* tweakable intensity */
  --ya-glow-opacity:.40;
  --ya-grid-opacity:.55;
  --ya-noise-opacity:.05;
}

html, body{
  background: radial-gradient(1200px 900px at 50% 10%, rgba(0,213,255,.14), transparent 55%),
              radial-gradient(900px 800px at 15% 30%, rgba(42,169,255,.10), transparent 60%),
              radial-gradient(900px 800px at 85% 35%, rgba(0,213,255,.08), transparent 62%),
              linear-gradient(180deg, var(--ya-bg), var(--ya-bg2)) !important;
  color: var(--ya-text) !important;
  font-family: "Assistant", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

a{transition: color .15s ease}

/* ensure content above FX */
main, header, footer, .container, .page, .content, .wrapper{
  position:relative;
  z-index:5;
}

/* ---------- BACKGROUND LAYERS ---------- */
.ya-bg{
  position:fixed; inset:-200px;
  z-index:0;
  pointer-events:none;
}

/* soft moving glow blobs */
.ya-bg .glow{
  position:absolute;
  width:900px; height:900px;
  border-radius:999px;
  filter: blur(40px);
  opacity: var(--ya-glow-opacity);
  background: radial-gradient(circle, rgba(0,213,255,.35), rgba(42,169,255,.18), transparent 65%);
  animation: yaFloat 12s ease-in-out infinite alternate;
}
.ya-bg .glow.g2{
  width:1000px; height:1000px;
  background: radial-gradient(circle, rgba(42,169,255,.30), rgba(0,213,255,.16), transparent 68%);
  animation-duration: 16s;
}
.ya-bg .glow.g3{
  width:1100px; height:1100px;
  background: radial-gradient(circle, rgba(0,213,255,.26), rgba(42,169,255,.10), transparent 70%);
  animation-duration: 18s;
}

@keyframes yaFloat{
  from{transform: translate3d(-30px,-20px,0) scale(1.00)}
  to{transform: translate3d(40px,30px,0) scale(1.08)}
}

/* star dust layer (drawn by JS on canvas) */
#yaStars{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.95;
}

/* subtle grid overlay */
.ya-grid{
  position:fixed; inset:0;
  z-index:2;
  pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(900px 600px at 50% 18%, rgba(0,0,0,1), transparent 72%);
  opacity: var(--ya-grid-opacity);
}

/* noise overlay */
.ya-noise{
  position:fixed; inset:0;
  z-index:3;
  pointer-events:none;
  opacity: var(--ya-noise-opacity);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* particles network */
#yaParticles{
  position:fixed;
  inset:0;
  z-index:4;
  pointer-events:none;
  opacity:.95;
}

/* mouse glow */
#yaMouseGlow{
  position:fixed;
  width:460px; height:460px;
  border-radius:999px;
  transform: translate(-50%,-50%);
  pointer-events:none;
  z-index:4;
  background: radial-gradient(circle, rgba(0,213,255,.22), rgba(42,169,255,.12), transparent 65%);
  filter: blur(7px);
  opacity:0;
  transition: opacity .2s ease;
}

/* ---------- HEADER / NAV ---------- */
header, .navbar, .topbar, .header{
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0,0,0,.22) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

/* nav links */
header a, .navbar a, .nav a{
  color: var(--ya-muted) !important;
  font-weight:700;
}
header a:hover, .navbar a:hover, .nav a:hover{
  color: var(--ya-text) !important;
}

/* ---------- HERO / TITLE ---------- */
h1, .title, .hero h1, .hero-title{
  font-weight:800 !important;
  letter-spacing:-.5px;
  text-shadow: 0 0 30px rgba(0,213,255,.12);
}
h2, h3, .section-title{
  font-weight:800 !important;
}

/* chip/pill style like Nebula */
.badge, .pill, .tag, .chip, .label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.04) !important;
  color: var(--ya-muted) !important;
  font-weight:800;
}

/* ---------- BUTTONS ---------- */
button, .btn, a.btn, input[type="submit"], .button{
  border-radius: 14px !important;
  font-weight:800 !important;
  letter-spacing:.2px;
  border: 1px solid rgba(255,255,255,.10) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.btn-primary, .button-primary, a.btn-primary{
  background: linear-gradient(135deg, rgba(0,213,255,.95), rgba(42,169,255,.92)) !important;
  color:#021018 !important;
  box-shadow: 0 16px 40px rgba(0,213,255,.12) !important;
}
.btn-primary:hover, .button-primary:hover, a.btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 60px rgba(0,213,255,.18) !important;
}

.btn-outline, .button-outline, .btn-secondary, .button-secondary{
  background: rgba(255,255,255,.04) !important;
  color: var(--ya-text) !important;
  box-shadow:none !important;
  border:1px solid rgba(255,255,255,.14) !important;
}
.btn-outline:hover, .button-outline:hover, .btn-secondary:hover, .button-secondary:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* ripple element injected by JS */
.ya-ripple{
  position:absolute;
  border-radius:999px;
  transform: translate(-50%,-50%);
  pointer-events:none;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(0,213,255,.18), transparent 70%);
  animation: yaRipple .7s ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes yaRipple{
  from{width:0;height:0;opacity:.9}
  to{width:340px;height:340px;opacity:0}
}

/* ---------- CARDS / PRODUCTS ---------- */
.card, .panel, .box, .product-card, .product, .pricing-card, .modal-content, .checkout, .content-box{
  background: rgba(255,255,255,.035) !important;
  border:1px solid var(--ya-border) !important;
  border-radius: var(--ya-radius) !important;
  box-shadow: var(--ya-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover, .panel:hover, .product-card:hover, .product:hover{
  border-color: rgba(0,213,255,.22) !important;
  box-shadow: 0 22px 75px rgba(0,0,0,.58), 0 0 34px rgba(0,213,255,.18) !important;
  transform: translateY(-2px);
}

/* product images pop */
.product img, .product-card img, img.product-image{
  border-radius: 16px;
  transition: transform .25s ease, filter .25s ease;
}
.product:hover img, .product-card:hover img{
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.45));
}

/* ---------- FORMS ---------- */
input, select, textarea{
  border-radius: 14px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.22) !important;
  color: var(--ya-text) !important;
}
input:focus, select:focus, textarea:focus{
  outline:none !important;
  border-color: rgba(0,213,255,.35) !important;
  box-shadow: 0 0 0 4px rgba(0,213,255,.12) !important;
}

/* ---------- REVEAL ---------- */
.ya-reveal{
  opacity:0;
  transform: translateY(10px);
  filter: blur(1px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}
.ya-reveal.is-in{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- YA HERO (Nebula-style) ---------- */
.ya-hero{
  padding: clamp(48px, 7vw, 86px) 0 26px;
  text-align:center;
}
.ya-hero__inner{
  width:min(980px, calc(100% - 32px));
  margin:0 auto;
}
.ya-hero__pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,245,255,.78);
  font-weight:800;
  font-size:13px;
  margin-bottom: 18px;
}
.ya-hero__pill-dot{
  width:8px; height:8px;
  border-radius:99px;
  background: rgba(0,213,255,.95);
  box-shadow: 0 0 18px rgba(0,213,255,.35);
}
.ya-hero__title{
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  margin: 0 0 12px;
}
.ya-hero__brand{
  background: linear-gradient(90deg, rgba(0,213,255,1), rgba(42,169,255,1));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: none;
}
.ya-hero__subtitle{
  margin: 0 auto 18px;
  width: min(740px, 100%);
  color: rgba(234,245,255,.72);
  font-size: 16px;
}
.ya-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin: 18px 0 20px;
}
.ya-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  color: rgba(234,245,255,.80);
  font-weight:800;
  font-size:13px;
}
.ya-chip__icon{
  opacity:.9;
  filter: drop-shadow(0 0 12px rgba(0,213,255,.16));
}
.ya-hero__actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin: 14px 0 22px;
}
.ya-btn-glow{
  box-shadow: 0 16px 50px rgba(0,213,255,.14) !important;
}
.ya-btn-outline{
  border-color: rgba(255,255,255,.16) !important;
}
.ya-hero__mini{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin: 18px 0 26px;
}
.ya-mini{
  min-width: 160px;
  padding: 14px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.ya-mini__num{
  font-weight:900;
  font-size: 20px;
}
.ya-mini__label{
  color: rgba(234,245,255,.68);
  font-weight:800;
  font-size: 12px;
}
.ya-hero__highlights{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top: 10px;
}
@media (max-width: 860px){
  .ya-hero__highlights{grid-template-columns: 1fr; }
}
.ya-highlight{
  padding: 16px 16px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-align:left;
}
.ya-highlight__title{
  font-weight:900;
  margin-bottom:6px;
}
.ya-highlight__desc{
  color: rgba(234,245,255,.70);
  font-weight:700;
  font-size: 13px;
  line-height: 1.35;
}
/* Premium rounded logo with subtle glow */
.navbar img,
.navbar .logo img,
.navbar-brand img,
.header img {
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar img:hover,
.navbar .logo img:hover,
.navbar-brand img:hover,
.header img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
}