/* --- Reset and Mobile-First Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
}

/* --- Modern, underline-style inputs --- */
form input:not([type="checkbox"]):not([type="radio"]),
form textarea,
form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 0.5rem 0;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-bottom-color: #8d6699;
}

/* refine the small party-size field */
.number-input input {
  width: 3rem;
  text-align: center;
  padding: 0.4rem 0;
}

.number-input input:focus {
  border-bottom-color: #8d6699;
}

/* --- Base layout --- */
body {
  font-family: 'Poppins', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.75);      /* translucent layer so backdrop shows */
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

/* --- Typography & layout helpers --- */
label,
fieldset {
  display: block;
  margin: 1rem 0;
}

/* --- Buttons --- */
button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background-color: #8d6699;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #734f80;
}

/* --- Hero / banner image --- */
img.hero {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

/* --- Fancy heading font --- */
h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: #4a2c57;
  margin-top: 1.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* --- Form card styling --- */
form {
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.65);
  padding: 1.5rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 420px;
  width: 100%;
}

/* --- Responsive tweak for wider screens --- */
@media (min-width: 600px) {
  body {
    font-size: 18px;
  }
}

/* --- Full‑page backdrop image with gentle fade‑in --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(
    --site-bg-image,
    radial-gradient(circle at 20% 20%, rgba(141, 102, 153, 0.35), transparent 40%),
    linear-gradient(135deg, #f8f1fb 0%, #efe6f4 100%)
  ) center/cover no-repeat;
  opacity: 0;                  /* start transparent */
  z-index: -1;                 /* behind all content */
  filter: blur(1px);           /* subtle softness */
  animation: fadeInBg 1.2s ease-out forwards;
}

@keyframes fadeInBg {
  to { opacity: 0.5; }         /* brighter themed visibility */
}

/* --- RSVP modern card theme (templateized via CSS vars) --- */
:root {
  --rsvp-card-top: #fff8f3;
  --rsvp-card-bottom: #ffffff;
  --rsvp-accent: #b77da2;
  --rsvp-glow: rgba(183, 125, 162, 0.28);
}

.rsvp-page form {
  max-width: 680px;
  padding: 1.8rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(160deg, var(--rsvp-card-top) 0%, var(--rsvp-card-bottom) 100%);
  box-shadow:
    0 16px 45px var(--rsvp-glow),
    0 8px 22px rgba(60, 40, 75, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.rsvp-page form label {
  color: #4e3658;
  font-weight: 600;
}

.rsvp-page form input:not([type="checkbox"]):not([type="radio"]) {
  border-bottom: 2px solid rgba(183, 125, 162, 0.28);
  padding-bottom: 0.65rem;
}

.rsvp-page form input:not([type="checkbox"]):not([type="radio"]):focus {
  border-bottom-color: var(--rsvp-accent);
}

.rsvp-page fieldset {
  margin-top: 1.4rem;
  padding: 1rem 1rem 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(183, 125, 162, 0.25);
  background: rgba(255, 255, 255, 0.62);
}

.rsvp-page legend {
  padding: 0 0.45rem;
  font-weight: 700;
  color: #5d3e69;
}

.rsvp-page .event {
  border-radius: 14px;
  border: 1px solid rgba(183, 125, 162, 0.2);
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.rsvp-page .event:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 125, 162, 0.35);
  box-shadow: 0 8px 20px rgba(183, 125, 162, 0.18);
}

.rsvp-page .party-card {
  border-radius: 16px;
  border: 1px solid rgba(183, 125, 162, 0.23);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 253, 0.92));
  box-shadow: 0 6px 18px rgba(183, 125, 162, 0.14);
}

.rsvp-page .party-card .number-input button {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(183, 125, 162, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: #8c5f86;
  box-shadow: none;
}

.rsvp-page .party-card .number-input button:hover:not(:disabled) {
  background: rgba(183, 125, 162, 0.1);
  border-color: rgba(183, 125, 162, 0.5);
  transform: none;
}

.rsvp-page .party-card .number-input button:disabled {
  opacity: 0.45;
  border-color: rgba(183, 125, 162, 0.2);
}

.rsvp-page button[type="submit"] {
  width: min(280px, 100%);
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--rsvp-accent) 0%, #cf8fb6 100%);
  box-shadow: 0 10px 24px rgba(183, 125, 162, 0.28);
}

