/* ST0N3ZY personal hub — static, mostly-dark, bold gradients + aurora */
:root {
  --bg: #0b0e14;
  --text: #ffffff;
  --muted: #d0d5e5;
  /* Improved contrast */

  /* Palette: purple / orange / cyan */
  --p: #6a00ff;
  --o: #ff7a18;
  --c: #00d4ff;
  --t: #00d4aa;
  /* used for small status accents */

  /* Glow variations for interactions */
  --glow-purple: rgba(106, 0, 255, 0.4);
  --glow-orange: rgba(255, 122, 24, 0.4);
  --glow-cyan: rgba(0, 212, 255, 0.4);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --shadow2: 0 10px 30px rgba(0, 0, 0, .35);
  --max: 1120px;

  /* Fonts */
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto
}

/* Background wrapper */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none
}

/* Noise texture overlay */
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: .035;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0/28px 28px;
  opacity: .18;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
}

/* Aurora layers - Enhanced */
.aurora {
  position: absolute;
  inset: -18vh -18vw;
  opacity: .75;
  filter: blur(18px);
  transform: translate3d(calc(var(--mx, 0px) * 0.02), calc(var(--my, 0px) * 0.02), 0);
  mix-blend-mode: normal;
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 999px;
  will-change: transform;
}

.aurora::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(106, 0, 255, .90), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(255, 122, 24, .80), transparent 55%),
    radial-gradient(circle at 50% 70%, rgba(0, 212, 255, .72), transparent 60%);
  animation: auroraRotate 80s linear infinite;
  opacity: .70;
}

.aurora::after {
  background:
    radial-gradient(circle at 30% 60%, rgba(106, 0, 255, .70), transparent 58%),
    radial-gradient(circle at 80% 55%, rgba(255, 122, 24, .65), transparent 60%),
    radial-gradient(circle at 55% 25%, rgba(0, 212, 255, .62), transparent 62%);
  animation: auroraRotateReverse 120s linear infinite;
  opacity: .55;
}

@keyframes auroraRotate {
  from {
    transform: rotate(0deg) scale(1.1);
  }

  to {
    transform: rotate(360deg) scale(1.1);
  }
}

@keyframes auroraRotateReverse {
  from {
    transform: rotate(360deg) scale(1.2);
  }

  to {
    transform: rotate(0deg) scale(1.2);
  }
}

/* Spotlight follows cursor slightly */
.spotlight {
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(720px 420px at calc(50% + var(--mx, 0px)) calc(18% + var(--my, 0px)),
      rgba(255, 255, 255, .10),
      rgba(255, 255, 255, .04) 40%,
      transparent 70%);
  opacity: .55;
}

/* Optional orbs (subtle) */
.bg-orb {
  position: absolute;
  width: 540px;
  height: 540px;
  filter: blur(95px);
  opacity: .14;
  transform: translate3d(0, 0, 0);
}

.orb-1 {
  left: -160px;
  top: 120px;
  background: radial-gradient(circle, var(--p), transparent 60%)
}

.orb-2 {
  right: -180px;
  top: 380px;
  background: radial-gradient(circle, var(--o), transparent 60%)
}

.orb-3 {
  left: 35%;
  bottom: -220px;
  background: radial-gradient(circle, var(--c), transparent 60%)
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--p), var(--o), var(--c));
  z-index: 100;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(106, 0, 255, 0.5);
}


/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, .55);
  border-bottom: 1px solid rgba(31, 42, 58, .6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .3px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--o), var(--c));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .04);
  transition: transform 0.6s ease;
}

.brand:hover .brand-mark {
  transform: rotate(180deg);
}

.brand-text {
  font-size: 14px;
  opacity: .95
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(31, 42, 58, .7);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .85);
  margin: 4px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  padding: 8px 10px;
  border-radius: 12px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, .06)
}

.nav-links a.active {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: .2px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select: none;
}

.btn.small {
  padding: 8px 12px;
  font-size: 13px
}

.btn.primary {
  color: #090b10;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .40);
}

.btn.primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .30);
}

.btn.secondary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, .10);
  transform: translateY(-1px);
}

.btn.secondary:active {
  transform: scale(0.97);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .18);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.btn.ghost:active {
  transform: scale(0.97);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 24, 38, .55), rgba(11, 14, 20, 0));
  border-top: 1px solid rgba(31, 42, 58, .45);
  border-bottom: 1px solid rgba(31, 42, 58, .35);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 900px;
}

.section-head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.6px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Stats Section */
.stats-section {
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--glow-cyan);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-suffix {
  display: inline;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--c);
  margin-left: -8px;
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Hero */
.hero {
  position: relative;
  padding-top: 56px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 28px;
  align-items: start;
}

.kicker {
  margin: 0 0 12px
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -1.2px;
}

