/* ============================================
   Lab Sistem Komputer — animations.css
   Comprehensive Animation System
   ============================================ */

/* ── SCROLL REVEAL ANIMATIONS (triggered by IntersectionObserver) ── */

/* Base state for scroll-reveal elements */
.anim-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-reveal.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-slide-left.anim-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.anim-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-slide-right.anim-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.anim-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scale.anim-visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade only */
.anim-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

.anim-fade.anim-visible {
  opacity: 1;
}

/* ── STAGGER DELAYS (for child elements) ── */
.anim-stagger>*:nth-child(1) {
  transition-delay: 0s;
}

.anim-stagger>*:nth-child(2) {
  transition-delay: 0.08s;
}

.anim-stagger>*:nth-child(3) {
  transition-delay: 0.16s;
}

.anim-stagger>*:nth-child(4) {
  transition-delay: 0.24s;
}

.anim-stagger>*:nth-child(5) {
  transition-delay: 0.32s;
}

.anim-stagger>*:nth-child(6) {
  transition-delay: 0.4s;
}

.anim-stagger>*:nth-child(7) {
  transition-delay: 0.48s;
}

.anim-stagger>*:nth-child(8) {
  transition-delay: 0.56s;
}

.anim-stagger>*:nth-child(9) {
  transition-delay: 0.64s;
}

.anim-stagger>*:nth-child(10) {
  transition-delay: 0.72s;
}

.anim-stagger>*:nth-child(n+11) {
  transition-delay: 0.8s;
}

/* ── PAGE TRANSITION ── */
.main {
  animation: anim-pageEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes anim-pageEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HERO ENTRANCE ANIMATIONS ── */
@keyframes anim-heroTitle {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes anim-heroSubtitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anim-heroBtns {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-hero-title-img {
  animation: anim-heroTitle 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.lp-hero-stmik {
  animation: anim-heroSubtitle 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.lp-hero-desc {
  animation: anim-heroSubtitle 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.lp-hero-btns {
  animation: anim-heroBtns 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

/* ── ENHANCED CARD HOVER MICRO-INTERACTIONS ── */

/* Glow effect on landing stat cards */
.lp-stat-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.lp-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 158, 45, 0.2);
  border-color: rgba(45, 158, 45, 0.6);
}

/* Asisten card hover */
.lp-asisten-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.lp-asisten-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(45, 158, 45, 0.15);
}

/* Asisten foto hover */
.lp-asisten-foto,
.lp-asisten-foto-init {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.lp-asisten-card:hover .lp-asisten-foto,
.lp-asisten-card:hover .lp-asisten-foto-init {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(45, 158, 45, 0.3);
  border-color: #3dbf3d;
}

/* Feature card hover */
.feature-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent2);
  box-shadow: 0 8px 24px rgba(45, 158, 45, 0.12);
}

/* Card general hover shimmer */
.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(45, 158, 45, 0.03) 50%,
      transparent 70%);
  transform: translateX(-100%) rotate(0deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card:hover::after {
  transform: translateX(100%) rotate(0deg);
}

.card:hover {
  border-color: rgba(45, 158, 45, 0.3);
}

/* ── BUTTON MICRO-INTERACTIONS ── */

/* Ripple effect container */
.btn-primary,
.btn-secondary,
.lp-btn-solid,
.lp-btn-outline,
.lp-btn-outline-w,
.lp-nav-daftar {
  position: relative;
  overflow: hidden;
}

/* Enhanced button scale & glow */
.lp-btn-solid {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-btn-solid:hover {
  box-shadow: 0 6px 24px rgba(45, 158, 45, 0.4),
    0 0 60px rgba(45, 158, 45, 0.15);
}

.lp-btn-solid:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(45, 158, 45, 0.3);
}

.btn-primary {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(26, 107, 26, 0.4);
}

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

/* Nav button active indicator */
.nav-btn {
  position: relative;
}

.nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent3);
  border-radius: 2px;
  animation: anim-navIndicator 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes anim-navIndicator {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 20px;
    opacity: 1;
  }
}

/* ── FLOATING PARTICLES (Ambient Background) ── */
.anim-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.anim-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(61, 191, 61, 0.25);
  border-radius: 50%;
  animation: anim-float linear infinite;
}

@keyframes anim-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* Varying particle sizes & speeds */
.anim-particle:nth-child(1) {
  left: 8%;
  width: 2px;
  height: 2px;
  animation-duration: 18s;
  animation-delay: 0s;
}

.anim-particle:nth-child(2) {
  left: 16%;
  width: 4px;
  height: 4px;
  animation-duration: 22s;
  animation-delay: 2s;
}