.rsvp-page button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(183, 125, 162, 0.34);
}

@media (max-width: 640px) {
  .rsvp-page form {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }

  .rsvp-page .party-size-container {
    flex-direction: column;
    align-items: stretch;
  }

  .rsvp-page .party-card {
    max-width: 100%;
  }
}

/* --- Event card layout --- */
.event {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;                 /* space between checkbox and text */
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  border: 1px solid #d9cfe2;
  border-radius: 6px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(2px);
}

.event-content {
  flex: 1;
  line-height: 1.4;
}


.event-content {
  flex: 1;
  line-height: 1.4;
}

/* --- Event typography hierarchy --- */
.event-name {
  font-weight: 700;
  font-size: 1.15rem;          /* largest */
}

.event-datetime {
  font-weight: 500;
  font-size: 1rem;             /* slightly smaller */
  color: #4a2c57;
  margin-top: 0.1rem;
}

.event-address {
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.event-address a {
  color: #6f4c7b;
  text-decoration: underline;
}

.event-tag {
  font-size: 0.9rem;
  color: #6f4c7b;
  font-style: italic;
  margin-top: 0.25rem;
}

/* --- Event hint styling --- */
.hint {
  display: block;
  margin: -0.2rem 0 0 2rem;    /* indent to line up under checkbox text */
  font-size: 0.85rem;
  color: #6f4c7b;              /* soft plum to match button palette */
  font-style: italic;
}

/* --- Powered‑by footer badge --- */
footer {
  width: 100%;
  text-align: center;
  margin-top: 2.6rem;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

.powered {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff8f0;
  background: linear-gradient(135deg, #7d2030 0%, #b56638 55%, #d9a73a 100%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 24px rgba(97, 20, 35, 0.22),
    0 3px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 245, 230, 0.22);
  border: 1px solid rgba(125, 32, 48, 0.18);
  text-align: center;
  line-height: 1.4;
  animation: breathe 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0.2rem auto 0;
}

/* --- Opening transition overlay --- */
body.opening-transition-active {
  overflow: hidden;
}

.opening-transition {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(207, 164, 63, 0.26), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(111, 21, 42, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 226, 0.98));
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  padding: 1rem;
}

.opening-transition.show {
  opacity: 1;
}

.opening-transition.hide {
  opacity: 0;
}

.opening-transition-card {
  width: min(90vw, 560px);
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(111, 21, 42, 0.22);
  background: rgba(255, 249, 238, 0.86);
  box-shadow: 0 22px 48px rgba(79, 15, 29, 0.2);
  backdrop-filter: blur(8px);
  padding: 1.2rem 1.1rem;
  transform: scale(1.04);
  opacity: 0.98;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.opening-transition.tappable .opening-transition-card {
  cursor: pointer;
}

.opening-transition.tappable {
  pointer-events: auto;
}

.opening-transition.show .opening-transition-card {
  transform: scale(1);
  opacity: 1;
}

.opening-transition.hide .opening-transition-card {
  transform: scale(0.86);
  opacity: 0;
}

.opening-transition-image {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto 0.9rem;
  max-height: 180px;
  object-fit: contain;
}

.opening-transition-title {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6f152a;
}

.opening-transition-names {
  margin: 0.35rem 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  line-height: 1.1;
  color: #4f0f1d;
}

.powered:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 14px 28px rgba(97, 20, 35, 0.28),
    0 6px 14px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 245, 230, 0.28);
}

.powered::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 230, 0.16), transparent);
  animation: shimmer 4.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes breathe {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.9;
  }
  50% { 
    transform: scale(1.02);
    opacity: 1;
  }
}

.powered:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 14px 28px rgba(97, 20, 35, 0.28),
    0 6px 14px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 245, 230, 0.28);
}

