@import url('https://fonts.googleapis.com/css2?family=Beau+Rivage&family=Cormorant+Garamond:wght@500;600&family=Caveat:wght@500;600&family=Karla:wght@400;500;600&display=swap');

:root {
  --ivory: #F1E9DC;
  --paper: #FBF8F2;
  --blush: #EFC9C3;
  --sage: #8A9578;
  --gold: #B4894F;
  --gold-light: #C79A66;
  --ink: #3B2A20;
  --ink-soft: #6B5B4E;
  --border-soft: #E4D9C6;
  --shadow: 0 2px 6px rgba(59, 42, 32, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
}

.script-heading {
  font-family: 'Beau Rivage', cursive;
  color: var(--ink);
  line-height: 1.2;
}

.wish-text {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  color: var(--ink);
}

.btn {
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  background: var(--gold);
  color: var(--paper);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--gold);
}

.wax-seal {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(59,42,32,0.3);
  flex-shrink: 0;
}

/* Polaroid card with torn deckled edge + washi tape */
.polaroid-card {
  position: relative;
  background: var(--paper);
  padding: 10px 10px 34px;
  box-shadow: var(--shadow);
  clip-path: polygon(
    0 0, 100% 0, 100% 96%,
    96% 100%, 90% 97%, 84% 100%, 78% 97%, 72% 100%,
    66% 97%, 60% 100%, 54% 97%, 48% 100%, 42% 97%,
    36% 100%, 30% 97%, 24% 100%, 18% 97%, 12% 100%,
    6% 97%, 0 100%
  );
}
.polaroid-card img,
.polaroid-card .photo-slot {
  width: 100%;
  display: block;
  border-radius: 2px;
  background: var(--border-soft);
  object-fit: cover;
}
.washi-tape {
  position: absolute;
  top: -8px;
  width: 46px;
  height: 16px;
  background: var(--blush);
  opacity: 0.75;
}
.floral-sprig {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0.55;
}

.page-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 28px 20px 40px;
}
