/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background-color: #f0f4f8;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Efek Koin Berjatuhan */
.coin-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.coin {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url('coin.png') no-repeat center/cover;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-10%) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(360deg); }
}

.coin:nth-child(1) {
  left: 5%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.coin:nth-child(2) {
  left: 20%;
  animation-duration: 6s;
  animation-delay: 1s;
}

.coin:nth-child(3) {
  left: 40%;
  animation-duration: 7s;
  animation-delay: 2s;
}

.coin:nth-child(4) {
  left: 60%;
  animation-duration: 8s;
  animation-delay: 3s;
}

.coin:nth-child(5) {
  left: 80%;
  animation-duration: 9s;
  animation-delay: 4s;
}

/* Header */
.header {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.header-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
}

.header-subtitle {
  font-size: 1.25rem;
  margin: 10px 0 0;
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  margin: 40px 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide {
  display: none;
}

.slide-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.slide.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Dot Navigasi */
.dots {
  text-align: center;
  margin-top: 16px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #3b82f6;
}

/* Tombol CTA */
.cta-container {
  text-align: center;
  margin: 40px 0;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: auto;
  max-width: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Footer */
.footer {
  background-color: #1e3a8a;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .header-title {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    padding: 12px 24px;
  }

  .slideshow {
    margin: 20px 0;
  }
}