@import url("common.css");
@import url("animation.css");

html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.with-scrollbar {
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

.font-esthetic {
  font-family: "Sacramento", cursive !important;
}

.font-esthetic-open {
  font-family: "Sacramento", cursive !important;
}

.font-arabic {
  font-family: "Noto Naskh Arabic", serif !important;
}

.font-javanese {
  font-family: "Noto Sans Javanese", "Tuladha Jejeg", serif;
  font-size: 2.25rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

h2 {
  color: #fffdec;
}

h3 {
  color: #fffdec;
}

p {
  color: #ffefef;
  font-size: 0.95rem;
}

.font-serif-elegant {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: 1rem;
  margin-top: 0;
}

.img-center-crop {
  width: 18rem;
  height: 18rem;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

html[data-bs-theme="dark"] .btn-transparent {
  background-color: rgba(var(--bs-dark-rgb), 0.5) !important;
  backdrop-filter: blur(0.5rem);
}

html[data-bs-theme="light"] .btn-transparent {
  background-color: rgba(var(--bs-light-rgb), 0.5) !important;
  backdrop-filter: blur(0.5rem);
}

.loading-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1056;
}

:root {
  --color-black: #0f0f0f;
  --color-pink: #ff6fa5;
  --color-pink-soft: #ffc1d6;
  --color-dark-light: rgba(155, 155, 155, 0.75);
  --overlay-light: rgba(255, 255, 255, 0.75);
  --overlay-dark: rgba(0, 0, 0, 0.75);
}

html[data-bs-theme="light"] .color-theme-svg {
  color: #ffeef3;
  background-color: var(--color-dark-light);
}

html[data-bs-theme="dark"] .color-theme-svg {
  color: rgb(0, 0, 0);
  background-color: var(--bs-dark);
}

html[data-bs-theme="light"] .bg-light-dark {
  background: linear-gradient(to bottom, #fff5f8, #ffeef3, #fff);
}

html[data-bs-theme="dark"] .bg-light-dark {
  background-color: var(--color-black);
}

html[data-bs-theme="light"] .bg-white-black {
  background-color: rgb(var(--bs-white-rgb));
}

html[data-bs-theme="dark"] .bg-white-black {
  background-color: rgb(var(--bs-black-rgb));
}

.btn-soft {
  background-color: none;
  color: white;
  border: 1px solid #f9a7bf;
}

.btn-soft:hover {
  background-color: #ff6f9c;
}

.bg-cover-home {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(
    0.5turn,
    transparent,
    black 40%,
    black 60%,
    transparent
  );
}

.bg-overlay-soft {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75); /* adjust 0.6 - 0.85 */
  z-index: 1;
}

section {
  position: relative;
  z-index: 0;
}

.width-loading {
  width: 25%;
}

.cursor-pointer {
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  .width-loading {
    width: 50%;
  }
}

@media screen and (max-width: 576px) {
  .width-loading {
    width: 75%;
  }
}

svg {
  display: block;
  line-height: 0;
  shape-rendering: geometricPrecision;
  backface-visibility: hidden;
}

.svg-wrapper {
  overflow: hidden !important;
  transform: translateZ(0) !important;
}

.no-gap-bottom {
  margin-bottom: -0.75rem !important;
}

.bg-overlay-soft {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
}

/* 🌸 Sakura Animation */
.sakura {
  position: fixed;
  top: -20px;
  pointer-events: none;
  z-index: 9999;

  animation: sakuraFall linear forwards;
}

/* 🌸 REALISTIC FALL */
@keyframes sakuraFall {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(40px, 25vh) rotate(90deg);
  }

  50% {
    transform: translate(-30px, 50vh) rotate(180deg);
  }

  75% {
    transform: translate(30px, 75vh) rotate(270deg);
  }

  100% {
    transform: translate(-40px, 100vh) rotate(360deg);
  }
}

/* 🎵 Music Button */
.music-btn {
  position: fixed;
  bottom: 75px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: solid 5px rgba(255, 182, 193, 0.85);

  background: rgba(255, 182, 193, 0.85); /* soft pink */
  backdrop-filter: blur(8px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999;
  transition: all 0.3s ease;
}

.music-btn:hover {
  transform: scale(1.1);
}

/* 🎵 playing animation */
.music-btn.playing {
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 182, 193, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 182, 193, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 182, 193, 0);
  }
}

/* 🎵 rotating icon */
.music-btn.playing i {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Indicator */
.arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #ffeef3;
  border-right: 2px solid #ffeef3;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(10px) rotate(45deg);
  }
}
