:root {
  --bg-deep: #0e0a08;
  --bg-stone: #1a1410;
  --bg-stone-2: #2a201a;

  --parchment: #f1e2b8;
  --parchment-2: #e6d3a0;
  --parchment-shadow: #8b6f3e;
  --parchment-edge: #6e4f25;
  --ink: #3b2510;
  --ink-soft: #6b4a25;

  --gold: #c9a961;
  --gold-bright: #e0c074;
  --gold-deep: #8b6f2e;

  --wax: #6b1f2a;
  --wax-bright: #a83341;
  --wax-deep: #3a0e16;

  --font-roman: 'Forum', 'Cormorant Garamond', serif;
  --font-body: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-hand: 'Marck Script', cursive;

  --scroll-w: 600px;
}

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

html, body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(107, 31, 42, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-stone) 50%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.02) 0, transparent 1.5px),
    radial-gradient(circle at 78% 65%, rgba(255,255,255,0.015) 0, transparent 1.2px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.02) 0, transparent 1.3px);
  background-size: 240px 240px, 320px 320px, 280px 280px;
  opacity: 0.5;
  z-index: 0;
}

#dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mute {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.4);
  background: rgba(26, 20, 16, 0.6);
  backdrop-filter: blur(8px);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}
.mute:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: scale(1.06);
}
.mute .ico-off { display: none; }
.mute.muted .ico-on { display: none; }
.mute.muted .ico-off { display: block; }

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 20px 120px;
}

.scroll-container {
  position: relative;
  width: var(--scroll-w);
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

.scroll-roll {
  position: relative;
  height: 56px;
  background:
    linear-gradient(180deg,
      #b08e58 0%,
      #d8be84 18%,
      #ecd9a0 38%,
      #d8be84 60%,
      #9c7a44 85%,
      #5e4520 100%);
  border-radius: 28px / 28px;
  box-shadow:
    inset 0 -10px 14px rgba(40, 25, 8, 0.5),
    inset 0 8px 14px rgba(255, 240, 200, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.4);
  z-index: 4;
}
.scroll-roll::before,
.scroll-roll::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 56px;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse at center,
      #c9a566 0%, #8a6a30 60%, #3e2c12 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
}
.scroll-roll::before { left: -8px; }
.scroll-roll::after  { right: -8px; }

.roll-shadow {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 12px;
  background: linear-gradient(180deg, rgba(40, 25, 8, 0.45), transparent);
  filter: blur(3px);
}
.roll-top .roll-shadow { top: -4px; bottom: auto; transform: scaleY(-1); }

.scroll-body {
  position: relative;
  height: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 240, 200, 0.5) 0%, transparent 30%),
    radial-gradient(ellipse at 50% 100%, rgba(120, 90, 50, 0.3) 0%, transparent 40%),
    linear-gradient(90deg,
      var(--parchment-edge) 0%,
      var(--parchment-shadow) 1.5%,
      var(--parchment-2) 4%,
      var(--parchment) 12%,
      var(--parchment) 88%,
      var(--parchment-2) 96%,
      var(--parchment-shadow) 98.5%,
      var(--parchment-edge) 100%);
  box-shadow:
    inset 0 8px 14px rgba(120, 90, 50, 0.3),
    inset 0 -8px 14px rgba(120, 90, 50, 0.3);
  z-index: 3;
}

.scroll-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 14%, rgba(140, 100, 50, 0.12) 0, transparent 18%),
    radial-gradient(circle at 88% 36%, rgba(140, 100, 50, 0.08) 0, transparent 22%),
    radial-gradient(circle at 30% 70%, rgba(140, 100, 50, 0.10) 0, transparent 20%),
    radial-gradient(circle at 75% 90%, rgba(140, 100, 50, 0.09) 0, transparent 18%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.body-inner {
  padding: 56px 64px 72px;
  position: relative;
}

.view {
  text-align: center;
}

.latin-tag {
  font-family: var(--font-roman);
  font-size: 13px;
  letter-spacing: 0.45em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.latin-header {
  font-family: var(--font-roman);
  font-weight: 400;
  font-size: 42px;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 28px;
}
.rule span {
  display: block;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-soft), transparent);
  position: relative;
}
.rule span::before,
.rule span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--ink-soft);
  border-radius: 50%;
  transform: translateY(-50%);
}
.rule span::before { left: -8px; }
.rule span::after  { right: -8px; }

