/* =========================
   LUPINE DETAILING CO
   Global Styles
========================= */

:root {
  --bg-main: #050505;
  --bg-card: #0f0f12;
  --accent: #7A2FFF;
  --accent-soft: rgba(122,47,255,0.4);
  --text-main: #f2f2f2;
  --text-muted: #b5b5b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Website background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(5,5,5,0.68), rgba(5,5,5,0.74)),
    url("Assets/website-bg.jpg") center center / 110% auto no-repeat;
  z-index: -2;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  border-bottom: 1px solid rgba(122,47,255,0.15);
}

nav img {
  height: 40px;
  display: block;
}

nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
  box-shadow: 0 0 0px var(--accent-soft);
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 0 18px var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid rgba(122,47,255,0.35);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(122,47,255,0.7);
  box-shadow: 0 0 18px rgba(122,47,255,0.12);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 90px 8%;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section p {
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--bg-card);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid rgba(122,47,255,0.10);
  transition: 0.2s ease;
}

.card:hover {
  border-color: rgba(122,47,255,0.55);
  box-shadow: 0 0 22px rgba(122,47,255,0.16);
}

/* Hero layout */
.hero {
  padding: 110px 8% 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Trust line */
.trust-line {
  margin-top: 22px;
  color: var(--text-muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.trust-pill {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 90px 8% 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}
/* Footer */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 18px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}

.footer-brand img {
  height: 40px;
  opacity: 0.95;
}

.footer-brand .muted {
  margin-top: 12px;
  max-width: 520px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer h4 {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  display: block;
  color: #b5b5b5;
  text-decoration: none;
  margin: 6px 0;
  transition: transform 160ms ease, color 160ms ease;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Footer: prevent long links (email) spilling into other columns */
.site-footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Mobile nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav .brand img {
  height: 40px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.nav-drawer {
  position: fixed;
  top: 70px;
  right: 14px;
  width: min(320px, calc(100vw - 28px));
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #eaeaea;
  margin: 4px 0;
}

.nav-drawer a:hover {
  background: rgba(255,255,255,0.06);
}

.nav-drawer .drawer-cta {
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(39,3,65,1), rgba(4,200,214,0.35));
  border: 1px solid rgba(255,255,255,0.12);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
}
/* Mobile nav alignment polish */
.site-nav {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Home hero pill row fix */
.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.25);
  color:#d6d6d6;
  font-size:0.95rem;
}
/* Services page layout helpers */
.packages-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:24px;
  margin-top:18px;
}

.package-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.tag{
  font-size:0.85rem;
  color:#dcdcdc;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}

.tag-glow{
  background: rgba(122,47,255,0.55);
  border-color: rgba(122,47,255,0.45);
  color:#fff;
}

.featured{
  border-color: rgba(122,47,255,0.45);
  box-shadow: 0 0 28px rgba(122,47,255,0.14);
}

.checklist{
  margin:14px 0 0 0;
  padding:0;
  list-style:none;
}

.checklist li{
  margin:8px 0;
  padding-left:22px;
  position:relative;
  color:#d7d7d7;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: rgba(4,200,214,0.95);
}

.price-table{
  margin-top:16px;
  display:grid;
  gap:10px;
}

.price-table > div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.price-table span{ color:#bcbcbc; }
.price-table strong{ color:#f2f2f2; }

.package-actions{
  margin-top:18px;
}

.small-note{
  margin-top:14px;
  font-size:0.92rem;
}

.section-head{
  max-width: 900px;
}

.addons-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}

.addon h4{
  margin:0 0 8px 0;
}

.addon-price{
  margin-top:12px;
  font-weight:700;
  color:#f2f2f2;
  padding-top:10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bullet-list{
  margin:0;
  padding-left:18px;
  color:#d7d7d7;
}

.bullet-list li{
  margin:10px 0;
}

.service-cta{
  margin-top:18px;
  padding-top:16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

@media (max-width: 1000px){
  .packages-grid{ grid-template-columns: 1fr; }
  .addons-grid{ grid-template-columns: 1fr; }
}

/* Add-on hover tooltip */
.addon {
  position: relative;
  cursor: default;
}

.addon .tip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.addon:hover .tip,
.addon:focus-within .tip {
  opacity: 1;
  transform: translateY(0);
}

.tip small {
  color: #bdbdbd;
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}
/* Gallery tabs + placeholders */
.gallery-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.tab{
  appearance:none;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color:#d7d7d7;
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.tab:hover{
  transform: translateY(-1px);
  border-color: rgba(4,200,214,0.35);
}

.tab.active{
  background: rgba(122,47,255,0.50);
  border-color: rgba(122,47,255,0.45);
  color:#fff;
}

.gallery-panel{ display:none; }
.gallery-panel.active{ display:block; }

.panel-head{
  margin-bottom:14px;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

.ph-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.gallery-grid {
display:grid;
grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
gap:18px;
margin-top:18px;
}

.gallery-grid img {
width:100%;
height:220px;
object-fit:cover;
border-radius:14px;
border:1px solid rgba(255,255,255,0.08);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
transform: scale(1.04);
box-shadow:0 0 20px rgba(122,47,255,0.25);
}

.ph-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.16);
  font-size:0.85rem;
}

.ph-body{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.ph-block{
  height:120px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(122,47,255,0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18));
}

.ph-note{
  margin-top:12px;
  font-size:0.92rem;
}

@media (max-width: 1000px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .ph-block{ height:140px; }
}

@media (min-width: 1001px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
.package {
  display: flex;
  flex-direction: column;
}

.package-body {
  flex: 1;
}

.package-actions {
  margin-top: 18px;
}
/* =========================
   Quote Page Styling
========================= */

.quote-card {
  max-width: 1100px;
  margin: 0 auto;
}

.quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.full-span {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: var(--text-main);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9e9e9e;
}

.addons-wrap {
  margin-top: 24px;
}

.addon-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.16);
  cursor: pointer;
}

.check-card input {
  width: auto;
}

.agree-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  align-items: flex-start;
}

.agree-row input {
  width: auto;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-submit {
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .form-grid,
  .addon-check-grid {
    grid-template-columns: 1fr;
  }

  .full-span {
    grid-column: auto;
  }
}
/* Quote page top spacing */
.quote-hero-section {
  padding-top: 70px;
  padding-bottom: 40px;
}

/* Quote page select styling */
.quote-form select {
  background-color: #0f0f12;
  color: #f2f2f2;
}

.quote-form option {
  background-color: #280137;
  color: #f2f2f2;
}
.about-wide p,
.about-wide .card p {
  max-width: 1000px;
}
.about-service-line {
  max-width: 1200px !important;
}
.card .muted a {
  color: var(--text-muted);
  text-decoration: none;
}

.card .muted a:hover {
  color: var(--text-main);
}
/* Gallery lightbox */
.gallery-grid img {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 9999;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.16);
}
/* Gallery lightbox */
.gallery-grid img {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 9999;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.16);
}
.hero-card {
  max-width: 520px;
  margin-left: auto;
}

.hero-list {
  margin-top: 16px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.home-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 22px rgba(122,47,255,0.18);
}

@media (max-width: 1000px) {
  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* Star layer container */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Star layer 1 */
body::after {
  background-image:
    radial-gradient(3px 3px at 8% 18%, rgba(170,140,255,1), transparent 60%),
    radial-gradient(3px 3px at 28% 38%, rgba(150,120,255,1), transparent 60%),
    radial-gradient(3px 3px at 48% 22%, rgba(170,140,255,1), transparent 60%),
    radial-gradient(3px 3px at 66% 32%, rgba(150,120,255,1), transparent 60%),
    radial-gradient(3px 3px at 84% 16%, rgba(170,140,255,1), transparent 60%);
  animation: twinkle1 3.2s ease-in-out infinite alternate;
}

/* Second layer */
body {
  position: relative;
}

body::before {
  pointer-events: none;
}

/* Extra star layers using pseudo children */
.star-layer2,
.star-layer3 {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.star-layer2 {
  background-image:
    radial-gradient(2px 2px at 18% 72%, rgba(180,150,255,1), transparent 60%),
    radial-gradient(2px 2px at 36% 84%, rgba(170,140,255,1), transparent 60%),
    radial-gradient(2px 2px at 57% 66%, rgba(180,150,255,1), transparent 60%),
    radial-gradient(2px 2px at 74% 78%, rgba(170,140,255,1), transparent 60%);
  animation: twinkle2 4.7s ease-in-out infinite alternate;
}

.star-layer3 {
  background-image:
    radial-gradient(2px 2px at 12% 52%, rgba(200,170,255,1), transparent 60%),
    radial-gradient(2px 2px at 24% 12%, rgba(170,140,255,1), transparent 60%),
    radial-gradient(2px 2px at 42% 48%, rgba(200,170,255,1), transparent 60%),
    radial-gradient(2px 2px at 63% 14%, rgba(170,140,255,1), transparent 60%),
    radial-gradient(2px 2px at 79% 44%, rgba(200,170,255,1), transparent 60%);
  animation: twinkle3 6s ease-in-out infinite alternate;
}

/* animations */
@keyframes twinkle1 {
  0% { opacity: 0.3; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes twinkle2 {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

@keyframes twinkle3 {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.3; }
}
/* Individual twinkling stars */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(190, 150, 255, 0.95);
  box-shadow:
    0 0 6px rgba(190, 150, 255, 0.95),
    0 0 14px rgba(190, 150, 255, 0.65),
    0 0 24px rgba(190, 150, 255, 0.35);
  filter: blur(0.2px);
  opacity: 0.18;
  animation-name: starTwinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: normal;
}

@keyframes starTwinkle {
  0% {
    opacity: 0.08;
    transform: scale(1);
    box-shadow:
      0 0 4px rgba(190, 150, 255, 0.45),
      0 0 10px rgba(190, 150, 255, 0.25),
      0 0 18px rgba(190, 150, 255, 0.12);
  }
  8% {
    opacity: 1;
    transform: scale(1.8);
    box-shadow:
      0 0 8px rgba(210, 180, 255, 1),
      0 0 18px rgba(210, 180, 255, 0.7),
      0 0 34px rgba(210, 180, 255, 0.35);
  }
  16% {
    opacity: 0.2;
    transform: scale(1);
    box-shadow:
      0 0 5px rgba(190, 150, 255, 0.55),
      0 0 12px rgba(190, 150, 255, 0.3),
      0 0 22px rgba(190, 150, 255, 0.15);
  }
  100% {
    opacity: 0.08;
    transform: scale(1);
    box-shadow:
      0 0 4px rgba(190, 150, 255, 0.45),
      0 0 10px rgba(190, 150, 255, 0.25),
      0 0 18px rgba(190, 150, 255, 0.12);
  }
}

/* Positions + different timings */
.s1  { top: 12%; left: 10%; animation-duration: 4.4s; animation-delay: 0.1s; }
.s2  { top: 24%; left: 22%; animation-duration: 6.2s; animation-delay: 1.4s; }
.s3  { top: 18%; left: 37%; animation-duration: 5.4s; animation-delay: 0.8s; }
.s4  { top: 34%; left: 52%; animation-duration: 6.8s; animation-delay: 2.2s; }
.s5  { top: 14%; left: 68%; animation-duration: 5.0s; animation-delay: 1.1s; }
.s6  { top: 28%; left: 84%; animation-duration: 6.0s; animation-delay: 0.5s; }
.s7  { top: 48%; left: 16%; animation-duration: 5.6s; animation-delay: 2.8s; }
.s8  { top: 56%; left: 31%; animation-duration: 6.6s; animation-delay: 1.9s; }
.s9  { top: 44%; left: 61%; animation-duration: 4.8s; animation-delay: 0.3s; }
.s10 { top: 62%; left: 78%; animation-duration: 7.2s; animation-delay: 2.5s; }
.s11 { top: 72%; left: 43%; animation-duration: 5.2s; animation-delay: 1.2s; }
.s12 { top: 80%; left: 88%; animation-duration: 6.4s; animation-delay: 0.9s; }
/* Smaller secondary stars */
.micro-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.micro-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(190, 150, 255, 0.7);
  box-shadow:
    0 0 4px rgba(190, 150, 255, 0.55),
    0 0 10px rgba(190, 150, 255, 0.25);
  filter: blur(0.15px);
  opacity: 0.06;
  animation-name: starTwinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: normal;
}

/* positions + timing */
.m1  { top: 6%; left: 18%; animation-duration: 5.8s; animation-delay: 0.6s; }
.m2  { top: 10%; left: 44%; animation-duration: 7.2s; animation-delay: 2.1s; }
.m3  { top: 8%; left: 76%; animation-duration: 6.4s; animation-delay: 1.3s; }
.m4  { top: 16%; left: 58%; animation-duration: 8.1s; animation-delay: 3.4s; }
.m5  { top: 22%; left: 12%; animation-duration: 6.9s; animation-delay: 1.8s; }
.m6  { top: 26%; left: 33%; animation-duration: 7.8s; animation-delay: 0.9s; }
.m7  { top: 30%; left: 72%; animation-duration: 5.9s; animation-delay: 2.7s; }
.m8  { top: 35%; left: 88%; animation-duration: 8.4s; animation-delay: 1.1s; }
.m9  { top: 42%; left: 24%; animation-duration: 6.6s; animation-delay: 3.2s; }
.m10 { top: 46%; left: 47%; animation-duration: 7.4s; animation-delay: 0.4s; }
.m11 { top: 40%; left: 81%; animation-duration: 6.1s; animation-delay: 2.5s; }
.m12 { top: 52%; left: 9%;  animation-duration: 8.2s; animation-delay: 1.6s; }
.m13 { top: 58%; left: 27%; animation-duration: 6.8s; animation-delay: 2.9s; }
.m14 { top: 61%; left: 54%; animation-duration: 7.6s; animation-delay: 0.7s; }
.m15 { top: 64%; left: 69%; animation-duration: 5.7s; animation-delay: 3.1s; }
.m16 { top: 68%; left: 85%; animation-duration: 8.0s; animation-delay: 1.4s; }
.m17 { top: 74%; left: 15%; animation-duration: 6.3s; animation-delay: 2.2s; }
.m18 { top: 78%; left: 36%; animation-duration: 7.9s; animation-delay: 0.5s; }
.m19 { top: 82%; left: 57%; animation-duration: 6.7s; animation-delay: 3.0s; }
.m20 { top: 86%; left: 74%; animation-duration: 8.3s; animation-delay: 1.0s; }
.m21 { top: 18%; left: 92%; animation-duration: 6.0s; animation-delay: 2.6s; }
.m22 { top: 48%; left: 63%; animation-duration: 7.1s; animation-delay: 1.7s; }
.m23 { top: 70%; left: 49%; animation-duration: 5.6s; animation-delay: 2.8s; }
.m24 { top: 88%; left: 91%; animation-duration: 7.7s; animation-delay: 0.8s; }