:root {
  --gold: #c9960c;
  --gold-light: #f0c040;
  --yellow: #f7e07a;
  --green-dark: #2d6a2a;
  --green-light: #5aaa45;
  --cream: #fdf8ef;
  --brown: #7a4a10;
  --pink: #f28b82;
  --text-dark: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== PAGINA CREA ===== */
#page-create {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 20px 16px;
  background: linear-gradient(160deg, #fffde7 0%, #fdf3d0 50%, #fce8c0 100%);
  position: relative;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#page-create::-webkit-scrollbar {
  display: none;
}

#page-create::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201, 150, 12, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(90, 170, 69, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.create-card {
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 540px;
  width: 100%;
  box-shadow:
    0 20px 80px rgba(122, 74, 16, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(201, 150, 12, 0.2);
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.create-card::-webkit-scrollbar {
  display: none;
}

.create-header {
  text-align: center;
  margin-bottom: 36px;
}

.create-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--brown);
  line-height: 1.2;
}

.create-header h1 em {
  color: var(--gold);
  font-style: italic;
}

.create-header p {
  font-size: 0.95rem;
  color: #888;
  margin-top: 8px;
  font-weight: 300;
}

.mimosa-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  display: block;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input[type='text'],
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8d8b0;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fffdf5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  resize: none;
}

input[type='text']:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 150, 12, 0.12);
}

textarea {
  height: 130px;
  line-height: 1.6;
}

/* ===== Counter caratteri messaggio ===== */
.char-counter {
  margin-top: 0px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.04em;
  color: #22c55e; /* ok */
}

.char-counter.is-warn {
  color: #f59e0b;
} /* attenzione */
.char-counter.is-danger {
  color: #ef4444;
} /* quasi pieno */

/* Forza a capo anche su parole lunghissime */
#input-msg {
  overflow-wrap: anywhere; /* migliore per spezzare stringhe lunghissime */
  word-break: break-word; /* fallback */
  white-space: pre-wrap; /* mantiene a-capo e spazi, ma va a capo quando serve */
}

.firma-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Button */
.btn-crea {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(201, 150, 12, 0.4);
}

.btn-crea:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 150, 12, 0.5);
}

.btn-crea:active {
  transform: translateY(0);
}

/* ===== PAGINA CONDIVIDI ===== */
#page-share {
  display: none;
  height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 16px;
  background: linear-gradient(160deg, #fffde7 0%, #fdf3d0 50%, #fce8c0 100%);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#page-share::-webkit-scrollbar {
  display: none;
}

.share-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(122, 74, 16, 0.15);
  border: 1px solid rgba(201, 150, 12, 0.2);
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.share-card::-webkit-scrollbar {
  display: none;
}

.share-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.share-card p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.link-box {
  background: #fffdf5;
  border: 2px solid #e8d8b0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #555;
  word-break: break-all;
  margin-bottom: 16px;
  text-align: left;
  font-family: monospace;
}

