/* Modern Bright Theme */
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); */
  background: linear-gradient(135deg, #eaeaea 0%, #f5f6f7 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  color: rgb(3, 3, 3);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.loading-progress {
  width: 21rem;
  height: 4px;
  background: #ebecef;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: #2563eb;
  width: 0%;
  animation: loadProgress 3s ease-in-out forwards;
}

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

@keyframes loadProgress {
  0% {
    width: 0%;
  }
  30% {
    width: 30%;
  }
  60% {
    width: 60%;
  }
  90% {
    width: 90%;
  }
  100% {
    width: 100%;
  }
}

/* Hero Pattern */
.hero-pattern {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(251, 191, 36, 0.08) 0%,
      transparent 50%
    );
}

/* Card Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Countdown Styles */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.1),
    rgba(147, 197, 253, 0.05)
  );
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  min-width: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.countdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.countdown-item:hover::before {
  left: 100%;
}

.countdown-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1d4ed8;
  text-shadow: 0 2px 8px rgba(29, 78, 216, 0.2);
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navigation Styles */
.nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #475569;
}

.nav-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1d4ed8;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Section Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.97) rotateZ(-1deg);
  filter: blur(4px);
  animation: fadeInModern 1s cubic-bezier(0.22, 1, 0.36, 1.1) forwards;
  will-change: opacity, transform, filter;
}
@keyframes fadeInModern {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97) rotateZ(-1deg);
    filter: blur(4px);
  }
  50% {
    opacity: 0.6;
    filter: blur(1.5px);
    transform: translateY(-4px) scale(1.01) rotateZ(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0deg);
    filter: blur(0px);
  }
}

/* Animasi gambar zoom-in */
.img-zoom-in {
  opacity: 0;
  transform: scale(0.93) rotateZ(-2deg);
  filter: blur(2px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1.1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1.1), filter 0.8s;
}
.img-zoom-in.visible {
  opacity: 1;
  transform: scale(1) rotateZ(0deg);
  filter: blur(0);
}

/* Tambahkan/ubah bagian CSS berikut untuk animasi section saat scroll */
/* Animasi section masuk dari bawah dengan fade dan sedikit zoom */
.section-animate {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1.1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1.1), filter 0.9s;
  will-change: opacity, transform, filter;
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Responsive */
@media (max-width: 768px) {
  .countdown-container {
    justify-content: center;
    gap: 12px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 12px 8px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.65rem;
  }
}

/* Header Scroll Effect */
.header-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-scrolled .logo-img {
  height: 3rem;
}

.header-scrolled .header-padding {
  padding: 0.75rem 1rem;
}

@media (max-width: 768px) {
  .logo-img {
    height: 3.5rem;
  }

  .header-scrolled .logo-img {
    height: 2.5rem;
  }
}

/* Tambahkan CSS untuk animasi live-dot */
.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #f59e42;
  border-radius: 50%;
  margin-right: 2px;
  box-shadow: 0 0 0 0 rgba(245, 158, 66, 0.7);
  animation: live-pulse 1.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 66, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 158, 66, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 66, 0);
  }
}

/* Social Media Floating */
.social-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float a {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-float a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.social-float a:hover::before {
  left: 100%;
}

.social-float a:hover {
  transform: scale(1.1) rotate(5deg);
}

.social-facebook {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}
.social-instagram {
  background: linear-gradient(45deg, #e4405f, #fccc63);
}
.social-youtube {
  background: linear-gradient(45deg, #ff0000, #ff6b6b);
}
.social-whatsapp {
  background: linear-gradient(45deg, #25d366, #128c7e);
}

/* Share Modal */
.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 6%);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.share-modal.open {
  opacity: 1;
  visibility: visible;
}

.share-content {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.share-modal.open .share-content {
  transform: scale(1);
}
