/* Cover / Invitation Gate */
.invitation-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Overlay khusus untuk Cover agar teks tetap terbaca di atas gambar */
.invitation-gate::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-color: var(--overlay-color);
  opacity: var(--overlay-opacity);
  z-index: -1;
}

.invitation-gate.opened {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.gate-content {
  text-align: center;
  padding: 2rem;
  margin-top: 5vh;
}

.gate-top-section {
  position: absolute;
  top: 1vh;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-loading-top-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gate-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.gate-date {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gate-guest-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-color);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--text-color);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* Quote Section */
.arabic-text {
  font-size: 1.5rem;
  line-height: 2;
  text-align: center;
  margin-bottom: 1rem;
}
.translation {
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Profiles */
.profile-card {
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 4rem 2rem 2rem;
}
.profile-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.profile-name {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

/* Schedule */
.countdown-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  min-width: 60px;
}
.time-val {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--heading-font);
}
.time-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}
