* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
  position: relative;
  font-family: 'Josefin Sans', sans-serif;
  min-height: 100vh;
  background: url('../img/bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
  }

  
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  min-height: 100svh;
  padding: env(safe-area-inset-top, 60px) 20px 80px; /* top lebih besar */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
}

  
  /* ====== ATAS ====== */
.title {
  position: relative;
  margin-top: 20px; /* default 0, tambah 20px supaya turun */
  margin-bottom: 20px;
  /* top: env(safe-area-inset-top, 20px);  <-- HAPUS INI */
}

  
  .title h4 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }
  
  .title h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 10px;
  }
  
  .title p {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  /* ====== BAWAH ====== */
    .bottom {
  margin-top: auto;      /* dorong ke bawah tapi aman */
  margin-bottom: 40px;   /* naikkan dari bawah */
}


  
  .guest {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .guest-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
  }
  
  .btn-open {
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    background-color: #c7a36b;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .btn-open:hover {
    background-color: #b28d56;
  }
  
  /* ===== TRANSISI BUKA UNDANGAN ===== */
#cover {
  transition: opacity 1s ease, transform 1s ease;
}

.fade-out {
  opacity: 0;
  transform: scale(1.05);
}
  
  /* ====== RESPONSIVE ====== */
@media (max-height: 700px) {
  .bottom {
    margin-bottom: 60px;
  }
}


  