/* ==================================================================
   Valentin & Andreea · Wedding site styles
   Shared by index.html (full invitation) and rsvp.html (RSVP only).
   ================================================================== */

/* ---------- Local fonts ---------- */
@font-face {
  font-family: "Amsterdam";
  src: url("AmsterdamThreeSlantTtf-WyJVG.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glossy Display";
  src: url("GlossyDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glossy Display";
  src: url("GlossyDisplay-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f5f0e8;
  --ivory-warm: #f7f1e6;
  --ivory-cool: #f2ece2;
  --cream: #ede4d4;
  --cream-deep: #e4d9c5;
  --brown-dark: #3b2314;
  --brown: #6b4226;
  --brown-soft: #8a6a4c;
  --gold: #c9a84c;
  --olive: #6b7b4e;
  --terracotta: #c2703e;

  --display: "Amsterdam", "Pinyon Script", "Allura", "Dancing Script", cursive;
  --body:
    "Glossy Display", "Cormorant Garamond", "Iowan Old Style", Georgia,
    "Times New Roman", serif;

  --shadow-card:
    0 1px 0 rgba(59, 35, 20, 0.04), 0 20px 60px -30px rgba(59, 35, 20, 0.18),
    0 4px 18px -12px rgba(59, 35, 20, 0.12);
  --shadow-inset:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(59, 35, 20, 0.04);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brown-dark);
  background-color: var(--ivory);
  background-image:
    radial-gradient(
      1200px 700px at 50% -10%,
      rgba(107, 66, 38, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 50% 110%,
      rgba(107, 66, 38, 0.05),
      transparent 65%
    );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(107, 66, 38, 0.22);
  color: var(--brown-dark);
}

main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem clamp(3rem, 8vw, 6rem);
  position: relative;
}

.state {
  width: 100%;
  max-width: 640px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: none;
}
.state.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========== Hero ========== */
.hero {
  text-align: center;
  padding: 0 0.25rem;
}

.names-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(0.75rem, 3vw, 1.5rem);
}
.monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(6.5rem, 21vw, 10rem);
  color: var(--brown-dark);
  opacity: 0.07;
  letter-spacing: 0em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: fadeInMonogram 1.6s 0.1s both;
  margin-top: 3rem;
}
.names {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 10vw, 4rem);
  line-height: 1.35;
  color: var(--brown-dark);
  margin: 0;
  letter-spacing: 0;
  white-space: nowrap;
  animation: fadeUp 1.1s 0.2s both;
}
.names .name-word {
  display: inline;
}
.names .amp {
  display: inline-block;
  padding: 0 0.08em;
  color: var(--brown-dark);
}

@media (max-width: 520px) {
  .names {
    line-height: 1.15;
    white-space: normal;
  }
  .names .name-word,
  .names .amp {
    display: block;
  }
  .names .amp {
    padding: 0;
    margin: 0.05em 0;
  }
}

.hero-lead {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--brown-dark);
  margin: clamp(1.75rem, 4vw, 2.5rem) auto clamp(0.9rem, 2.5vw, 1.25rem);
  max-width: 36ch;
  line-height: 1.5;
  animation: fadeUp 1s 0.35s both;
}

.pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem clamp(1.25rem, 4.5vw, 3rem);
  max-width: 440px;
  margin: 0 auto;
  animation: fadeUp 1s 0.5s both;
}
.pair {
  text-align: center;
}
.pair-names,
.pair-surname {
  font-family: var(--body);
  font-weight: 100;
  font-size: clamp(0.95rem, 2.1vw, 1.1rem);
  color: var(--brown-dark);
  line-height: 1.5;
}
.pair-surname {
  font-weight: 300;
}

.invitation {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--brown-dark);
  margin: clamp(2rem, 4.5vw, 2.75rem) auto clamp(1.5rem, 3.5vw, 2rem);
  max-width: 38ch;
  line-height: 1.55;
  animation: fadeUp 1s 0.65s both;
}

/* ========== Countdown ========== */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.75vw, 0.85rem);
  max-width: 400px;
  margin: clamp(1.5rem, 3.5vw, 2rem) auto clamp(2rem, 4.5vw, 2.75rem);
  animation: fadeUp 1s 0.9s both;
}
.countdown-item {
  text-align: center;
  padding: 0.55rem 0.25rem 0.45rem;
  border: 1px solid rgba(107, 66, 38, 0.28);
  border-radius: 3px;
}
.countdown-value {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.45rem, 5vw, 1.95rem);
  color: var(--brown);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--brown-dark);
  text-transform: lowercase;
  letter-spacing: 0em;
  margin-top: 0.35rem;
  opacity: 0.85;
}

