:root {
  --page-bg: #f6e7ec;
  --page-bg-deep: #f2dee6;
  --text-color: #5b5256;
  --chip-cream: #fff5e9;
  --chip-rose: #e7b9c7;
  --chip-text: #7d5563;
  --card-white: #fffcf8;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Serif Devanagari", serif;
  color: var(--text-color);
  background: linear-gradient(155deg, var(--page-bg) 0%, var(--page-bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      12deg,
      rgba(255, 255, 255, 0.14) 0 1px,
      rgba(0, 0, 0, 0.02) 1px 3px,
      rgba(255, 255, 255, 0.08) 3px 5px
    ),
    repeating-linear-gradient(
      103deg,
      rgba(255, 255, 255, 0.12) 0 1px,
      rgba(170, 132, 149, 0.035) 1px 4px,
      rgba(255, 255, 255, 0.05) 4px 7px
    ),
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 76% 68%, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0) 48%);
  opacity: 0.34;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1780px, calc(100% - 24px));
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 4px 0 20px;
  border: 1px solid rgba(183, 142, 158, 0.28);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.35);
}

.top-menu {
  width: min(560px, calc(100% - 74px));
  margin: 20px auto 10px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
}

.top-menu a {
  color: var(--chip-text);
  text-decoration: none;
  letter-spacing: 0.8px;
  font-size: clamp(2rem, 2.55vw, 3.05rem);
  font-family: "Poppins", sans-serif;
  padding: 12px 24px;
  width: 100%;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(208, 163, 179, 0.6);
  background: linear-gradient(135deg, var(--chip-cream), #ffe8f0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 16px rgba(176, 121, 143, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-menu a:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(176, 121, 143, 0.2);
}

.content-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: min(1080px, calc(100% - 74px));
  margin: 0 auto 14px;
}

.letter-card {
  order: 2;
  margin: 0;
  width: min(100%, 760px);
  max-width: 760px;
  padding: clamp(34px, 2.9vw, 52px);
  font-size: clamp(2.6rem, 1.95vw, 3.35rem);
  line-height: 1.3;
  background: var(--card-white);
  border: 1px solid rgba(232, 214, 204, 0.75);
  box-shadow:
    0 12px 26px rgba(155, 112, 129, 0.18),
    0 2px 6px rgba(155, 112, 129, 0.1);
}

.bouquet-wrap {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bouquet {
  width: min(100%, 840px);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
}

@media (max-width: 1024px) {
  .content-wrap {
    gap: 20px;
    width: calc(100% - 24px);
  }

  .bouquet {
    width: min(100%, 680px);
  }

  .top-menu {
    width: min(520px, calc(100% - 24px));
    min-height: 76px;
    margin: 10px auto 10px;
  }
}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 10px);
    margin: 10px auto;
    padding: 0 0 14px;
  }

  .top-menu {
    width: min(380px, calc(100% - 14px));
    margin: 10px auto 8px;
    min-height: 58px;
    gap: 10px;
  }

  .top-menu a {
    font-size: clamp(1.24rem, 6.1vw, 1.7rem);
    padding: 10px 14px;
  }

  .content-wrap {
    width: calc(100% - 16px);
    gap: 14px;
    margin-bottom: 10px;
  }

  .letter-card {
    max-width: none;
    font-size: clamp(1.45rem, 5.8vw, 1.8rem);
    padding: 20px;
  }
}
