/* (SIDE A) DESKTOP DECORATIVE ASSETS */

.pinwheel-swirl {
  position: absolute;
  left: -50px;
  top: 25%;
  transform: translateY(-50%);
  width: auto;
  height: 400px;
  z-index: 5;
  pointer-events: auto;
  display: block;
  will-change: transform;
}

.wave {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 450px;
  z-index: 5;
  pointer-events: none;
  display: block;
  object-fit: cover;
}

.about-girl {
  position: absolute;
  bottom: -50px;
  right: 0;
  width: auto;
  height: 450px;
  z-index: 10;
  pointer-events: auto;
  display: block;
  will-change: transform;
}

/* MOBILE DECORATIVE ASSETS */

.mobile-bottom-assets {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 70vh;
  z-index: 5;
  pointer-events: none;
  display: block; 
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 480px) {
  .pinwheel-swirl,
  .wave,
  .about-girl {
    display: none !important;
  }

  .mobile-bottom-assets {
    display: block !important;
    bottom: -80px;
    height: auto;
    min-height: 350px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .pinwheel-swirl {
    left: -80px;
    top: 20%;
    height: 280px;
    pointer-events: auto;
  }

  .wave {
    bottom: -120px;
    height: 350px;
  }

  .about-girl {
    bottom: -40px;
    height: 320px;
    right: -90px;
    pointer-events: auto;
  }

  .mobile-bottom-assets {
    display: block !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pinwheel-swirl {
    left: -60px;
    top: 20%;
    height: 300px;
  }

  .wave {
    bottom: -130px;
    height: 380px;
  }

  .about-girl {
    bottom: -45px;
    right: -110px;
    height: 360px;
  }

  .mobile-bottom-assets {
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .pinwheel-swirl {
    left: -60px;
    top: 25%;
    height: 350px;
  }

  .wave {
    bottom: -190px;
    height: 550px;
  }

  .about-girl {
    bottom: -50px;
    right: -90px;
    height: 420px;
  }
}

@media (min-width: 1441px) and (max-width: 1919px) {
  .pinwheel-swirl {
    left: -40px;
    top: 23%;
    height: 380px;
  }

  .wave {
    bottom: -230px;
    height: 660px;
  }

  .about-girl {
    bottom: -80px;
    right: -90px;
    height: 450px;
  }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .pinwheel-swirl {
    left: -20px;
    top: 20%;
    height: 450px;
  }

  .wave {
    bottom: -300px;
    height: 850px;
  }

  .about-girl {
    bottom: -50px;
    right: -150px;
    height: 550px;
  }
}

@media (min-width: 2560px) {
  .pinwheel-swirl {
    left: clamp(-40px, -2vw, 0px);
    top: 20%;
    height: clamp(500px, 25vh, 600px);
  }

  .wave {
    bottom: -600px;
    height: clamp(550px, 28vh, 1500px);
  }

  .about-girl {
    bottom: -50px;
    right: -150px;
    height: clamp(550px, 28vh, 680px);
  }
}

/* LANDSCAPE ORIENTATION */

@media (orientation: landscape) and (max-height: 600px) and (min-width: 769px) {
  .pinwheel-swirl {
    height: 250px;
    left: -60px;
    top: 20%;
  }

  .wave {
    bottom: -100px;
    height: 280px;
  }

  .about-girl {
    bottom: -40px;
    height: 280px;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 768px) {
  .pinwheel-swirl,
  .wave,
  .about-girl {
    display: none !important;
  }

  .mobile-bottom-assets {
    display: block !important;
    height: auto;
    min-height: 300px;
    max-height: 80vh;
    bottom: -100px;
  }
}

/* MOBILE SPECIFIC ADJUSTMENTS */

@media (max-width: 375px) {
  .mobile-bottom-assets {
    bottom: -70px;
    min-height: 320px;
  }
}

@media (min-width: 376px) and (max-width: 480px) {
  .mobile-bottom-assets {
    bottom: -80px;
    min-height: 350px;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  .mobile-bottom-assets {
    display: block !important;
    height: auto;
    min-height: 350px;
    max-height: 70vh;
    width: 100%;
    bottom: -80px;
  }
}

@media (max-width: 812px) and (orientation: landscape) and (max-height: 480px) {
  .mobile-bottom-assets {
    display: block !important;
    height: auto;
    min-height: 280px;
    max-height: 70vh;
    width: 100%;
    bottom: -90px;
  }
}

/* iOS Safe Area Support */
@media (max-width: 480px) {
  .mobile-bottom-assets {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* REPEL EFFECTS */

@media (min-resolution: 120dpi) {
  .pinwheel-swirl,
  .about-girl {
    transform-style: preserve-3d;
    backface-visibility: hidden;
  }
}

.pinwheel-swirl:hover,
.about-girl:hover {
  transition: opacity 0.3s ease,
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  .pinwheel-swirl,
  .about-girl {
    pointer-events: none;
    transition: none !important;
    will-change: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .pinwheel-swirl:hover,
  .about-girl:hover {
    transition: transform 0.15s ease;
  }
}