/* ========== Locations (church · date · venue) ========== */
.locations {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(0.75rem, 3vw, 2rem);
  max-width: 640px;
  margin: 0 auto 4rem;
  animation: fadeUp 1s 1s both;
}
.locations-date {
  align-self: center;
  text-align: center;
  font-family: var(--body);
  font-weight: 100;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1.02;
  color: var(--brown);
  letter-spacing: 0em;
  padding: 0 clamp(0.25rem, 1vw, 0.5rem);
}
.locations-date span {
  display: block;
}
@media (max-width: 520px) {
  .locations {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .locations-date {
    padding: 0 0.15rem;
    font-size: clamp(4.75rem, 7vw, 2.5rem);
  }
  .location-buttons {
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
  }
  .loc-btn {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.7rem;
  letter-spacing: 0em;
  }
}
.location {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.location-icon {
  width: clamp(62px, 15vw, 84px);
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}
.location-lead {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  color: var(--brown);
  line-height: 1.45;
  max-width: 24ch;
}
.location-name {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  color: var(--brown-dark);
  line-height: 1.4;
  max-width: 22ch;
}
.location-time {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(0.9rem, 2.05vw, 1rem);
  color: var(--brown-dark);
  line-height: 1.3;
}
.location-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0em;
  color: var(--brown-dark);
  background: transparent;
  border: 1px solid rgba(107, 66, 38, 0.45);
  border-radius: 3px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.loc-btn:hover {
  background: rgba(107, 66, 38, 0.08);
  border-color: var(--brown-dark);
  color: var(--brown-dark);
}
.loc-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.closing {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--brown-dark);
  margin: 0;
  animation: fadeUp 1s 0.95s both;
}

.rsvp-note {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  color: var(--brown);
  margin: clamp(1.5rem, 3.5vw, 2rem) auto clamp(2rem, 5vw, 2.75rem);
  max-width: 40ch;
  line-height: 1.55;
  animation: fadeUp 1s 1.1s both;
}

/* ========== Card / Form ========== */
.card {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-radius: 6px;
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  animation: fadeUp 1s 1.2s both;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label,
.legend {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--brown);
}

.hint {
  font-family: var(--body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--brown);
  opacity: 0.75;
  margin-top: -0.15rem;
  text-transform: none;
  letter-spacing: 0;
}

.input,
.textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--brown-dark);
  background: var(--ivory-warm);
  border: 0;
  border-bottom: 1px solid rgba(107, 66, 38, 0.22);
  padding: 0.85rem 0.9rem;
  border-radius: 3px 3px 0 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--brown);
  opacity: 0.4;
}
.input:focus,
.textarea:focus {
  outline: none;
  border-bottom-color: var(--brown-dark);
  background: var(--ivory);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 1px 0 0 var(--brown-dark);
}
.textarea {
  min-height: 96px;
  resize: vertical;
  border-radius: 3px;
  border: 1px solid rgba(107, 66, 38, 0.18);
}
.textarea:focus {
  border-color: var(--brown-dark);
  box-shadow: 0 0 0 3px rgba(107, 66, 38, 0.1);
}

/* Form question heading */
.form-question {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  color: var(--brown-dark);
  text-align: center;
  line-height: 1.3;
  margin: 0 auto 0.25rem;
  max-width: 26ch;
  letter-spacing: 0em;
}

/* Attending choice (3 options) */
.choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.choice.choice-stack {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (max-width: 560px) {
  .choice {
    grid-template-columns: 1fr;
  }
}

/* Two distinct button-cards (used for O persoană/Familia, Nu/Da însoțit) */
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.toggle-option {
  position: relative;
  text-align: center;
  padding: 0.85rem 0.6rem;
  border-radius: 6px;
  border: 1.5px solid rgba(107, 66, 38, 0.3);
  box-shadow: 0 1px 2px rgba(59, 35, 20, 0.05);
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--brown-dark);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}
.toggle-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle-option:hover:not(.is-selected) {
  border-color: var(--brown-dark);
  background: var(--ivory-warm);
  color: var(--brown-dark);
}
.toggle-option:active {
  transform: scale(0.98);
}
.toggle-option.is-selected {
  background: var(--brown-dark);
  color: var(--ivory);
  border-color: var(--brown-dark);
  box-shadow: 0 2px 8px rgba(59, 35, 20, 0.2);
}

