/* =========================================================
   MIGSFLOW — GLOBAL.CSS
   Single source of truth. Load this on every page BEFORE
   any page-specific stylesheet.
   ========================================================= */


/* =========================================================
   FONTS
   ========================================================= */
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/orbitron-v35-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/orbitron-v35-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/orbitron-v35-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/orbitron-v35-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/orbitron-v35-latin-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/orbitron-v35-latin-900.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/poppins-v24-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-italic.woff2') format('woff2');
}


/* =========================================================
   ROOT VARIABLES
   Change a value here and it updates every page at once.
   ========================================================= */
:root {

  /* ── Layout ── */
  --nav-h: 56px;

  /* ── Brand accent ── */
  --accent:          #18c9ff;
  --accent-dark:     #0b3cff;
  --accent-gradient: linear-gradient(135deg, #18c9ff 0%, #0b3cff 100%);
  --accent-border:   rgba(24, 201, 255, 0.25);
  --accent-glow:     rgba(24, 201, 255, 0.18);
  --accent-glow-far: rgba(11, 60, 255, 0.12);

  /* ── Text tiers (white at decreasing opacity) ──
     Change one value here to shift every element of that
     tier across the whole site at once.               */
  --text-primary:   rgba(255, 255, 255, 0.95);  /* headings, prices, strong labels */
  --text:           rgba(255, 255, 255, 0.92);  /* primary body copy               */
  --text-secondary: rgba(255, 255, 255, 0.78);  /* list items, card labels         */
  --muted:          rgba(255, 255, 255, 0.68);  /* nav links, general muted text   */
  --text-muted:     rgba(255, 255, 255, 0.62);  /* body paragraphs                 */
  --text-dim:       rgba(255, 255, 255, 0.55);  /* secondary paragraphs            */
  --text-subtle:    rgba(255, 255, 255, 0.45);  /* small labels, meta text         */
  --text-ghost:     rgba(255, 255, 255, 0.408); /* footnotes, fine print           */

  /* ── Surfaces ── */
  --surface-card:   #080a14;                    /* opaque card background          */
  --surface-glass:  rgba(255, 255, 255, 0.03);  /* glass / frosted card overlay    */

  /* ── Borders / lines ── */
  --line:           rgba(255, 255, 255, 0.10);
  --line-strong:    rgba(255, 255, 255, 0.18);
  --line-subtle:    rgba(255, 255, 255, 0.06);

  /* ── Button colors ── */
  --btn-primary: #0A84FF;
  --btn-white:   #FFFFFF;
  --btn-tint:    #F6F5F8;

  /* ── Typography ── */
  --font-heading: 'Orbitron', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* ── Font sizes ── */
  --fs-xs:   13px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   17px;

  /* ── Border radii ── */
  --radius-pill: 999px;
  --radius-card: 22px;
  --radius-sm:   12px;

  /* ── Legacy hero aliases (kept for backward compatibility) ── */
  --hero-accent: #18c9ff;
  --hero-text:   rgba(255, 255, 255, 0.92);
  --hero-muted:  rgba(255, 255, 255, 0.62);
}


/* =========================================================
   RESETS & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  padding-top: 25px;
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

a {
  color: inherit;
  text-decoration: none;
}

p, a, li, label, .poppins, .who__label, .work__pill {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: normal;
}


/* =========================================================
   BODY BACKGROUND
   ========================================================= */
body {
  background:
    radial-gradient(500px 780px at 110% 4%,
      rgba(0, 104, 231, 0.62),
      rgba(27, 120, 255, 0) 62%
    ),
    radial-gradient(100px 80px at 110% 10%,
      rgba(181, 214, 255, 0.62),
      rgba(27, 120, 255, 0) 62%
    ),
    radial-gradient(500px 780px at 0% 15%,
      rgba(0, 169, 231, 0.302),
      rgba(27, 120, 255, 0) 62%
    ),
    radial-gradient(500px 500px at 105% 30%,
      rgba(0, 143, 225, 0.45),
      rgba(10, 55, 170, 0) 70%
    ),
    radial-gradient(500px 500px at 3% 40%,
      rgba(7, 189, 255, 0.235),
      rgba(10, 55, 170, 0) 70%
    ),
    radial-gradient(500px 500px at 100% 60%,
      rgba(7, 189, 255, 0.235),
      rgba(10, 55, 170, 0) 70%
    ),
    radial-gradient(500px 500px at 0% 70%,
      rgba(7, 189, 255, 0.235),
      rgba(10, 55, 170, 0) 70%
    ),
    radial-gradient(500px 500px at 10% 90%,
      rgba(7, 189, 255, 0.235),
      rgba(10, 55, 170, 0) 70%
    ),
    #000;
}

@media (max-width: 600px) {
  body {
    background:
      radial-gradient(620px 320px at 150% 58%,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0) 60%
      ),
      radial-gradient(1100px 780px at 160% 6%,
        rgba(0, 119, 231, 0.62),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 0% 20%,
        rgba(0, 108, 231, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 100% 32%,
        rgba(121, 183, 255, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 0% 42%,
        rgba(0, 85, 182, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 100% 50%,
        rgba(0, 85, 182, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 0% 65%,
        rgba(0, 112, 241, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 100% 80%,
        rgba(0, 112, 241, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      radial-gradient(700px 780px at 0% 85%,
        rgba(0, 112, 241, 0.402),
        rgba(27, 120, 255, 0) 62%
      ),
      #000;
  }
}


/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  padding: 34px 18px;
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99999;
}

.nav {
  width: min(1100px, 100%);
  height: var(--nav-h);
  padding: 35px 22px;
  display: flex;
  align-items: center;
  gap: 12px;

  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.279);
  border-radius: var(--radius-pill);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;

  position: relative;
  z-index: 9999;
}

/* Brand */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.brand img {
  display: block;
  height: clamp(125px, 2.2vw, 200px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Primary links */
.nav__links {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 10px;
}

.nav__link {
  font-size: var(--fs-base);
  color: var(--muted);
  padding: 10px 6px;
  position: relative;
  transition: color 160ms ease, transform 160ms ease;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

/* Active state */
.nav__link.is-active,
.nav__dropdown-toggle.is-active,
.active {
  color: var(--btn-white);
  font-weight: 700;
}

.nav__link.is-active::after,
.nav__dropdown-toggle.is-active::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 2px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--btn-white);
}

/* CTA button */
.nav__cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  height: calc(var(--nav-h) - 16px);
  border-radius: var(--radius-pill);
  color: var(--btn-white);
  font-size: var(--fs-sm);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.20);
  transition: transform 180ms ease, filter 180ms ease;
}

.nav__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(246, 245, 248, 0.07) 55%,
    rgba(255, 255, 255, 0.00) 100%
  );
  pointer-events: none;
}

.nav__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.nav__cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.nav__cta-icon svg,
.nav__cta-icon img {
  width: 20px;
  height: 20px;
  color: var(--btn-white);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.hamburger {
  width: 18px;
  height: 12px;
  display: grid;
  gap: 3px;
  margin: 0 auto;
}

.hamburger span {
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
}

/* Focus styles */
.nav__link:focus-visible,
.nav__cta:focus-visible,
.nav__toggle:focus-visible,
.brand:focus-visible,
.nav__dropdown-toggle:focus-visible,
.nav__dropdown-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
  border-radius: var(--radius-pill);
}


/* ── Dropdown ── */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  font-size: var(--fs-base);
  color: var(--muted);
  font-family: var(--font-body);
  transition: color 160ms ease;
  position: relative;
}

.nav__dropdown-toggle:hover,
.nav__dropdown-toggle[aria-expanded="true"] {
  color: var(--text);
}

.nav__chevron {
  transition: transform 240ms ease;
  flex-shrink: 0;
  color: var(--btn-white);
}

.nav__dropdown:hover .nav__chevron,
.nav__dropdown-toggle[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

/* Invisible bridge so cursor can cross without closing */
@media (min-width: 821px) {
  .nav__dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    pointer-events: none;
  }
  .nav__dropdown:hover::after {
    pointer-events: auto;
  }
}

/* Desktop dropdown panel */
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgb(12, 12, 18);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    visibility 200ms ease;
}

