@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --spotify-bg: #121212;
  --spotify-accent: #1DB954;
  --spotify-accent-hover: #1ed760;
  --spotify-highlight: #282828;
  --spotify-border: #333333;
  --spotify-text: #ffffff;
  --spotify-subtext: #b3b3b3;
  
  --font-spotify: 'Open Sans', sans-serif;
  --font-spotify-bold: 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--spotify-bg);
  color: var(--spotify-text);
  font-family: var(--font-spotify);
  overflow-x: hidden;
}
body.popup-active {
  overflow: hidden;
}

/* OVERLAY COVER */
#introOverlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1DB954 0%, #121212 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#introOverlay.open-anim {
  opacity: 0;
  transform: translateY(-100%);
}

.cover-section {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}

/* ALBUM COVER (pengganti polaroid) */
.album-cover {
  background: var(--spotify-highlight);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s ease;
}
.album-cover:hover {
  transform: scale(1.02);
}
.album-cover img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: block;
}
.album-caption {
  font-family: var(--font-spotify-bold);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 15px;
  color: var(--spotify-text);
}
.badge-date {
  font-family: var(--font-spotify);
  color: var(--spotify-subtext);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* SPOTIFY BUTTONS */
.btn-open, .btn-spotify {
  background-color: #1ed760; /* Spotify bright green */
  color: #000000; /* Black text for high contrast */
  border: none;
  border-radius: 500px; /* Fully rounded pill */
  padding: 14px 32px;
  font-family: var(--font-spotify-bold);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: none; /* Spotify buttons are usually Title Case */
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: none; /* No glowing shadow */
  transition: transform 0.2s ease, background-color 0.2s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
}
.btn-open:hover, .btn-spotify:hover {
  background-color: #3be477; /* Brighter green on hover */
  transform: scale(1.04);
}

/* MAIN CONTENT CONTAINER */
.spotify-container {
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
  padding: 20px 15px 100px 15px;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #1DB954 -100%, var(--spotify-bg) 30%);
}

/* CARDS (Pengganti paper-note) */
.spotify-card {
  background: var(--spotify-highlight);
  border-radius: 12px;
  padding: 25px 20px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* TITLE IN CARD */
.spotify-title {
  font-family: var(--font-spotify-bold);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 20px 0;
  color: var(--spotify-text);
  border-left: 5px solid var(--spotify-accent);
  padding-left: 15px;
}

/* SPOTIFY ICONS (pengganti washi tape) - disembunyikan karena tidak cocok dengan estetika Spotify */
.spotify-icon {
  display: none !important;
}

/* EVENT BOX */
.event-box {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 4px solid var(--spotify-accent);
}
.event-title {
  font-family: var(--font-spotify-bold);
  margin: 0 0 10px 0;
  color: var(--spotify-text);
}
.event-box p {
  color: var(--spotify-subtext);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.event-box strong {
  color: var(--spotify-text);
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gallery-grid .album-cover {
  margin: 0;
  padding: 10px;
}
.gallery-grid .album-caption {
  font-size: 0.9rem;
  margin-top: 10px;
  color: var(--spotify-subtext);
}

/* RSVP FORM */
.form-spotify {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-spotify input,
.form-spotify select,
.form-spotify textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid var(--spotify-border);
  background: #2a2a2a;
  color: var(--spotify-text);
  font-family: var(--font-spotify);
  font-size: 0.95rem;
}
.form-spotify input:focus,
.form-spotify select:focus,
.form-spotify textarea:focus {
  outline: none;
  border-color: var(--spotify-accent);
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.3);
}

/* ANIMASI ROTASI DIHAPUS (Biar nggak miring-miring kaya scrapbook) */
.spotify-card, .album-cover {
  transform: rotate(0) !important;
}

/* COUNTDOWN */
.countdown-wrapper {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.cd-item {
  background: #2a2a2a;
  color: var(--spotify-text);
  padding: 15px 10px;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-bottom: 3px solid var(--spotify-accent);
}
.cd-item span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: var(--font-spotify-bold);
  line-height: 1;
}
.cd-item small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
  color: var(--spotify-subtext);
}

/* BANK CARD */
.bank-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--spotify-border);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bank-info strong {
  color: var(--spotify-accent);
  font-size: 1.1rem;
}

/* KISAH & DOA */
.spotify-card p {
  color: var(--spotify-subtext);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PLAYLIST AUDIO TOGGLE (Override) */
#audioToggle {
  background: var(--spotify-accent) !important;
  box-shadow: 0 4px 15px rgba(29, 185, 84, 0.5) !important;
}

/* SLIDER OVERRIDE */
.slider-container {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.slide img {
  filter: none !important; /* Hapus sepia scrapbook */
}