.choice-card {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding: 1.15rem 1rem;
  background: var(--ivory-warm);
  border-radius: 4px;
  border: 1px solid rgba(107, 66, 38, 0.14);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.choice-card:hover {
  border-color: rgba(107, 66, 38, 0.5);
  transform: translateY(-1px);
}
.choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card .c-title {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--brown-dark);
}
.choice-card.is-selected .c-title,
.choice-card.is-selected .c-sub {
  color: var(--ivory);
}
.choice-card .c-sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.8;
}
.choice-card.is-selected {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  box-shadow:
    0 0 0 2px rgba(59, 35, 20, 0.12),
    0 8px 24px -18px rgba(59, 35, 20, 0.25);
}
.choice-card.is-selected .c-title::before,
.choice-card.is-selected .c-title::after {
  content: "·";
  color: var(--ivory);
  font-size: 1.3em;
  vertical-align: middle;
  margin: 0 0.5em;
  opacity: 0.7;
}

/* Steppers */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 460px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: var(--ivory-warm);
  border: 1px solid rgba(107, 66, 38, 0.18);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.stepper:focus-within {
  border-color: var(--brown-dark);
  box-shadow: 0 0 0 2px rgba(59, 35, 20, 0.12);
}
.step-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  cursor: pointer;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.step-btn:hover:not(:disabled) {
  background: rgba(107, 66, 38, 0.08);
  color: var(--brown-dark);
}
.step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.stepper input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown-dark);
  height: 52px;
  width: 100%;
  outline: none;
}
.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Collapsible */
.collapsible {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.55s ease;
  opacity: 0;
}
.collapsible > .collapsible-inner {
  overflow: hidden;
  min-height: 0;
}
.collapsible.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.collapsible-inner-pad {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

/* Submit */
.submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--brown-dark);
  padding: 1.1rem 1.5rem;
  border-radius: 3px;
  position: relative;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow:
    0 12px 28px -18px rgba(59, 35, 20, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.submit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--ivory);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    top 0.3s ease;
}
.submit:hover:not(:disabled) {
  background: #2c1a0e;
}
.submit:hover:not(:disabled)::before {
  opacity: 0.55;
  top: 0.75rem;
}
.submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  border-top-color: var(--ivory);
  animation: spin 0.9s linear infinite;
  display: none;
}
.submit.is-loading .spinner {
  display: inline-block;
}
.submit.is-loading .submit-label {
  opacity: 0.55;
}

.error-banner {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(194, 112, 62, 0.1);
  border-left: 2px solid var(--terracotta);
  padding: 0.9rem 1rem;
  border-radius: 3px;
  color: var(--brown-dark);
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.98rem;
}
.error-banner.is-visible {
  display: flex;
}
.error-banner .e-icon {
  color: var(--terracotta);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.2;
}

.field-error {
  color: var(--terracotta);
  font-size: 0.8rem;
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0em;
  display: none;
}
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .stepper {
  border-bottom-color: var(--terracotta);
  border-color: rgba(194, 112, 62, 0.6);
}
.field.has-error .field-error {
  display: block;
}

/* ========== Thank-you states ========== */
.thanks {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  position: relative;
}
.thanks .sigil {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 1.25rem;
  display: inline-block;
  opacity: 0.7;
  animation: fadeUp 1s 0.1s both;
}
.thanks .t-lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 10vw, 5rem);
  line-height: 1.25;
  color: var(--brown-dark);
  margin: 0 auto;
  max-width: 14ch;
  animation: fadeUp 1.1s 0.25s both;
}
.thanks .t-body {
  margin-top: 1.25rem;
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--brown);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 1s 0.45s both;
}
.thanks .t-footer {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.7;
  animation: fadeUp 1s 0.8s both;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}
.thanks .t-footer-names,
.thanks .t-footer-date {
  display: block;
}
.thanks .t-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--brown);
  opacity: 0.3;
  margin: clamp(1.75rem, 4vw, 2.25rem) auto 0;
  animation: fadeIn 1.2s 0.7s both;
}

.thanks.attending .t-lead {
  color: var(--brown-dark);
}
.thanks.declined .t-lead {
  color: #7a3e1e;
}

.t-emoji {
  display: inline-block;
  margin-left: 0.15em;
  font-weight: normal;
}

/* Floating particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 232, 180, 0.92),
    rgba(201, 168, 76, 0.5) 55%,
    rgba(201, 168, 76, 0) 75%
  );
  filter: blur(0.2px);
  opacity: 0;
  animation-name: drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  50% {
    transform: translate(var(--dx1), -50vh) scale(1);
    opacity: 0.85;
  }
  88% {
    opacity: 0.7;
  }
  100% {
    transform: translate(var(--dx2), -105vh) scale(0.5);
    opacity: 0;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}

@keyframes fadeInMonogram {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.07;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particle {
    display: none;
  }
}

@media (max-width: 420px) {
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card {
    border-radius: 4px;
  }
}

