/* Pengaturan Dasar dan Tema Warna Pastel */
:root {
  --pastel-bg: #FEFBF6;
  /* Krem yang sangat lembut */
  --pastel-primary: #FAD4D4;
  /* Pink pastel */
  --pastel-secondary: #E3DFFD;
  /* Ungu pastel lembut */
  --text-dark: #5c5470;
  /* Warna teks gelap */
  --text-light: #ffffff;
  /* Warna teks terang */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  /* Mencegah scroll di body utama */
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--pastel-bg);
  /* Gambar dandelion sebagai latar belakang, Anda bisa menggantinya jika perlu */
  background-image: url('https://www.transparentpng.com/thumb/dandelion/Z082dY-dandelion-clipart-hd.png');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: bottom -20px right -50px;
}

/* Kontainer Utama Aplikasi */
.app-container {
  display: flex;
  flex-direction: column;
  height: 90vh;
  width: 100%;
  max-width: 480px;
  /* Lebar maksimal untuk tampilan mobile */
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Pengaturan Carousel (70% layar) */
.swiper {
  width: 100%;
  height: 70vh;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Teks berada di bagian bawah slide */
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 40px 20px;
}

/* Lapisan gradien gelap di atas foto agar teks lebih mudah dibaca */
.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.slide-content {
  position: relative;
  /* Agar tidak tertutup lapisan gradien */
  z-index: 2;
}

.slide-content h1,
.slide-content h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.slide-content p {
  font-size: 1rem;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Navigasi Titik-titik pada Carousel */
.swiper-pagination-bullet {
  background-color: var(--pastel-primary) !important;
  opacity: 0.8 !important;
  width: 10px !important;
  height: 10px !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--text-light) !important;
  transform: scale(1.2);
}

/* Pengaturan Music Player (30% layar) */
.music-player {
  height: 30vh;
  background-color: var(--pastel-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
  padding: 20px;
  border-top: 1px solid #eee;
  position: relative;
  z-index: 5;
}

.song-title {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