.share-btn {
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s,
    opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-copy {
  background: var(--gold);
  color: white;
  grid-column: 1 / -1;
}

.btn-nuova {
  background: none;
  border: 2px solid #e8d8b0;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #888;
  cursor: pointer;
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-nuova:hover {
  border-color: var(--gold);
  color: var(--brown);
}

/* ===== PAGINA VISUALIZZA ===== */
#page-view {
  display: none;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* TEMI */
.tema-mimosa {
  background: linear-gradient(160deg, #fffde7, #fef3c0, #fde68a);
}
.tema-rosa {
  background: linear-gradient(160deg, #fff0f5, #ffe4ef, #ffc8df);
}
.tema-verde {
  background: linear-gradient(160deg, #f0fdf4, #dcfce7, #bbf7d0);
}
.tema-bouquet {
  background: linear-gradient(160deg, #fff0f5, #fef3c0, #dcfce7);
}
.tema-bianco {
  background: linear-gradient(160deg, #f8f9ff, #eef2ff, #e0e7ff);
}
.tema-loto {
  background: linear-gradient(160deg, #fdf4ff, #f3e8ff, #ede9fe);
}
.tema-rosetta {
  background: linear-gradient(160deg, #fffbeb, #fef3c7, #fde68a);
}
.tema-rosso {
  background: linear-gradient(160deg, #fff1f2, #ffe4e6, #fecdd3);
}
.tema-hibiscus {
  background: linear-gradient(160deg, #fff7ed, #ffedd5, #fed7aa);
}
.tema-girasole {
  background: linear-gradient(160deg, #fefce8, #fef9c3, #fef08a);
}
.tema-tulipano {
  background: linear-gradient(160deg, #fdf2f8, #fce7f3, #fbcfe8);
}
.tema-lavanda {
  background: linear-gradient(160deg, #f5f3ff, #ede9fe, #ddd6fe);
}

.petals-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -40px;
  font-size: 1.2rem;
  animation: fall linear infinite;
  opacity: 0.7;
}

@keyframes fall {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.view-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 62px 20px 16px;
  gap: 12px;
  overflow: hidden;
}

/* ── CARD: flex-column con variabili di distanza ── */
.card-auguri {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  border-radius: 0px;
  padding: clamp(16px, 5vw, 28px);
  max-width: 500px;
  width: 100%;
  text-align: center;
  animation: cardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;

  /* ── Distanze tra righe (modifica qui) ── */
  --s1: 10px; /* emoji      → data-festa   */
  --s2: 10px; /* data-festa → card-a        */
  --s3: 10px; /* card-a     → separator     */
  --s4: 15px; /* separator  → messaggio     */
  --s5: 15px; /* messaggio  → footer        */
  --s6: 10px; /* footer     → btn-rispondi  */
  --s7: 40px; /* btn-rispondi → crea-anche-tu */
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Riga 1 ── */
.card-emoji {
  margin-bottom: var(--s1);
  font-size: 4.5rem;
  line-height: 1;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ── Riga 2 ── */
.data-festa {
  margin-bottom: var(--s2);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Riga 3 ── */
.card-a {
  margin-bottom: var(--s3);
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--brown);
  font-style: italic;
}

/* ── Riga 4 ── */
.card-separator {
  margin-bottom: var(--s4);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 2px;
}

/* ── Riga 5 ── */
.card-messaggio {
  margin-bottom: var(--s5);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #333;
  line-height: 1.7;
  font-style: italic;
}

/* ── Riga 6 ── */
.card-footer {
  margin-bottom: var(--s6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #888;
}

.card-da {
  font-weight: 700;
  color: var(--brown);
  font-size: 1rem;
}

.mimosa-divider {
  font-size: 1.2rem;
}

/* ── Riga 7 ── */
.btn-rispondi {
  margin-bottom: var(--s7);
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 150, 12, 0.4);
  transition: transform 0.15s;
}

.btn-rispondi:hover {
  transform: translateY(-2px);
}

/* ── Riga 8 ── */
.crea-anche-tu {
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
}

.crea-anche-tu a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ===== LOADING ===== */
#page-loading {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fffde7, #fdf3d0);
  flex-direction: column;
  gap: 20px;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid #e8d8b0;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brown);
  font-size: 1.1rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a1a;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.3s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== PANNELLO RISPOSTA ===== */
.risposta-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.card-auguri.solo-risposta {
  justify-content: flex-start;
}

.card-auguri.solo-risposta .risposta-ricevuta {
  margin-top: 0;
}
.risposta-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.risposta-panel {
  background: white;
  border-radius: 28px 28px 0 0;
  padding: 32px 28px 40px;
  width: 100%;
  max-width: 520px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.risposta-overlay.open .risposta-panel {
  transform: translateY(0);
}

.risposta-handle {
  width: 40px;
  height: 4px;
  background: #e0d0b0;
  border-radius: 2px;
  margin: 0 auto 24px;
}

.risposta-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brown);
  text-align: center;
  margin-bottom: 6px;
}
.risposta-panel .sub {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.emoji-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.emoji-opt {
  font-size: 1.8rem;
  text-align: center;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.15s;
  background: #fffdf5;
  line-height: 1;
}
.emoji-opt:hover {
  background: #fff3cd;
  transform: scale(1.15);
}
.emoji-opt.selected {
  border-color: var(--gold);
  background: #fff8e1;
  box-shadow: 0 2px 10px rgba(201, 150, 12, 0.25);
  transform: scale(1.1);
}

.risposta-msg-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8d8b0;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fffdf5;
  outline: none;
  resize: none;
  height: 90px;
  line-height: 1.6;
  margin-bottom: 0px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}
.risposta-msg-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 150, 12, 0.12);
}

.btn-invia-risposta {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
  color: white;
  border: none;
  border-radius: 14px;
  margin-top: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 150, 12, 0.4);
  transition: transform 0.15s;
}
.btn-invia-risposta:hover {
  transform: translateY(-2px);
}
.btn-invia-risposta:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-annulla-risposta {
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  color: #bbb;
  cursor: pointer;
  margin-top: 8px;
  font-weight: 600;
}

.risposta-ricevuta {
  margin-top: 20px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 2px solid #f0c040;
  border-radius: 18px;
  padding: 20px 22px;
  text-align: center;
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}
.risposta-ricevuta .r-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 8px;
}
.risposta-ricevuta .r-testo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.6;
}
.risposta-ricevuta .r-label {
  font-size: 0.72rem;
  color: #c9960c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.risposta-inviata-msg {
  margin-top: 16px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 600;
}

/* ===== WOMAN FULLSCREEN (4 QUADRANTI) ===== */
.woman-grid {
  position: fixed;
  inset: 0;
  width: 100vw;

  /* doppia dichiarazione per gestire bene mobile browser UI */
  height: 100vh;
  height: 100dvh;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;

  pointer-events: none;
  overflow: hidden;

  /* dietro al contenuto, davanti allo sfondo tema */
  z-index: 0;
}

.woman-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* riempie ogni quadrante senza deformare */
  display: block; /* evita micro-spazi/scroll da baseline */
}

/* assicura che card e contenuto stiano sopra la griglia */
#page-view .view-content {
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR OVERRIDE (tema Festa della Donna) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(160deg, rgba(255, 253, 231, 0.93) 0%, rgba(252, 232, 192, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(201, 150, 12, 0.2),
    0 4px 20px rgba(122, 74, 16, 0.07);
  z-index: 1000;
  padding: 0;
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-family: 'Inter', sans-serif;
}

.nav-home {
  background: rgba(201, 150, 12, 0.2);
  color: rgba(201, 150, 12, 0.85);
  border: 1px solid rgba(201, 150, 12, 0.25);
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-home:hover {
  background: rgba(201, 150, 12, 0.22);

  transform: translateY(-2px);
}

.nav-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 30px;
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.1);
}

.nav-icon.active {
  background: rgba(44, 133, 254, 0.69);
  border-color: rgba(44, 133, 254, 0.9);
  box-shadow: 0 0 12px rgba(44, 133, 254, 0.35);
}

/* Mimosa SVG decorativo */
.deco-corner {
  position: fixed;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.deco-tl {
  top: -20px;
  left: -20px;
  transform: rotate(0deg);
  font-size: 120px;
}
.deco-br {
  bottom: -20px;
  right: -20px;
  transform: rotate(180deg);
  font-size: 120px;
}

/* ===== SHARE PANEL — pulsanti social ===== */
.btn-native-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-native-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.share-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #bbb;
  font-size: 0.8rem;
}
.share-divider::before,
.share-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8d8b0;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 16px;
  width: 100%;
}

.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
  background: #25d366;
}
.btn-telegram {
  background: #0088cc;
}
.btn-messenger {
  background: linear-gradient(45deg, #00b2ff, #006aff);
}
.btn-line {
  background: #00b900;
}

/* MOBILE */
@media (max-width: 768px) {
  /* ── Create card ── */
  .create-card {
    padding: 24px 20px;
  }
  .create-header {
    margin-bottom: 18px;
  }
  .create-header h1 {
    font-size: 1.6rem;
  }
  .create-header p {
    font-size: 0.85rem;
    margin-top: 4px;
  }
  .mimosa-icon {
    font-size: 2rem;
    margin-bottom: 6px;
  }
  .form-group {
    margin-bottom: 12px;
  }
  textarea {
    height: 80px;
  }
  .btn-crea {
    padding: 13px;
    font-size: 0.95rem;
    margin-top: 4px;
  }
  .firma-row {
    grid-template-columns: 1fr;
  }
  .temi {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Share card ── */
  .share-card {
    padding: 24px 20px;
  }
  .share-card h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }
  .share-card > p {
    margin-bottom: 14px;
  }
  .link-box {
    padding: 10px 12px;
    margin-bottom: 10px;
  }
  .share-btn {
    padding: 11px;
  }
  .btn-native-share {
    padding: 11px 16px;
    margin-bottom: 12px;
  }
  .share-divider {
    margin: 0 0 12px;
  }
  .share-grid {
    gap: 8px;
    margin: 0 0 12px;
  }
  .btn-share {
    padding: 11px 8px;
    font-size: 0.82rem;
  }
  .btn-share svg,
  .btn-native-share svg {
    width: 18px;
    height: 18px;
  }
  .btn-nuova {
    padding: 10px;
  }

  /* ── Distanze mobile (modifica qui) ── */
  .card-auguri {
    padding: clamp(16px, 5vw, 24px);
    --s1: clamp(12px, 4vw, 19px);
    --s2: clamp(13px, 4vw, 19px);
    --s3: clamp(13px, 4vw, 19px);
    --s4: clamp(19px, 6vw, 29px);
    --s5: clamp(26px, 8vw, 38px);
    --s6: 14px;
    --s7: 10px;
  }
  .card-a {
    font-size: 2.4rem;
  }
  .card-messaggio {
    font-size: 1.1rem;
  }
  .nav-home {
    padding: 8px 18px;
    font-size: 16px;
  }
  .nav-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .nav-icons {
    gap: 4px;
  }
  .navbar-container {
    padding: 13px 10px;
  }
}

#seo-info-women {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