.powered strong {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff8f0;
  text-shadow: 
    0 1px 2px rgba(73, 16, 27, 0.2),
    0 0 8px rgba(255, 240, 214, 0.18);
  background: linear-gradient(45deg, #fff8ef, #ffe8c3, #fff8ef);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nameGlow 2s ease-in-out infinite alternate;
  display: inline-block;
  position: relative;
}

@keyframes nameGlow {
  0% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  100% { 
    background-position: 100% 50%;
    filter: brightness(1.2);
  }
}

@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Custom checkbox styling --- */
.event input[type="checkbox"] {
  appearance: none;           /* remove default */
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.4rem;          /* aligns checkbox with large text */
  border: 2px solid #8d6699;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.event input[type="checkbox"]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.event input[type="checkbox"]:checked {
  background-color: #8d6699;
  border-color: #8d6699;
}

.event input[type="checkbox"]:checked::before {
  content: "✓";
  opacity: 1;
  transform: scale(1);
}

/* --- Hamburger Menu Styles --- */
.nav-menu {
  position: fixed;
  top: calc(0.75rem + env(safe-area-inset-top));
  right: 1rem;
  left: auto;
  z-index: 1000;
}

.hamburger {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(143, 94, 167, 0.24);
  border-radius: 14px;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(42, 30, 58, 0.16);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  padding: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #8d6699;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(18, 14, 25, 0.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(4.25rem + env(safe-area-inset-top)) 1rem calc(1.15rem + env(safe-area-inset-bottom));
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  text-align: left;
  width: min(340px, calc(100vw - 2rem));
  background: rgba(40, 32, 56, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 20px 36px rgba(12, 8, 18, 0.38);
}

.nav-links li {
  margin: 0.22rem 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(1rem, 4.4vw, 1.2rem);
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
  padding: 0.76rem 0.86rem;
  border-radius: 12px;
}

.nav-links a:hover {
  color: #f5e8ff;
  background: rgba(255, 255, 255, 0.1);
  transform: none;
}

.credits-item {
  margin-top: 0.65rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.65rem;
}

.credits {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
  font-style: italic;
  display: block;
  padding: 0.4rem 0.8rem;
  transition: all 0.3s ease;
}

.credits:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-close {
  position: absolute;
  top: calc(0.8rem + env(safe-area-inset-top));
  right: 1rem;
  border: 1px solid rgba(143, 94, 167, 0.24);
  background: rgba(255, 255, 255, 0.88);
  color: #4a395f;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.98);
}

/* --- Events Page Styles --- */
.events-page {
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(141, 102, 153, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-header {
  border-bottom: 2px solid #8d6699;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.event-header h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.event-date {
  font-size: 1.2rem;
  font-weight: 600;
  color: #8d6699;
  margin-top: 0.5rem;
}

.event-details {
  line-height: 1.6;
}

.event-time {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a2c57;
  margin-bottom: 1rem;
}

.event-location {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(141, 102, 153, 0.1);
  border-radius: 8px;
  border-left: 4px solid #8d6699;
}

.maps-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #4285f4;
  color: white !important;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.maps-link:hover {
  background: #1a73e8;
  transform: translateY(-1px);
  text-decoration: none;
  color: white !important;
}

.event-description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.dress-code {
  background: rgba(195, 158, 207, 0.2);
  padding: 0.8rem;
  border-radius: 6px;
  font-style: italic;
  color: #6f4c7b;
}

.cta-section {
  text-align: center;
  margin: 3rem 0;
}

.rsvp-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(141, 102, 153, 0.3);
  transition: all 0.3s ease;
}

.rsvp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(141, 102,153, 0.4);
}

/* --- Party Size Cards --- */
.party-size-container {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  justify-content: center;
}

.party-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(141, 102, 153, 0.2);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  flex: 1;
  max-width: 150px;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.party-card:hover {
  border-color: rgba(141, 102, 153, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(141, 102, 153, 0.15);
}

.party-label {
  font-weight: 600;
  color: #4a2c57;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.party-card .number-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}

.party-card .number-input input {
  width: 3rem;
  text-align: center;
  padding: 0.4rem 0;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a2c57;
}

.party-card .number-input input:focus {
  border-bottom-color: #8d6699;
  outline: none;
}

.party-card .number-input button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #8d6699;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.party-card .number-input button:hover:not(:disabled) {
  background-color: #734f80;
  transform: scale(1.1);
}

.party-card .number-input button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* --- Success Page Styles --- */
.success-page {
  text-align: center;
}

.success-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.success-container h1 {
  font-size: 3.5rem;
  margin: 2rem 0 1rem;
  color: #4a2c57;
}

.success-message {
  font-size: 1.2rem;
  color: #6f4c7b;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.calendar-section {
  margin: 4rem 0;
}

.calendar-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  margin-bottom: 0.5rem;
}

.calendar-subtitle {
  color: #6f4c7b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.calendar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.calendar-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(141, 102, 153, 0.15);
  border: 1px solid rgba(141, 102, 153, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.calendar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(141, 102, 153, 0.25);
}

.calendar-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.calendar-card h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #4a2c57;
  margin: 0.5rem 0;
}

.calendar-date {
  font-weight: 600;
  color: #8d6699;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.calendar-location {
  color: #6f4c7b;
  font-size: 0.95rem;
  margin: 1rem 0;
  line-height: 1.4;
}

.calendar-dress-code,
.event-planner-dress-code {
  margin: 0.2rem 0 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(195, 158, 207, 0.14);
  color: #6f4c7b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.calendar-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.calendar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(141, 102, 153, 0.4);
}

.contact-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(141, 102, 153, 0.1);
}

.contact-section h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #4a2c57;
  margin-bottom: 1rem;
}