.anim-particle:nth-child(3) {
  left: 28%;
  width: 2px;
  height: 2px;
  animation-duration: 20s;
  animation-delay: 4s;
}

.anim-particle:nth-child(4) {
  left: 38%;
  width: 3px;
  height: 3px;
  animation-duration: 16s;
  animation-delay: 1s;
  background: rgba(45, 158, 45, 0.15);
}

.anim-particle:nth-child(5) {
  left: 50%;
  width: 2px;
  height: 2px;
  animation-duration: 24s;
  animation-delay: 3s;
}

.anim-particle:nth-child(6) {
  left: 62%;
  width: 3px;
  height: 3px;
  animation-duration: 19s;
  animation-delay: 5s;
}

.anim-particle:nth-child(7) {
  left: 72%;
  width: 2px;
  height: 2px;
  animation-duration: 21s;
  animation-delay: 0.5s;
  background: rgba(45, 158, 45, 0.2);
}

.anim-particle:nth-child(8) {
  left: 82%;
  width: 4px;
  height: 4px;
  animation-duration: 17s;
  animation-delay: 2.5s;
}

.anim-particle:nth-child(9) {
  left: 90%;
  width: 2px;
  height: 2px;
  animation-duration: 23s;
  animation-delay: 4.5s;
}

.anim-particle:nth-child(10) {
  left: 45%;
  width: 3px;
  height: 3px;
  animation-duration: 25s;
  animation-delay: 6s;
  background: rgba(61, 191, 61, 0.1);
}

/* ── COUNTER ANIMATION (animated counting via JS) ── */
.anim-counter {
  display: inline-block;
  transition: transform 0.3s ease;
}

.anim-counter.anim-counting {
  animation: anim-countPulse 0.15s ease-in-out;
}

@keyframes anim-countPulse {

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

  50% {
    transform: scale(1.05);
  }
}

/* ── TOAST ENHANCED ANIMATION ── */
.toast {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  animation: anim-toastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes anim-toastIn {
  from {
    transform: translateY(80px) scale(0.85);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Toast dot pulse */
.toast.show .toast-dot {
  animation: anim-dotPulse 1.5s ease-in-out infinite;
}

@keyframes anim-dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(45, 158, 45, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(45, 158, 45, 0);
  }
}

/* ── MODAL ENTRANCE ── */
.modal-overlay {
  animation: anim-modalOverlay 0.3s ease both;
}

@keyframes anim-modalOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-overlay .modal-box {
  animation: anim-modalBox 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes anim-modalBox {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── LOADING SPINNER ENHANCED ── */
.loading-screen .spinner {
  animation: spin 0.7s linear infinite, anim-spinnerGlow 2s ease-in-out infinite;
}

@keyframes anim-spinnerGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(61, 191, 61, 0);
  }

  50% {
    box-shadow: 0 0 20px 4px rgba(61, 191, 61, 0.15);
  }
}

.loading-screen p {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ── NOTIFICATION BADGE PULSE ── */
.mhs-dash-notif-dot {
  animation: anim-notifPulse 2s ease-in-out infinite;
}

@keyframes anim-notifPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(248, 81, 73, 0);
  }
}

/* ── KALAB CARD ENTRANCE ── */
.lp-kalab-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.lp-kalab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Kalab foto hover zoom */
.lp-kalab-foto {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-kalab-card:hover .lp-kalab-foto {
  transform: scale(1.03);
}

/* ── CTA SECTION GLOW ── */
.lp-cta-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}

.lp-cta-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 24px rgba(61, 191, 61, 0.2));
}

