/* theme16 — Blush Elegance */
html,
body {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  scroll-behavior: smooth;
}
.t16-body {
  font-family: 'Quicksand', sans-serif;
  background: #fdf8f4;
  color: #3d3128;
}
.font-serif-elegant {
  font-family: 'Cormorant Garamond', serif;
}

.t16-main--hidden {
  display: none !important;
}

.t16-cover {
  background: linear-gradient(135deg, #fdf8f4 0%, #f9ede4 30%, #fef1ec 60%, #fdf6f0 100%);
}

.main-content {
  background: linear-gradient(180deg, #fdf8f4 0%, #fef1ec 50%, #f9ede4 100%);
}

.t16-hero {
  background: linear-gradient(180deg, #fdf8f4 0%, #fef1ec 50%, #f9ede4 100%);
}
.t16-story-bg {
  background: linear-gradient(180deg, #fef9f5 0%, #fdf8f4 100%);
}
.t16-countdown-bg {
  background: linear-gradient(135deg, #fef1ec 0%, #f9ede4 100%);
}
.t16-gallery-bg {
  background: linear-gradient(180deg, #fdf8f4 0%, #fef9f5 100%);
}
.t16-gift-bg {
  background: linear-gradient(135deg, #fef9f5 0%, #fef1ec 100%);
}
.t16-footer-bg {
  background: linear-gradient(180deg, #fdf8f4 0%, #fef1ec 100%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.5);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(800px) rotate(720deg) scale(0.3);
  }
}
@keyframes particleFloat {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-60px) scale(1.2);
  }
}

.animate-fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.btn-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d4af37, #c9a030);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.countdown-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
}

.t16-timeline-line {
  width: 2px;
  background: linear-gradient(to bottom, #d4af37, #f4e4c1);
}

.gallery-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.petal {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 40;
  background: radial-gradient(ellipse, #f4c2c2 0%, #f9e4e4 70%, transparent 100%);
  border-radius: 50% 0 50% 0;
  animation: petalFall linear infinite;
}
.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 39;
  background: rgba(212, 175, 55, 0.4);
  animation: particleFloat 6s ease-in-out infinite;
}

.t16-fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 35;
}
.t16-fx-layer--particles {
  z-index: 36;
}

.t16-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e8ddd1;
  background: rgba(255, 255, 255, 0.8);
  color: #3d3128;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.t16-input:focus {
  border-color: #d4af37;
}
.t16-textarea {
  resize: vertical;
  min-height: 5rem;
}

.t16-radio-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #e8ddd1;
  font-size: 0.75rem;
  color: #6b5a4a;
  cursor: pointer;
}
.t16-radio-pill:has(input:checked) {
  background: linear-gradient(135deg, #d4af37, #c9a030);
  border-color: transparent;
  color: #fff;
}

.t16-map-frame {
  width: 100%;
  height: 12rem;
  border: 0;
  display: block;
}

.t16-gift-wrap .gift-registry-shared {
  margin-left: auto;
  margin-right: auto;
}

.t16-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(61, 49, 40, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease;
  max-width: min(90vw, 360px);
  text-align: center;
}
.t16-toast.show {
  transform: translateX(-50%) translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fdf8f4;
}
::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 3px;
}
