

:root {
  --bg: #130814;
  --bg2: #1b0b1a;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.10);
  --soft2: rgba(255, 255, 255, 0.06);
  --wine: #8f1f46;
  --rose: #ffc0d6;
  --rose2: #ff4f93;
  --rose3: #ff8ab7;
  --pearl: #fff7fb;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  --shadow2: 0 18px 50px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius2: 26px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-ui: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-rom: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(255, 79, 147, 0.28), transparent 60%),
    radial-gradient(900px 700px at 80% 25%, rgba(255, 138, 183, 0.24), transparent 62%),
    radial-gradient(700px 600px at 55% 90%, rgba(143, 31, 70, 0.28), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: var(--font-ui);
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  text-decoration: none;
  z-index: 50;
}
.skip:focus {
  left: 12px;
}

/* Fundo com partículas (canvas) */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(1200px 700px at 50% 30%, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  mix-blend-mode: multiply;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.chip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 9, 14, 0.45);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
}

.chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.0);
}

.chip[data-on="true"] .chip__dot {
  background: var(--rose2);
  box-shadow: 0 0 0 8px rgba(255, 111, 164, 0.18);
}

.chip__label {
  font-size: 12px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

/* Tipografia */
.title {
  font-family: var(--font-rom);
  margin: 0;
  text-align: center;
  line-height: 1.02;
  letter-spacing: 0.2px;
}
.title__soft {
  display: block;
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 500;
  opacity: 0.9;
}
.title__strong {
  display: block;
  font-size: clamp(44px, 7.5vw, 78px);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(255, 247, 251, 1), rgba(255, 192, 214, 0.96), rgba(255, 79, 147, 0.96));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 30px 90px rgba(255, 79, 147, 0.30);
}

.h2 {
  font-family: var(--font-rom);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0.2px;
}
.h3 {
  font-family: var(--font-rom);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--ink);
  opacity: 0.95;
  line-height: 1.55;
  margin: 0 0 18px;
}

.sub {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.micro {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

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

/* Seções / cenas */
#app {
  position: relative;
  z-index: 2;
}

.scene {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 88px 18px 48px;
  opacity: 1;
}

.scene__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.scene--intro .scene__inner {
  gap: 16px;
}

.scene__inner--anniversary {
  gap: 24px;
}

/* Cena: Feliz um ano */
.scene--anniversary {
  min-height: 100vh;
  padding: 96px 18px 56px;
  background: radial-gradient(900px 520px at 50% 15%, rgba(255, 79, 147, 0.2), transparent 65%),
    radial-gradient(600px 400px at 20% 80%, rgba(255, 192, 214, 0.12), transparent 55%);
}

.finalContinue {
  width: min(440px, 100%);
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.finalContinue__hint {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}
.finalContinue__btn {
  min-width: 240px;
}

.anniversary {
  position: relative;
  width: min(560px, 100%);
  padding: 42px 32px 48px;
  border-radius: 34px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(12, 6, 14, 0.55));
  box-shadow: var(--shadow), 0 0 100px rgba(255, 111, 164, 0.14);
  backdrop-filter: blur(22px);
  overflow: hidden;
}
.anniversary__glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 247, 251, 0.22), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(255, 79, 147, 0.2), transparent 50%);
  pointer-events: none;
  opacity: 0.95;
}
.anniversary__ribbon {
  position: relative;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 192, 214, 0.92);
}
.anniversary__title {
  position: relative;
  margin: 0 0 22px;
  font-family: var(--font-rom);
  font-weight: 600;
  font-size: clamp(34px, 7.5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: rgba(255, 247, 251, 0.98);
  text-shadow: 0 12px 50px rgba(255, 79, 147, 0.25);
}
.anniversary__titleLine {
  display: block;
}
.anniversary__titleLine--shine {
  margin-top: 6px;
  background: linear-gradient(115deg, #fff7fb 0%, #ffc0d6 35%, #ff4f93 55%, #ffc0d6 80%, #fff7fb 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .anniversary__titleLine--shine {
    animation: anniversaryShine 7s ease-in-out infinite;
  }
}
body.reduce-motion .anniversary__titleLine--shine {
  animation: none !important;
}
@keyframes anniversaryShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.anniversary__verse {
  position: relative;
  margin: 0 0 20px;
  font-family: var(--font-rom);
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.anniversary__sign {
  position: relative;
  margin: 0;
  font-family: var(--font-rom);
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  color: rgba(255, 192, 214, 0.95);
}
.anniversary__stars {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}
.anniversary__stars span:nth-child(2) {
  font-size: 22px;
  color: rgba(255, 111, 164, 0.85);
  filter: drop-shadow(0 0 12px rgba(255, 79, 147, 0.45));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.badge__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose2);
  box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.35);
  animation: pulse 2.6s var(--ease) infinite;
}
.badge__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.33);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 111, 164, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 111, 164, 0);
  }
}