.ornament {
  margin: 0 auto 28px;
  max-width: 320px;
  opacity: 0;
}

.letter-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  margin: 6px 0 36px;
}
.letter-text .line {
  opacity: 0;
  transform: translateY(8px);
}
.letter-text .line-em {
  font-style: italic;
  color: var(--ink);
  margin-top: 14px;
}

.signature {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--ink);
  margin-top: 36px;
  opacity: 0;
}

.seal-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 132px;
  height: 132px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, var(--wax-bright) 0%, var(--wax) 45%, var(--wax-deep) 100%);
  color: #f4d8a8;
  font-family: var(--font-roman);
  text-transform: uppercase;
  box-shadow:
    inset 0 -6px 14px rgba(0, 0, 0, 0.45),
    inset 0 4px 10px rgba(255, 200, 180, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
}
.seal-btn::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.seal-btn::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 22%;
  width: 36%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(3px);
  pointer-events: none;
}
.seal-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 -6px 14px rgba(0, 0, 0, 0.45),
    inset 0 4px 10px rgba(255, 200, 180, 0.22),
    0 14px 28px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(168, 51, 65, 0.4);
}
.seal-btn-latin {
  font-size: 14px;
  letter-spacing: 0.3em;
  opacity: 0.75;
}
.seal-btn-ru {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: none;
}
.seal-btn-large {
  width: 156px;
  height: 156px;
}
.seal-btn-large .seal-btn-latin { font-size: 15px; }
.seal-btn-large .seal-btn-ru { font-size: 20px; }

#guestForm {
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}

.field {
  margin-bottom: 22px;
  position: relative;
}

.field label {
  display: block;
  font-family: var(--font-roman);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field-hint {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
  opacity: 0.85;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(107, 74, 37, 0.5);
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--ink);
  padding: 6px 4px 8px;
  outline: none;
  resize: none;
  transition: border-color 0.25s ease;
}
.field textarea {
  font-size: 22px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(107, 74, 37, 0.5);
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(107, 74, 37, 0.4);
  font-style: italic;
}

.field-date .date-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.field-date input {
  text-align: center;
  width: 70px;
}
.field-date input[name="birthYear"] {
  width: 100px;
}
.date-sep {
  font-family: var(--font-roman);
  font-size: 22px;
  color: var(--ink-soft);
}

.form-error {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: var(--wax);
  text-align: center;
  margin-bottom: 14px;
}

.field-options .opt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.opt {
  position: relative;
  border: 1px solid rgba(107, 74, 37, 0.55);
  background: rgba(241, 226, 184, 0.35);
  color: var(--ink);
  font-family: var(--font-roman);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.28s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.opt-latin {
  font-size: 13px;
  letter-spacing: 0.3em;
  opacity: 0.8;
}
.opt-ru {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}
.opt:hover {
  border-color: var(--wax);
  background: rgba(168, 51, 65, 0.08);
  transform: translateY(-1px);
}
.opt.selected {
  background:
    radial-gradient(circle at 35% 28%, var(--wax-bright) 0%, var(--wax) 50%, var(--wax-deep) 100%);
  border-color: var(--wax-deep);
  color: #f6dcaa;
  box-shadow:
    inset 0 -3px 8px rgba(0, 0, 0, 0.4),
    inset 0 2px 6px rgba(255, 200, 180, 0.18),
    0 4px 12px rgba(168, 51, 65, 0.35);
  transform: translateY(0);
}
.opt.selected .opt-latin { opacity: 0.9; }

.opt-row-pluses .opt-num {
  min-width: 60px;
  padding: 10px 16px;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.opt-row-pluses .opt-num:first-child {
  padding: 10px 22px;
}

.guests-extra {
  margin: 6px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guest-extra {
  position: relative;
  margin-top: 14px;
  padding: 14px 0 6px 22px;
  border-left: 1px solid rgba(201, 169, 97, 0.45);
  animation: guestBlockIn 0.45s ease-out;
}
@keyframes guestBlockIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.field-guest-stay { margin-top: 6px; }
.field-guest-stay .opt { padding: 8px 14px; }
.field-guest-stay .opt-latin { font-size: 11px; }
.field-guest-stay .opt-ru { font-size: 12px; }
.guest-extra::before {
  content: '';
  position: absolute;
  left: -4px; top: 18px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.6);
}
.guest-extra-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-right: 4px;
}
.guest-extra-tag {
  font-family: var(--font-roman);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}
.guest-extra-num {
  font-family: var(--font-roman);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
}
.guest-extra .field { margin-bottom: 14px; }
.guest-extra .field:last-child { margin-bottom: 4px; }
.guest-extra label {
  font-size: 11px;
  letter-spacing: 0.3em;
}
.guest-extra .field input {
  font-size: 21px;
}

#guestForm .seal-btn {
  display: flex;
  margin: 16px auto 0;
}

