/* Vertical Luxury Invitation Container */
.invitation-view-root {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 1rem 5rem;
  background-color: var(--background-color);
  background-image: 
    radial-gradient(1.5px 1.5px at 25px 25px, rgba(140, 103, 33, 0.12), transparent),
    radial-gradient(2px 2px at 120px 80px, rgba(140, 103, 33, 0.18), transparent);
  background-size: 200px 200px;
}

.invitation-vertical-card {
  width: 100%;
  max-width: 450px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep), 0 0 45px rgba(212, 175, 55, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.5rem 0;
}

/* Luxury Corner Borders */
.card-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-color);
  pointer-events: none;
  z-index: 10;
}
.corner-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.corner-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.corner-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* Personalized guest banner */
.guest-personalized-banner {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  text-align: center;
  margin: 0.8rem 0.5rem 0;
}

.guest-greeting {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guest-name-pill {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 0.2rem;
}

.passes-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.3rem;
  color: var(--text-muted);
}

/* Music Player Docked Inside Card Top Right */
.card-music-wrapper {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 50;
}

/* WhatsApp Share Block - Integrated Inside Card */
.card-share-block {
  margin: 1.5rem auto 0.5rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 0 0.8rem;
}

.btn-whatsapp-inside {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(37, 211, 102, 0.08);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  color: #128c40;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-whatsapp-inside:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* Footer */
.invitation-footer {
  text-align: center;
  padding: 3rem 1rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 2rem;
}

.footer-monogram {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.footer-thanks {
  font-size: 2.1rem;
  color: var(--text-color);
  margin-bottom: 0.6rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.footer-couple-names {
  font-family: var(--font-script), 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: #5c3e0e;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}

.footer-year {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Discrete Admin Access in Footer */
.card-admin-footer {
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(140, 103, 33, 0.2);
}

.btn-admin-discrete {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: #8c6721;
  opacity: 0.75;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

.btn-admin-discrete:hover {
  opacity: 1;
  background: rgba(140, 103, 33, 0.08);
}

/* Mobile Sticky Bar - Contained within Card Max Width */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(140, 103, 33, 0.12);
}

.sticky-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
}

.maps-sticky-btn {
  background: rgba(140, 103, 33, 0.08);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
}

.maps-sticky-btn:hover {
  background: rgba(140, 103, 33, 0.15);
}

.rsvp-sticky-btn {
  box-shadow: 0 4px 15px rgba(140, 103, 33, 0.3);
}

/* Mobile Screens Optimization (Max Width 500px) */
@media (max-width: 500px) {
  .invitation-view-root {
    padding: 0 0 5rem 0;
    background-color: var(--card-bg);
  }

  .invitation-vertical-card {
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 1rem 0;
  }

  .card-corner {
    display: none;
  }

  .mobile-sticky-bar {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }
}

/* Simulator mode (Inside Admin Panel) */
.is-simulator-mode {
  padding: 0;
  min-height: auto;
  background: transparent;
}

.is-simulator-mode .invitation-vertical-card {
  box-shadow: none;
  border-radius: 0;
  border: none;
}
