/* Modern Minimal – Wax Seal Break Reveal */
.tpl-mm-wrapper {
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  background: #fafafa; overflow: hidden;
}

/* ── Seal Overlay ────────────────────── */
.tpl-mm-seal-wrap {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  cursor: pointer; transition: opacity .7s ease .5s, transform .7s ease .5s;
}
.tpl-mm-seal-wrap.broken {
  opacity: 0; transform: scale(1.2); pointer-events: none;
}

.tpl-mm-seal { text-align: center; }
.tpl-mm-seal-circle { position: relative; width: 120px; height: 120px; margin: 0 auto 20px; }
.tpl-mm-seal-wax {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c0392b, #922b21 60%, #7b241c);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.4), inset 0 2px 10px rgba(255,255,255,.15);
  animation: mm-seal-glow 3s ease-in-out infinite;
}
@keyframes mm-seal-glow {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,.4), 0 0 20px rgba(192,57,43,.3); }
  50% { box-shadow: 0 8px 30px rgba(0,0,0,.4), 0 0 40px rgba(192,57,43,.5); }
}
.tpl-mm-seal-initials {
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700;
  color: #f5e6d3; letter-spacing: 2px;
}
.tpl-mm-seal-ring {
  position: absolute; inset: -8px; border: 2px solid rgba(255,255,255,.15);
  border-radius: 50%; animation: mm-ring-spin 8s linear infinite;
}
@keyframes mm-ring-spin { to { transform: rotate(360deg); } }
.tpl-mm-seal-text {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: 3px;
  animation: ce-pulse 2s ease-in-out infinite;
}

/* ── Card Content ────────────────────── */
.tpl-mm-card {
  width: 100%; max-width: 520px; padding: 36px 24px; text-align: center;
}
.tpl-mm-top-line, .tpl-mm-bottom-line {
  height: 3px; background: #1a1a1a; margin: 16px 0;
  transform: scaleX(0); transform-origin: center;
}
.tpl-mm-seal-wrap.broken ~ .tpl-mm-card .tpl-mm-top-line,
.tpl-mm-seal-wrap.broken ~ .tpl-mm-card .tpl-mm-bottom-line {
  animation: mm-line-grow .8s ease forwards; animation-delay: var(--d, 0s);
}
@keyframes mm-line-grow { to { transform: scaleX(1); } }

.tpl-mm-label {
  font-size: 10px; font-weight: 700; letter-spacing: 6px;
  color: #999; margin-bottom: 24px;
}

.tpl-mm-names {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; margin-bottom: 16px;
}
.tpl-mm-groom, .tpl-mm-bride {
  font-size: 36px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 4px; line-height: 1.15; color: #1a1a1a;
}
.tpl-mm-and {
  font-size: 18px; font-weight: 300; color: #bbb; margin: 6px 0;
}

.tpl-mm-parents {
  font-size: 11px; color: #888; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.tpl-mm-pipe { color: #ccc; }

.tpl-mm-details {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.tpl-mm-detail-block {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.tpl-mm-detail-icon { font-size: 18px; color: #1a1a1a; margin-bottom: 4px; }
.tpl-mm-detail-label {
  font-size: 9px; font-weight: 700; letter-spacing: 3px; color: #999;
}
.tpl-mm-detail-value { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.tpl-mm-detail-sub { font-size: 11px; color: #999; }
.tpl-mm-detail-sep {
  width: 1px; background: #ddd; align-self: stretch; margin: 4px 0;
}

/* ── Animate elements ────────────────── */
.mm-anim {
  opacity: 0; transform: translateY(16px);
}
.tpl-mm-seal-wrap.broken ~ .tpl-mm-card .mm-anim {
  animation: mm-fade-up .7s ease forwards; animation-delay: var(--d, 0s);
}
@keyframes mm-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .tpl-mm-wrapper { min-height: 420px; }
  .tpl-mm-groom, .tpl-mm-bride { font-size: 26px; letter-spacing: 2px; }
  .tpl-mm-details { gap: 16px; }
  .tpl-mm-seal-circle { width: 90px; height: 90px; }
  .tpl-mm-seal-initials { font-size: 18px; }
}