.typed {
  max-width: 58ch;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 20px 70px rgba(255, 111, 164, 0.18);
}
.caret {
  display: inline-block;
  width: 10px;
  margin-left: 2px;
  opacity: 0.9;
  transform: translateY(2px);
  animation: caret 900ms steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

.cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 8px;
}

.hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-align: center;
}

/* Botões */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease),
    border-color 240ms var(--ease), opacity 240ms var(--ease);
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--primary {
  color: rgba(10, 9, 14, 0.92);
  background: linear-gradient(135deg, rgba(255, 247, 251, 0.99), rgba(255, 192, 214, 0.97), rgba(255, 79, 147, 0.97));
  box-shadow: 0 20px 62px rgba(255, 79, 147, 0.30), 0 18px 70px rgba(0, 0, 0, 0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 76px rgba(255, 79, 147, 0.36), 0 18px 70px rgba(0, 0, 0, 0.40);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
}

/* Cards */
.card {
  width: min(820px, 100%);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 192, 214, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  padding: 18px 18px;
}
.card p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.card p:last-child {
  margin-bottom: 0;
}
.card__actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.card--glass {
  background: linear-gradient(180deg, rgba(255, 247, 251, 0.08), rgba(255, 255, 255, 0.04));
}

/* Jornada e progress */
.journey[hidden] {
  display: none;
}

.progress {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}

.progress__list {
  list-style: none;
  margin: 0;
  padding: 12px 10px;
  display: grid;
  gap: 10px;
  border-radius: 999px;
  background: rgba(10, 9, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 0 rgba(255, 111, 164, 0);
  transition: background 280ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease);
}
.progress__dot.is-active {
  background: var(--rose2);
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(255, 111, 164, 0.16);
}

/* Grid das cartas */
.grid {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tile {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
  color: var(--ink);
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}
.tile__title {
  display: block;
  font-family: var(--font-rom);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tile__meta {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.5;
}

.letter {
  font-family: var(--font-rom);
  font-size: 20px;
  line-height: 1.75;
}

/* Coração "segure" */
.heartStage {
  width: min(780px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 4px;
}

.heartBtn {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}
.heartBtn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
}
.heartBtn:active {
  transform: translateY(0px) scale(0.99);
}

.heartBtn__ring {
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 111, 164, 0.22);
  box-shadow: inset 0 0 0 10px rgba(255, 111, 164, 0.03);
}

.heartBtn__core {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 44px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 247, 251, 0.92), rgba(255, 111, 164, 0.9));
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(255, 111, 164, 0.22);
}
.heartBtn__core::before,
.heartBtn__core::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: inherit;
}
.heartBtn__core::before {
  left: -22px;
  top: 0;
}
.heartBtn__core::after {
  left: 0;
  top: -22px;
}

.heartBtn__glow {
  position: absolute;
  inset: -24px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 111, 164, 0.25), transparent 60%);
  opacity: 0.7;
  filter: blur(2px);
  animation: floatGlow 3.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-7px);
    opacity: 0.9;
  }
}

.meter {
  width: min(420px, 92vw);
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 247, 251, 0.95), rgba(255, 111, 164, 0.92));
  border-radius: 999px;
  transition: width 80ms linear;
}

/* Caça ao tesouro */
.hunt {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
  align-items: start;
}

.hunt__panel {
  border-radius: var(--radius2);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow2);
}

.hunt__status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.25px;
  background: rgba(10, 9, 14, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}
.pill--soft {
  background: rgba(255, 111, 164, 0.12);
  border-color: rgba(255, 111, 164, 0.18);
}

.clue {
  margin: 6px 0 14px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-rom);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.field__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.2px;
}
.field__input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 9, 14, 0.35);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.field__input:focus {
  border-color: rgba(255, 111, 164, 0.32);
  box-shadow: 0 0 0 8px rgba(255, 111, 164, 0.10);
}

.hunt__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hunt__aside {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
}