.glow {
  background: linear-gradient(135deg, #fff 0%, var(--c) 25%, var(--p) 50%, var(--o) 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(106, 0, 255, .25);
  animation: gradientFlow 8s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero-sub {
  margin: 0 0 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .80);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t);
  box-shadow: 0 0 0 5px rgba(0, 212, 170, .12);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero Card with Animated Border */
.hero-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 14, 20, .55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(from var(--border-angle, 0deg),
      var(--p) 0%,
      var(--o) 33%,
      var(--c) 66%,
      var(--p) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.4;
  animation: borderRotate 8s linear infinite;
  pointer-events: none;
}

@keyframes borderRotate {
  0% {
    --border-angle: 0deg;
    transform: rotate(0deg);
  }

  100% {
    --border-angle: 360deg;
    transform: rotate(360deg);
  }
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

.status {
  display: flex;
  gap: 10px;
  align-items: center
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ff86;
  box-shadow: 0 0 0 6px rgba(39, 255, 134, .12);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.tiny {
  color: rgba(255, 255, 255, .65)
}

.hero-card-body {
  padding: 14px 16px 6px
}

.hero-card-title {
  margin: 0 0 12px;
  font-size: 16px
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.quick:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(106, 0, 255, .40);
}

.quick-ic {
  font-size: 18px
}

.quick strong {
  display: block;
  font-size: 14px
}

.quick em {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
}

.hero-card-bottom {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Divider */
.hero-divider {
  height: 1px;
  margin-top: 52px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  opacity: .55;
}

/* Grids & cards */
.grid {
  display: grid;
  gap: 16px
}

.grid.two {
  grid-template-columns: 1fr 1fr
}

.list {
  margin: 10px 0 0 18px;
  color: var(--muted)
}

.list li {
  margin: 8px 0
}

.card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow2);
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  transition: all 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--glow-cyan);
  box-shadow: 0 4px 12px var(--glow-cyan);
}

.callout {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 170, .20);
  background: rgba(0, 212, 170, .06);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}

/* Tags */
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.tag {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .85);
  transition: all 0.2s ease;
}

.tag:hover {
  transform: scale(1.05);
  border-color: var(--glow-purple);
  box-shadow: 0 2px 8px var(--glow-purple);
}

/* Projects - Enhanced with Glassmorphism */
.project {
  border-radius: var(--radius);
  background: rgba(12, 17, 26, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow2);
  padding: 18px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.project:hover {
  transform: translateY(-6px);
  border-color: rgba(106, 0, 255, .45);
  background: rgba(12, 17, 26, .60);
  box-shadow: 0 20px 50px rgba(106, 0, 255, 0.25), var(--shadow2);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .project {
    background: rgba(12, 17, 26, .75);
  }
}

.project-top {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.project-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(106, 0, 255, .32), rgba(255, 122, 24, .24), rgba(0, 212, 255, .20));
  border: 1px solid rgba(255, 255, 255, .10);
}

.project-meta h3 {
  margin: 0;
  font-size: 18px
}

.project-meta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px
}

.project-bullets {
  margin: 12px 0 0 18px;
  color: var(--muted)
}

.project-bullets li {
  margin: 8px 0
}

.project-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 122, 24, .35);
}

.contact-ic {
  font-size: 18px
}

.contact-card strong {
  display: block
}

.contact-card em {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, .70);
  font-size: 13px
}

/* Footer */
.footer {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 18px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
}

.to-top {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.to-top:hover {
  background: rgba(255, 255, 255, .08)
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
}

.modal[aria-hidden="false"] {
  display: block
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .60);
}

.modal-panel {
  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: 9vh auto;
  border-radius: 22px;
  background: rgba(11, 14, 20, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .10)
}

.modal-content {
  padding: 22px 18px 18px;
}

.modal-content h3 {
  margin: 0 0 8px
}

.modal-content p {
  margin: 0 0 12px;
  color: var(--muted)
}

.modal-content ul {
  margin: 10px 0 0 18px;
  color: var(--muted)
}

.modal-content li {
  margin: 8px 0
}

/* Better focus-visible */
:focus-visible {
  outline: 2px solid rgba(0, 212, 255, .65);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aurora::before,
  .aurora::after {
    animation: none !important;
  }

  [data-reveal] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Disable all new animations */
  .glow,
  .hero-card::before,
  .brand-mark,
  .status-dot,
  .dot {
    animation: none !important;
  }

  .scroll-progress {
    display: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .hero-title {
    font-size: 44px
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr
  }

  .grid.two {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr
  }

  /* Stats grid for tablets */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 38px
  }

  .quick-grid {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 72px 0
  }

  .container {
    width: min(var(--max), calc(100% - 34px))
  }

  .nav-toggle {
    display: inline-flex
  }

  .nav-links {
    position: absolute;
    top: 58px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(11, 14, 20, .92);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    box-shadow: var(--shadow2);
  }

  .nav-links.open {
    display: flex
  }

  /* Stats grid for mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 38px;
  }

  .stats-section {
    padding: 48px 0;
  }
}


/* Perf: isolate aurora paint/composite work */
.aurora {
  contain: paint;
  isolation: isolate;
}

/* Pause aurora rotation when tab is hidden (class toggled in JS) */
.pause-aurora .aurora::before,
.pause-aurora .aurora::after {
  animation-play-state: paused !important;
}

/* Backdrop blur only when supported */
@supports (backdrop-filter: blur(10px)) {
  .header {
    backdrop-filter: blur(10px);
  }
}