.contact-section p {
  color: #6f4c7b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(141, 102, 153, 0.1);
  color: #4a2c57;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(141, 102, 153, 0.3);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: rgba(141, 102, 153, 0.2);
  border-color: rgba(141, 102, 153, 0.5);
  transform: translateY(-2px);
}

/* --- Landing Page Styles --- */
.landing-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 80vh;
  min-height: 80dvh;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.wedding-date {
  font-size: 1.8rem;
  font-weight: 600;
  color: #8d6699;
  margin: 1rem 0;
}

.wedding-location {
  font-size: 1.2rem;
  color: #6f4c7b;
  margin-bottom: 3rem;
}

.countdown-section {
  margin: 3rem 0;
}

.countdown-label {
  font-size: 1.1rem;
  color: #6f4c7b;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(141, 102, 153, 0.15);
  min-width: 80px;
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #4a2c57;
  line-height: 1;
}

.countdown-text {
  font-size: 0.9rem;
  color: #6f4c7b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(141, 102, 153, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(141, 102, 153, 0.4);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #4a2c57;
  border: 2px solid rgba(141, 102, 153, 0.3);
  backdrop-filter: blur(4px);
}

.cta-btn.secondary:hover {
  background: rgba(141, 102, 153, 0.1);
  border-color: rgba(141, 102, 153, 0.5);
  transform: translateY(-2px);
}

.cta-btn.live-stream {
  background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
  color: white;
  border: 2px solid #ff4444;
  position: relative;
  overflow: hidden;
}

.cta-btn.live-stream:hover {
  background: linear-gradient(135deg, #ff2222 0%, #ff4444 100%);
  border-color: #ff2222;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.cta-btn.live-stream::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: streamShimmer 2s infinite;
}

@keyframes streamShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.story-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4rem 1rem;
  margin-top: 2rem;
}

.story-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.story-container h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: #4a2c57;
  margin-bottom: 2rem;
}

.story-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #6f4c7b;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.event-preview h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  margin-bottom: 2rem;
}

.event-preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  width: min(100%, 980px);
  margin: 0 auto;
}

.event-preview-cards.many-events {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.preview-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(141, 102, 153, 0.1);
  transition: transform 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-5px);
}

.preview-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.preview-card h4 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: #4a2c57;
  margin: 0.5rem 0;
}

.preview-card p {
  color: #6f4c7b;
  font-weight: 500;
}

/* --- Contact Page Styles --- */
.contact-page-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.contact-info-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(141, 102, 153, 0.1);
}

.contact-info-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-info-section p {
  text-align: center;
  color: #6f4c7b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(141, 102, 153, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(141, 102, 153, 0.1);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-content h3 {
  margin: 0 0 0.5rem 0;
  color: #4a2c57;
  font-size: 1.1rem;
}

.contact-content a {
  color: #8d6699;
  text-decoration: none;
  font-weight: 500;
}

.contact-content a:hover {
  color: #6f4c7b;
  text-decoration: underline;
}

.contact-content p {
  margin: 0;
  color: #6f4c7b;
  line-height: 1.4;
}

.email-wrapper {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.email-item {
  margin-bottom: 0.3rem;
}

.email-item:last-child {
  margin-bottom: 0;
}

.email-wrapper a {
  display: inline-block;
  line-height: 1.3;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Mobile responsive for email addresses */
@media (max-width: 768px) {
  .email-wrapper a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .email-wrapper a {
    font-size: 0.75rem;
    white-space: normal;
    word-break: break-all;
  }
}

.calendar-download-section {
  margin: 3rem 0;
}

.calendar-download-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  text-align: center;
  margin-bottom: 1rem;
}

.map-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: 0 8px 32px rgba(141, 102, 153, 0.1);
}