.lockbox {
  width: 160px;
  height: 140px;
  position: relative;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
}
.lockbox__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 94px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 111, 164, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lockbox__lid {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 247, 251, 0.10), rgba(10, 9, 14, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-origin: bottom center;
  transform: rotateX(0deg);
  transition: transform 700ms var(--ease);
}
.lockbox__shine {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 111, 164, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

body.treasure-open .lockbox__lid {
  transform: rotateX(62deg);
}
body.treasure-open .lockbox__shine {
  opacity: 1;
}

.sparkMeter {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.sparkMeter__fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 247, 251, 0.95), rgba(255, 111, 164, 0.92));
  transition: width 520ms var(--ease);
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  width: min(720px, 92vw);
  max-width: 92vw;
  max-height: 90vh;
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}
.modal__inner {
  position: relative;
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
/* Modal de mensagens: sem mídia (sem fotos) por privacidade */
.modal__glow {
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: radial-gradient(circle at 40% 30%, rgba(255, 79, 147, 0.36), transparent 62%),
    radial-gradient(circle at 75% 70%, rgba(255, 192, 214, 0.22), transparent 60%);
  filter: blur(8px);
  opacity: 0.9;
  pointer-events: none;
}
.modal__body {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--font-rom);
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.90);
}
.modal__actions {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.modal--final .modal__body {
  font-size: 20px;
}

.modal--declaration {
  width: min(680px, 94vw);
  max-height: 92vh;
}
.modal__inner--declaration {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 900px);
  padding: 20px 18px 16px;
}
.modal__inner--declaration .h3 {
  margin-bottom: 12px;
}
.declarationLetter {
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 120px;
  max-height: min(62vh, 640px);
  margin: 0 0 14px;
  padding: 18px 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(10, 9, 14, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-rom);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.92);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 111, 164, 0.4) rgba(255, 255, 255, 0.06);
}
.declarationLetter::-webkit-scrollbar {
  width: 8px;
}
.declarationLetter::-webkit-scrollbar-thumb {
  background: rgba(255, 111, 164, 0.35);
  border-radius: 999px;
}
.declarationLetter p {
  margin: 0 0 14px;
}
.declarationLetter p:last-child {
  margin-bottom: 0;
}
.finalActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Efeito "sparkle" */
.sparkle {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 247, 251, 1), rgba(255, 111, 164, 0.9));
  box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.0);
  animation: sparkle 2.4s var(--ease) infinite;
  vertical-align: middle;
}
@keyframes sparkle {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.0);
  }
  55% {
    transform: scale(1.25);
    box-shadow: 0 0 0 14px rgba(255, 111, 164, 0.10);
  }
}

/* Rodapé */
.footer {
  margin-top: 10px;
  opacity: 0.85;
}

/* Animações de entrada cinematográfica */
.scene {
  animation: fadeUp 900ms var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Responsivo */
@media (max-width: 900px) {
  .progress {
    right: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hunt {
    grid-template-columns: 1fr;
  }
  .topbar {
    top: 12px;
    left: 12px;
    right: 12px;
  }
}

/* Redução de movimento (preferência do usuário + toggle) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body.reduce-motion * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* Reveal ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================
   HUD (timer + key secreta)
   ========================================================== */
.hud {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 12;
  width: min(420px, calc(100vw - 32px));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 9, 14, 0.45);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
  padding: 12px;
}
.hud[hidden] {
  display: none;
}
.hud__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.hud__kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2px;
}
.hud__value {
  display: block;
  font-family: var(--font-rom);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}
.hud__toggle {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.hud__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
}
.hud__panel {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.hud__panel[hidden] {
  display: none;
}

.keyParts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.keyPart {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}
.keyPart.is-found {
  border-color: rgba(255, 111, 164, 0.30);
  background: rgba(255, 111, 164, 0.10);
}

.foundList {
  margin: 6px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================
   Leia quando...
   ========================================================== */
.readWhen {
  width: min(760px, 100%);
  display: grid;
  gap: 10px;
}
.readBtn {
  width: 100%;
  text-align: center;
  border-radius: 999px;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(10, 9, 14, 0.16));
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.readBtn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 22px 75px rgba(0, 0, 0, 0.55);
}

/* Estrelas escondidas */
.secretStar {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 30% 30%, rgba(255, 247, 251, 1), rgba(255, 111, 164, 0.85));
  box-shadow: 0 0 0 0 rgba(255, 111, 164, 0.0);
  opacity: 0.28;
  cursor: pointer;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
  z-index: 3;
}
.secretStar:hover {
  opacity: 0.85;
  transform: scale(1.06);
  box-shadow: 0 0 0 10px rgba(255, 111, 164, 0.14);
}
.secretStar.is-found {
  opacity: 0.10;
  pointer-events: none;
  filter: saturate(0.6);
}

