/* ========================================================
   2. BASE RESETS & GLOBAL LAYOUT — CANSON PAPER BACKGROUND
   ======================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent !important;
}

body {
  color: var(--text-body);
  background-color: #edf2f7;
  background-image: 
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.75) 0%, rgba(195, 215, 238, 0.5) 100%),
    url('../assets/19297e3c-5878-4682-a4b2-2a0b6ac07a7e.png');
  background-size: cover, cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

h1, h2, h3, h4, h5, h6, p, span, strong, small {
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

button, input, select, textarea {
  font: inherit;
}

/* Safari iOS: font-size < 16px trên input/textarea/select sẽ auto-zoom khi focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input:not([type]),
textarea,
select {
  font-size: 16px !important;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  outline: none !important;
  transition: all 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none !important;
  transition: color 0.2s ease;
}

/* Không sử dụng hiệu ứng cánh hoa trang trí */
.ambient-petals-bg,
.petal-particle,
.click-flower-particle,
.decor-flower {
  display: none !important;
}

/* Main App Wrapper */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.wedding-load-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #153353;
  background: #f0f5fa;
  font: 600 18px/1.5 "Cormorant Garamond", serif;
  text-align: center;
}