.view-form .seal-btn-large {
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.view-form .seal-btn-large.ready {
  animation: readyGlow 2.2s ease-in-out infinite;
}
@keyframes readyGlow {
  0%, 100% {
    box-shadow:
      inset 0 -6px 14px rgba(0, 0, 0, 0.45),
      inset 0 4px 10px rgba(255, 200, 180, 0.2),
      0 10px 22px rgba(0, 0, 0, 0.5),
      0 0 22px rgba(201, 169, 97, 0.45);
  }
  50% {
    box-shadow:
      inset 0 -6px 14px rgba(0, 0, 0, 0.45),
      inset 0 4px 10px rgba(255, 200, 180, 0.25),
      0 14px 28px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(201, 169, 97, 0.8);
  }
}

.submit-hint {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-roman);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.65;
  transition: opacity 0.4s ease;
  min-height: 14px;
}
.submit-hint.hidden { opacity: 0; }

.thanks-seal {
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
}
.thanks-text {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  margin: 18px 0 24px;
}
.thanks-latin {
  font-family: var(--font-roman);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ───── Invitation details ───── */
.invite-details {
  margin: 36px auto 0;
  text-align: center;
  max-width: 520px;
}

.invite-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 0 18px;
}

.invite-section-title {
  font-family: var(--font-roman);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.1;
}

.invite-latin {
  font-family: var(--font-roman);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--ink-soft);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 18px;
}

.invite-body {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-date-ru {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.1;
}
.invite-date-roman {
  font-family: var(--font-roman);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.85;
}
.invite-date-time {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink);
}
.invite-date-time em {
  font-style: italic;
  font-weight: 500;
  color: var(--wax);
}

.invite-address,
.invite-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 10px;
}
.invite-text em {
  font-style: italic;
  font-weight: 500;
  color: var(--wax);
}
.invite-text-faded {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.9em;
  opacity: 0.85;
}

.invite-text-italic {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.invite-text-small { font-size: 14px; margin-top: 12px; }

.invite-list {
  list-style: none;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  padding: 0;
  margin: 0;
  text-align: center;
}
.invite-list li {
  position: relative;
}

.invite-divider {
  display: flex;
  justify-content: center;
  margin: 2px 0;
}
.invite-divider span {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 74, 37, 0.35), transparent);
  position: relative;
}
.invite-divider span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold-deep);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.65;
}

.map-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-roman);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(107, 74, 37, 0.55);
  background: rgba(241, 226, 184, 0.4);
  padding: 9px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.28s ease;
}
.map-link:hover {
  background: rgba(168, 51, 65, 0.1);
  border-color: var(--wax);
  color: var(--wax-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 51, 65, 0.18);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  align-items: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 1px solid rgba(107, 74, 37, 0.5);
  background: rgba(241, 226, 184, 0.4);
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.28s ease;
}
.contact-link:hover {
  background: rgba(168, 51, 65, 0.1);
  border-color: var(--wax);
  color: var(--wax-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 51, 65, 0.18);
}