@media (hover: hover) and (min-width: 821px) {
  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.nav__dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 160ms ease;
}

.nav__dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav__dropdown-item.is-active .nav__dropdown-item-label {
  color: var(--accent);
}

.nav__dropdown-item-label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}

.nav__dropdown-item-sub {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--text-ghost);
  letter-spacing: 0.02em;
}


/* ── Responsive Nav ── */
@media (max-width: 820px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__links {
    position: absolute;
    left: 50%;
    top: calc(100% + 6px);
    width: calc(100% - 18px);
    transform: translateX(-50%) translateY(-10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: rgb(12, 12, 16);
    backdrop-filter: blur(12px);
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.50),
      0 2px 0 rgba(255, 255, 255, 0.04) inset;
    z-index: 50;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 520ms cubic-bezier(.16, 1, .3, 1),
      opacity 340ms ease,
      transform 520ms cubic-bezier(.16, 1, .3, 1);
  }

  .nav__link {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-subtle);
    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
  }

  .nav__link:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
    color: var(--text);
  }

  .nav__link.is-active::after,
  .nav__dropdown-toggle.is-active::after {
    display: none;
  }

  .nav.is-open .nav__links {
    max-height: 680px;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .nav__dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-subtle);
    font-size: var(--fs-base);
    color: var(--muted);
    justify-content: space-between;
    box-sizing: border-box;
  }

  .nav__dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 320ms ease,
      opacity 200ms ease,
      margin-top 320ms ease,
      padding 320ms ease;
  }

  .nav__dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-subtle);
    padding: 4px;
    margin-top: 6px;
  }

  .nav__dropdown:hover .nav__chevron {
    transform: none;
  }

  .nav__dropdown-toggle[aria-expanded="true"] .nav__chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 420px) {
  .site-header { padding: 12px; }
  .nav { padding: 10px; }
  .brand__name { font-size: var(--fs-base); }
  .nav__cta { padding: 10px 12px; }
  .nav__links {
    top: calc(100% + 4px);
    width: calc(100% - 14px);
    padding: 14px;
    border-radius: var(--radius-card);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__links { transition: none; }
  .nav__link { transition: none; }
  .nav__cta { transition: none; }
  .nav__dropdown-menu { transition: none; }
  .nav__chevron { transition: none; }
}


/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: clamp(56px, 6vw, 90px) 18px 26px;
  background: transparent;
}

