:root {
  --bg-color: #0f051d;
  --card-bg: rgba(255, 255, 255, 0.07);
  --accent-color: #ff75a0;
  --text-color: #f3e8ee;
  --text-muted: #b3a5be;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: radial-gradient(circle at center, #240b36 0%, var(--bg-color) 100%);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Floating Hearts Background Animation */
.heart {
  position: absolute;
  color: var(--accent-color);
  font-size: 1.2rem;
  animation: float 6s linear infinite;
  opacity: 0;
  z-index: 1;
}

@keyframes float {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.container {
  width: 90%;
  max-width: 900px;
  text-align: center;
  z-index: 10;
  padding: 20px;
}

.section {
  display: none;
  animation: fadeIn 0.8s ease-in-out forwards;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 2.8rem;
  font-style: italic;
  margin-bottom: 10px;
  color: #fff;
}

p.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.time-box {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  min-width: 70px;
}

.time-box span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
}

.time-box label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn {
  background: rgba(255, 117, 160, 0.2);
  border: 1px solid var(--accent-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn:hover {
  background: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-color);
}

.gift-icon {
  font-size: 5rem;
  cursor: pointer;
  margin: 20px 0;
  transition: transform 0.3s ease;
}

.gift-icon:hover {
  transform: scale(1.1);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  line-height: 1.8;
  color: #e0e0e0;
  margin: 20px 0;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* === BUKAN 2 FOTO LAGI, SEKARANG STYLING UNTUK 6 FOTO POLAROID === */
.side-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 650px;
  margin: 25px auto;
}

.polaroid {
  background: #fff;
  padding: 8px 8px 18px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.polaroid:nth-child(1) { transform: rotate(-4deg); }
.polaroid:nth-child(2) { transform: rotate(3deg); }
.polaroid:nth-child(3) { transform: rotate(-2deg); }
.polaroid:nth-child(4) { transform: rotate(5deg); }
.polaroid:nth-child(5) { transform: rotate(-3deg); }
.polaroid:nth-child(6) { transform: rotate(4deg); }

.polaroid:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 5;
}

.polaroid img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  display: block;
}

video {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  margin: 15px 0;
}