/* posições (ajustáveis) */
.scene--readWhen .secretStar {
  top: 18%;
  left: 82%;
}
.secretStar--b {
  top: 14%;
  left: 18%;
}
.secretStar--c {
  bottom: 22%;
  left: 72%;
}

/* Removido: Polaroids (sem imagens por privacidade) */

/* ==========================================================
   Revelação final (modal)
   ========================================================== */
.modal--reveal .modal__inner {
  background: radial-gradient(900px 600px at 50% 20%, rgba(255, 111, 164, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(10, 9, 14, 0.20));
}
.revealKey {
  position: relative;
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 9, 14, 0.35);
  backdrop-filter: blur(14px);
}
.revealKey__code {
  display: block;
  font-size: 14px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.92);
}

body.reveal-mode .vignette {
  background: radial-gradient(1100px 700px at 50% 30%, transparent 40%, rgba(0, 0, 0, 0.70) 100%);
}

/* ==========================================================
   Nossa História — Timeline
   ========================================================== */
.timeline {
  width: min(860px, 100%);
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 111, 164, 0.0), rgba(255, 111, 164, 0.42), rgba(255, 247, 251, 0.0));
  opacity: 0.9;
}

.moment {
  position: relative;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 9, 14, 0.18));
  backdrop-filter: blur(14px);
  padding: 14px 14px 14px 44px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}
.moment::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 247, 251, 1), rgba(255, 111, 164, 0.92));
  box-shadow: 0 0 0 8px rgba(255, 111, 164, 0.10);
}
.moment:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}
.moment__date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 4px;
}
.moment__title {
  display: block;
  font-family: var(--font-rom);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.moment__hint {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================
   Coisas que eu amo em você — Cards
   ========================================================== */
.loveGrid {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.loveCard {
  position: relative;
  border-radius: 22px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(10, 9, 14, 0.18));
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  text-align: left;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.loveCard::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 25% 25%, rgba(255, 79, 147, 0.34), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 192, 214, 0.24), transparent 52%);
  opacity: 0.65;
  filter: blur(8px);
  transition: opacity 300ms var(--ease);
}
.loveCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 247, 251, 0.0), rgba(255, 247, 251, 0.12), rgba(255, 247, 251, 0.0));
  transform: translateX(-60%);
  opacity: 0;
  transition: transform 700ms var(--ease), opacity 260ms var(--ease);
}

.loveCard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
}
.loveCard:hover::after {
  opacity: 1;
  transform: translateX(60%);
}

.loveCard__kicker {
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}
.loveCard__title {
  position: relative;
  display: block;
  font-family: var(--font-rom);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}
.loveCard__text {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.6;
}

.loveCard.is-favorite {
  border-color: rgba(255, 111, 164, 0.34);
  box-shadow: 0 28px 90px rgba(255, 111, 164, 0.14), 0 20px 80px rgba(0, 0, 0, 0.55);
}
.loveCard.is-favorite::before {
  opacity: 1;
}

/* ==========================================================
   Declaração ❤️ — Carta/diário premium
   ========================================================== */
.declaration {
  width: min(920px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(900px 600px at 10% 10%, rgba(255, 79, 147, 0.24), transparent 55%),
    radial-gradient(900px 600px at 90% 70%, rgba(255, 192, 214, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 9, 14, 0.20));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.declaration::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 40% 30%, rgba(255, 247, 251, 0.18), transparent 65%),
    radial-gradient(circle at 80% 75%, rgba(255, 111, 164, 0.16), transparent 62%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.declaration__head {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.declaration__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(10, 9, 14, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 11px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.40);
}
.declaration__meta {
  display: grid;
  gap: 2px;
  text-align: right;
}

.declaration__preview {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 12px 10px 8px;
}
.declaration__teaser {
  margin: 0 0 18px;
  font-family: var(--font-rom);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}
.declaration__openBtn {
  min-width: 220px;
}

/* Removido: Slots de fotos na declaração (privacidade) */

.declaration__music {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .loveGrid {
    grid-template-columns: 1fr;
  }
}

.secretStamp {
  width: 100%;
}