.footer__container {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.footer__brand {
  max-width: 420px;
}

.footer__logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.footer__logo img {
  width: clamp(22rem, 14vh, 12rem);
  height: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.2px;
}

.footer__logo-tag {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__blurb {
  margin: 18px 0 18px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
  max-width: 360px;
}

/* Socials */
.footer__social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer__social-btn svg {
  width: 18px;
  height: 18px;
}

.footer__social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-border);
}

.footer__social-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

/* Right columns */
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 60px);
  justify-content: end;
}

.footer__heading {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
}

.footer__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer__link:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer__link:focus-visible {
  outline: 2px solid rgba(24, 201, 255, 0.65);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Footer icons */
.footer__link .phone,
.email,
.location {
  display: block;
  height: 1em;
  width: auto;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

/* Giant word + bubble */
.footer__hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 46px) 0;
}

.footer__giant {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-align: center;
  font-size: clamp(24px, 10vw, 62px);
  color: var(--text);
  white-space: nowrap;
}

.footer__bubble {
  position: absolute;
  inset: auto;
  display: grid;
  place-items: center;
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  border-radius: var(--radius-pill);
  text-decoration: none;
  background: linear-gradient(90deg, rgba(24, 201, 255, 0.95), rgba(11, 60, 255, 0.95));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 70px var(--accent-glow);
  border: 1px solid var(--line-strong);
  transform: translateY(-50px);
  transition: transform 180ms ease, filter 180ms ease;
}

.footer__bubble span {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: var(--text-primary);
  font-size: clamp(14px, 1.55vw, 20px);
}

.footer__bubble:hover {
  transform: translateY(-10px) scale(1.01);
  filter: brightness(1.03);
}

.footer__bubble:active {
  transform: translateY(-6px) scale(0.99);
}

/* Bottom bar */
.footer__bottom {
  margin-top: clamp(26px, 3vw, 40px);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.copyright {
  margin-top: 4rem;
}

/* Footer responsive */
@media (min-width: 740px) {
  .footer__top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .footer__brand {
    max-width: 520px;
  }

  .footer__cols {
    justify-content: start;
  }

  .footer__giant {
    white-space: normal;
    line-height: 0.98;
  }

  .footer__bubble {
    position: static;
    margin-top: 18px;
    transform: none;
  }
}

@media (max-width: 520px) {
  .footer__cols {
    gap: 26px;
    grid-template-columns: 1fr 1fr;
  }

  .footer__hero {
    padding: 26px 0 10px;
  }
}


/* =========================================================
   ANIMATIONS (shared across all pages)
   ========================================================= */

/* Stars */
.star-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: layout style paint;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--btn-white);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(190, 220, 255, 0.7),
    0 0 22px rgba(170, 200, 255, 0.6);
  opacity: 0.25;
  animation: starFlicker 4s ease-in-out infinite;
}

@keyframes starFlicker {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.25); }
}

/* Shooting stars */
.shooting-star {
  position: absolute;
  width: 140px;
  height: 2px;
  border-radius: var(--radius-pill);
  opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0));
  filter: blur(0.2px);
  transform: rotate(-20deg);
  animation: shoot 5s linear infinite;
}

.shooting-star-1 { top: 20%; left: -30%; animation-delay: 14s; }
.shooting-star-2 { top: 55%; left: -40%; animation-delay: 10s; }

@keyframes shoot {
  0%   { transform: translateX(0) translateY(0) rotate(-20deg); opacity: 0; }
  10%  { opacity: 1; }
  35%  { opacity: 1; }
  60%  { transform: translateX(140vw) translateY(35vh) rotate(-20deg); opacity: 0; }
  100% { opacity: 0; }
}

/* Fade on load */
.fade-on-load {
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-on-load.in-view {
  animation: fadeUp 0.6s ease-in-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fade-on-load {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .star,
  .shooting-star,
  .stars {
    animation: none;
  }
  .star { opacity: 0.3; }
}