/* ── TENTANG BOX GLOW BORDER ── */
.lp-tentang-box {
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.lp-tentang-box:hover {
  border-color: rgba(61, 191, 61, 0.5);
  box-shadow: 0 0 30px rgba(45, 158, 45, 0.08);
}

/* ── BADGE HOVER EFFECT ── */
.badge,
.badge-green,
.badge-blue,
.badge-purple,
.badge-gray,
.badge-red,
.badge-yellow,
.kondisi-badge {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge:hover,
.kondisi-badge:hover {
  transform: scale(1.05);
}

/* ── TABLE ROW HOVER ── */
tr {
  transition: background 0.2s ease;
}

tr:hover td {
  background: rgba(45, 158, 45, 0.05);
}

/* ── PENGUMUMAN CARD ANIMATION ── */
.pengumuman-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.pengumuman-card:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

/* ── PROGRESS BAR ANIMATION ── */
.progress-bar,
.progress-fill,
.mhs-dash-progress-fill {
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── STAT VALUE HOVER ── */
.stat-value,
.stat-card {
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-card:hover .stat-value {
  transform: scale(1.05);
}

/* ── TAB INDICATOR ANIMATION ── */
.tab {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab.active {
  animation: anim-tabActivate 0.3s ease both;
}

@keyframes anim-tabActivate {
  from {
    border-bottom-color: transparent;
  }

  to {
    border-bottom-color: var(--accent3);
  }
}

/* ── QUICK ACCESS BUTTON BOUNCE ── */
.mhs-dash-quick-btn {
  transition: transform 0.2s ease;
}

.mhs-dash-quick-btn:hover .mhs-dash-quick-icon {
  background: rgba(45, 158, 45, 0.12);
  border-color: var(--accent2);
  animation: anim-quickBounce 0.4s ease;
}

@keyframes anim-quickBounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(0.92);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* ── MHS HERO ENTRANCE ── */
.mhs-dash-hero {
  animation: anim-dashHero 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes anim-dashHero {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── FLOATING NAV ENTRANCE ── */
.mhs-float-nav {
  animation: anim-floatNavIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes anim-floatNavIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── SCHEDULE ITEM STAGGER ── */
.mhs-dash-jadwal-item {
  animation: anim-scheduleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mhs-dash-jadwal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.mhs-dash-jadwal-item:nth-child(2) {
  animation-delay: 0.2s;
}

.mhs-dash-jadwal-item:nth-child(3) {
  animation-delay: 0.3s;
}

.mhs-dash-jadwal-item:nth-child(4) {
  animation-delay: 0.4s;
}

.mhs-dash-jadwal-item:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes anim-scheduleIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── USER DROPDOWN ANIMATION ── */
#user-dropdown {
  animation: anim-dropdownIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: top right;
}

@keyframes anim-dropdownIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── GRADIENT SHIMMER ON LP SECTIONS ── */
.lp-label {
  background: linear-gradient(90deg, #3dbf3d, #5ae05a, #3dbf3d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: anim-shimmerText 3s linear infinite;
}

@keyframes anim-shimmerText {
  from {
    background-position: 200% center;
  }

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

/* ── LOGIN / REGISTER CARD ENTRANCE ── */
.page>.card {
  animation: anim-formCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes anim-formCardIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── INPUT FOCUS GLOW ── */
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(61, 191, 61, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.3s ease;
}

/* ── FILE UPLOAD HOVER ANIMATION ── */
.file-upload {
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.file-upload:hover {
  transform: scale(1.01);
}

.file-upload .upload-icon {
  transition: transform 0.3s ease;
}

.file-upload:hover .upload-icon {
  transform: translateY(-4px);
  animation: anim-uploadBounce 0.6s ease infinite;
}

@keyframes anim-uploadBounce {

  0%,
  100% {
    transform: translateY(-4px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ── ONLINE INDICATOR PULSE ── */
.mhs-dash-online {
  animation: anim-onlinePulse 2s ease-in-out infinite;
}

@keyframes anim-onlinePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(61, 191, 61, 0.4);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(61, 191, 61, 0);
  }
}

/* ── SCHEDULE DOT ACTIVE PULSE ── */
.schedule-dot.active {
  animation: anim-scheduleDotPulse 2s ease-in-out infinite;
}

@keyframes anim-scheduleDotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(46, 160, 67, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(46, 160, 67, 0);
  }
}

/* ── SMOOTH SCROLL INDICATOR (top border on scroll) ── */
.anim-scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(61, 191, 61, 0.4);
}

/* ── NAVBAR GLASSMORPHISM ENHANCED ── */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.anim-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  border-bottom-color: rgba(45, 158, 45, 0.15) !important;
}

/* ── KRS ALERT PULSE ── */
.mhs-dash-krs-alert {
  animation: anim-alertPulse 3s ease-in-out infinite;
}

@keyframes anim-alertPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
  }
}

/* ── RIPPLE EFFECT (added via JS) ── */
.anim-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: anim-rippleEffect 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes anim-rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── 3D TILT ON HERO STATS (subtle) ── */
.mhs-dash-hero-stat {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mhs-dash-hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ── REDUCED MOTION HANDLING ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .anim-reveal,
  .anim-slide-left,
  .anim-slide-right,
  .anim-scale,
  .anim-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .anim-particles {
    display: none !important;
  }
}

/* ── MOBILE OPTIMIZATION ── */
@media (max-width: 768px) {
  .anim-particles .anim-particle:nth-child(n+6) {
    display: none;
    /* Fewer particles on mobile */
  }
}