.site-link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-roman);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 111, 46, 0.55);
  padding-bottom: 2px;
  transition: all 0.25s ease;
}
.site-link:hover {
  color: var(--wax);
  border-bottom-color: var(--wax);
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: 50px;
  text-decoration: none;
  background: radial-gradient(circle at 35% 28%, var(--wax-bright) 0%, var(--wax) 50%, var(--wax-deep) 100%);
  color: #f4d8a8;
  box-shadow:
    inset 0 -4px 10px rgba(0, 0, 0, 0.4),
    inset 0 3px 6px rgba(255, 200, 180, 0.16),
    0 6px 16px rgba(168, 51, 65, 0.35);
  transition: all 0.3s ease;
  position: relative;
}
.telegram-btn::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 22%;
  width: 30%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(3px);
  pointer-events: none;
}
.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 -4px 10px rgba(0, 0, 0, 0.4),
    inset 0 3px 6px rgba(255, 200, 180, 0.2),
    0 12px 26px rgba(168, 51, 65, 0.5),
    0 0 30px rgba(201, 169, 97, 0.45);
}
.telegram-btn svg { flex-shrink: 0; }
.telegram-btn-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}
.telegram-btn-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.telegram-btn-sub {
  font-family: var(--font-roman);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 3px;
}

.cord {
  position: absolute;
  top: 50%;
  left: -10px;
  right: -10px;
  width: calc(100% + 20px);
  height: 120px;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.seal-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}

.seal-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.35) 0%, transparent 60%);
  filter: blur(14px);
  z-index: -1;
  animation: pulse 3.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.08); }
}

.seal {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease;
}
.seal-wrap:hover .seal {
  transform: scale(1.04);
}

.seal-half {
  transform-origin: 110px 110px;
}

.seal-shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hint {
  position: absolute;
  left: 50%;
  bottom: -64px;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gold);
  pointer-events: none;
  animation: hintFloat 2.6s ease-in-out infinite;
}
.hint-latin {
  display: block;
  font-family: var(--font-roman);
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 4px;
}
.hint-ru {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  opacity: 0.6;
}
@keyframes hintFloat {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 4px); opacity: 0.7; }
}

.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 0 26px;
  font-family: var(--font-roman);
  font-size: 12px;
  letter-spacing: 0.45em;
  color: rgba(201, 169, 97, 0.4);
}

@media (max-width: 680px) {
  :root { --scroll-w: 92vw; }
  .body-inner { padding: 40px 26px 52px; }
  .latin-header { font-size: 30px; letter-spacing: 0.14em; }
  .latin-tag { font-size: 11px; letter-spacing: 0.35em; }
  .letter-text { font-size: 19px; }
  .field input, .field textarea { font-size: 21px; }
  .field-date input { width: 56px; }
  .field-date input[name="birthYear"] { width: 80px; }
  .seal-btn { width: 116px; height: 116px; }
  .seal-btn-large { width: 138px; height: 138px; }
  .seal-btn-ru { font-size: 16px; }
  .opt { padding: 10px 16px; }
  .opt-latin { font-size: 11px; }
  .opt-ru { font-size: 13px; }
  .opt-row-pluses .opt-num { min-width: 48px; padding: 9px 12px; font-size: 16px; }
  .opt-row-pluses .opt-num:first-child { padding: 9px 16px; }
  .guest-extra { padding-left: 16px; }
  .guest-extra-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .guest-extra .field input { font-size: 19px; }

  .invite-section { padding: 18px 0 14px; }
  .invite-section-title { font-size: 18px; letter-spacing: 0.14em; }
  .invite-latin { font-size: 9px; letter-spacing: 0.42em; margin-bottom: 14px; }
  .invite-date-ru { font-size: 24px; }
  .invite-date-roman { font-size: 11px; letter-spacing: 0.28em; }
  .invite-address, .invite-text, .invite-list { font-size: 16px; }
  .telegram-btn { padding: 13px 22px; gap: 12px; }
  .telegram-btn-title { font-size: 15px; }
  .telegram-btn-sub { font-size: 9px; letter-spacing: 0.32em; }
  .map-link { font-size: 11px; padding: 8px 14px; }
  .scroll-roll { height: 44px; border-radius: 22px; }
  .seal-wrap { width: 140px; height: 140px; }
  .seal { width: 140px; height: 140px; }
  .signature { font-size: 24px; }
  .hint { bottom: -54px; }
}