.map-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #4a2c57;
  text-align: center;
  margin-bottom: 2rem;
}

.venue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.venue-card {
  background: rgba(141, 102, 153, 0.05);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(141, 102, 153, 0.1);
}

.venue-card h3 {
  color: #4a2c57;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.venue-card p {
  color: #6f4c7b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.map-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(141, 102, 153, 0.4);
}

/* --- Photos Page Styles --- */
.photos-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.coming-soon {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 4rem 2rem;
  box-shadow: 0 8px 32px rgba(141, 102, 153, 0.1);
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.coming-soon h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: #4a2c57;
  margin-bottom: 1.5rem;
}

.coming-soon p {
  font-size: 1.1rem;
  color: #6f4c7b;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.photo-placeholder {
  aspect-ratio: 4/3;
  background: rgba(141, 102, 153, 0.1);
  border: 2px dashed rgba(141, 102, 153, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6f4c7b;
  font-weight: 500;
  font-size: 0.9rem;
}

.note {
  font-style: italic;
  color: #8d6699;
  font-size: 1rem;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 0;
  }
  
  .hero-section {
    padding: 1rem 0.5rem;
    min-height: 70vh;
    min-height: 70dvh;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .wedding-date {
    font-size: 1.4rem;
  }
  
  .countdown {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
  }
  
  .countdown-item {
    padding: 1rem 0.8rem;
    min-width: 60px;
    flex: 0 0 auto;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  /* Story section mobile styles */
  .story-section {
    padding: 2rem 0.5rem;
    margin-top: 1rem;
  }
  
  .story-container {
    padding: 0 0.5rem;
    max-width: 95%;
  }
  
  .story-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  
  .story-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 95%;
    padding: 0 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .venue-cards {
    grid-template-columns: 1fr;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  body {
    padding: 0 0.25rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .wedding-date {
    font-size: 1.2rem;
  }
  
  .countdown {
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .countdown-item {
    padding: 0.8rem 0.5rem;
    min-width: 50px;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    gap: 0.5rem;
  }
  
  .cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .powered {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  /* Story section extra small mobile styles */
  .story-section {
    padding: 1.5rem 0.25rem;
    margin-top: 0.5rem;
  }
  
  .story-container {
    padding: 0 0.25rem;
    max-width: 95%;
  }
  
  .story-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .story-text {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 95%;
    padding: 0 0.75rem;
  }
}

/* --- Live Stream Page Styles --- */
.live-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.live-status-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(141, 102, 153, 0.15);
}

.live-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.next-event-info h3 {
  color: #8d6699;
  margin-bottom: 1rem;
}

.next-event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.event-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4a2c57;
}

.event-date {
  color: #6f4c7b;
}

.countdown-to-event {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.live-streams-section {
  margin-bottom: 3rem;
}

.live-streams-section h2 {
  text-align: center;
  color: #4a2c57;
  margin-bottom: 0.5rem;
}

.stream-subtitle {
  text-align: center;
  color: #6f4c7b;
  margin-bottom: 2rem;
}

.stream-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.stream-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(141, 102, 153, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(141, 102, 153, 0.25);
}

.stream-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
}

.stream-icon {
  font-size: 2rem;
}

.stream-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.stream-date {
  margin: 0 0 0.5rem 0;
  opacity: 0.9;
}

.stream-status {
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 500;
}

.stream-status.offline {
  background: rgba(255, 255, 255, 0.2);
}

.stream-status.live {
  background: #ff4444;
  animation: pulse 2s infinite;
}

.stream-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.stream-player iframe {
  width: 100%;
  height: 100%;
}

.placeholder-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #4a2c57 0%, #6f4c7b 100%);
  color: white;
  text-align: center;
}

.play-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.stream-description {
  padding: 1.5rem;
  color: #4a2c57;
}

.stream-instructions {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(141, 102, 153, 0.15);
}

.stream-instructions h3 {
  text-align: center;
  color: #4a2c57;
  margin-bottom: 2rem;
}

.instruction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.instruction-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(195, 158, 207, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(141, 102, 153, 0.2);
}

.instruction-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.instruction-card h4 {
  color: #4a2c57;
  margin-bottom: 0.5rem;
}

.interaction-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(141, 102, 153, 0.15);
}

.interaction-section h3 {
  color: #4a2c57;
  margin-bottom: 1rem;
}

.interaction-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.interaction-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #8d6699 0%, #c39ecf 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.interaction-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(141, 102, 153, 0.3);
  text-decoration: none;
  color: white;
}

.event-live {
  color: #ff4444;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Mobile responsiveness for live page */
@media (max-width: 768px) {
  .live-page-container {
    padding: 1rem 0.5rem;
  }
  
  .stream-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .countdown-to-event {
    gap: 1rem;
  }
  
  .interaction-options {
    flex-direction: column;
    align-items: center;
  }
  
  .live-indicator {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stream-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .instruction-cards {
    grid-template-columns: 1fr;
  }
  
  .countdown-to-event {
    gap: 0.8rem;
  }
}

/* --- Modern Color Unification --- */
:root {
  --modern-text: #2f1f1f;
  --modern-muted: #6e4f4f;
  --modern-accent: #6f152a;
  --modern-accent-2: #cfa43f;
  --modern-accent-soft: rgba(111, 21, 42, 0.12);
  --modern-border: rgba(111, 21, 42, 0.22);
  --modern-surface: rgba(255, 250, 240, 0.9);
  --modern-shadow: rgba(79, 15, 29, 0.2);
}

body {
  color: var(--modern-text);
}

h1,
.event-header h2,
.calendar-section h2,
.contact-info-section h2,
.event-preview h3,
.calendar-card h3,
.preview-card h4 {
  color: #4e355d;
}

form,
.event-card,
.calendar-card,
.contact-info-section,
.party-card,
.event,
.countdown-item,
.status-indicator {
  background: var(--modern-surface);
  border-color: var(--modern-border);
}

.event-location,
.dress-code,
.cta-btn.secondary:hover,
.party-card:hover {
  background: var(--modern-accent-soft);
}

.event-date,
.calendar-date,
.countdown-label,
.countdown-text,
.story-text,
.calendar-subtitle,
.event-description,
.preview-card p,
.status-text {
  color: var(--modern-muted);
}

form input:focus,
form textarea:focus,
form select:focus,
.party-card .number-input input:focus {
  border-bottom-color: var(--modern-accent);
}

button:not(.minus):not(.plus),
.rsvp-button,
.cta-btn.primary,
.interaction-btn {
  background: linear-gradient(135deg, var(--modern-accent) 0%, var(--modern-accent-2) 100%);
  box-shadow: 0 8px 22px rgba(165, 111, 147, 0.28);
}

button:not(.minus):not(.plus):hover,
.rsvp-button:hover,
.cta-btn.primary:hover,
.interaction-btn:hover {
  box-shadow: 0 10px 26px rgba(165, 111, 147, 0.34);
}

.cta-btn.secondary {
  color: #4e355d;
  border-color: var(--modern-border);
}

.maps-link {
  background: linear-gradient(135deg, #8e2035 0%, #cfa43f 100%);
}

.maps-link:hover {
  background: linear-gradient(135deg, #76192c 0%, #b89132 100%);
}

.event-card,
.calendar-card,
.contact-info-section,
.party-card {
  box-shadow: 0 10px 28px var(--modern-shadow);
}

@media (max-width: 640px) {
  .nav-menu {
    top: calc(0.55rem + env(safe-area-inset-top));
    right: 0.75rem;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hamburger span {
    width: 17px;
  }

  .nav-overlay {
    padding: calc(3.85rem + env(safe-area-inset-top)) 0.75rem calc(1rem + env(safe-area-inset-bottom));
  }

  .nav-links {
    width: calc(100vw - 1.5rem);
    border-radius: 16px;
    padding: 0.55rem;
  }

  .nav-links a {
    padding: 0.72rem 0.74rem;
  }

  .nav-close {
    right: 0.75rem;
  }

  footer {
    margin-top: 1.9rem;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .powered {
    font-size: 0.8rem;
    padding: 0.68rem 1.2rem;
  }

  .success-container,
  .home-shell,
  .events-shell,
  .rsvp-shell,
  .contact-shell,
  .photo-shell,
  .live-shell,
  .registry-shell {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
