@font-face {
  font-family: "Swanky and Moo Moo";
  src: url("swanky-and-moo-moo.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bimbo";
  src: url("bimbo.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eskal";
  src: url("ofont.ru_Eskal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Festus";
  src: url("ofont.ru_Festus.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffe14a;
  --yellow-deep: #ffc107;
  --orange: #ff7a1a;
  --orange-hot: #ff5c00;
  --red: #e6392b;
  --red-deep: #c1121f;
  --ink: #2a1108;
  --ink-soft: #5c3318;
  --page: #ff8a1c;
  --paper: #ff8a1c;
  --paper-2: #ffe9c2;
  --cream: #fff8ee;
  --font: "Swanky and Moo Moo", "Nunito", cursive;
  --font-body: "Festus", "Nunito", sans-serif;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background-color: var(--page);
  background-image:
    radial-gradient(circle at 8% 32%, #fffde7 0 6px, #ffe14a 9px, transparent 30px),
    radial-gradient(circle at 4% 22%, #fff0f5 0 10px, #ff9eb5 22px, transparent 70px),
    radial-gradient(circle at 92% 36%, #fff59d 0 14px, #ffd54f 26px, transparent 110px),
    radial-gradient(circle at 78% 40%, #ffe0ec 0 24px, #ff9ec4 48px, transparent 130px),
    radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.85) 0 8px, #ffe082 16px, transparent 70px),
    radial-gradient(circle at 22% 52%, #ffec80 0 22px, transparent 100px),
    radial-gradient(circle at 78% 58%, #fff176 0 16px, #ffca28 30px, transparent 120px),
    radial-gradient(circle at 12% 68%, #ffe14a 0 20px, transparent 95px),
    radial-gradient(circle at 86% 72%, #ff8a80 0 12px, #ff5252 22px, transparent 80px),
    radial-gradient(circle at 90% 64%, #ffe0ec 0 28px, #ff9ec4 52px, transparent 140px),
    radial-gradient(circle at 38% 78%, #fff59d 0 18px, transparent 88px),
    radial-gradient(circle at 64% 84%, #ffd740 0 24px, transparent 110px),
    radial-gradient(circle at 18% 90%, #fff8e1 0 10px, #ffe14a 20px, transparent 75px),
    radial-gradient(circle at 96% 92%, #ffab40 0 16px, transparent 85px),
    radial-gradient(700px 380px at 10% 100%, rgba(255, 225, 74, 0.55), transparent 55%),
    radial-gradient(640px 340px at 95% 100%, rgba(230, 57, 43, 0.32), transparent 50%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(1px);
}

body::before {
  width: 180px;
  height: 180px;
  left: 6%;
  top: 42%;
  background: radial-gradient(circle, #fffce8 0%, #ffe14a 38%, transparent 70%);
  opacity: 0.85;
}

body::after {
  width: 220px;
  height: 220px;
  right: 4%;
  top: 62%;
  background: radial-gradient(circle, #fff59d 0%, #ffca28 32%, transparent 68%);
  opacity: 0.8;
}

img,
canvas {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.hero,
.page,
.site-footer {
  position: relative;
  z-index: 1;
}

.clip-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page {
  width: min(1100px, calc(100% - 48px));
  margin: -50px auto 0;
  padding: 8px 0 40px;
}

.module {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  max-width: 88%;
  box-shadow: 3px 8px 16px rgba(42, 17, 8, 0.18);
}

.module-inner {
  padding: 88px 96px 92px;
}

.module-inner > * {
  max-width: 100%;
}

.kicker {
  margin: 0 0 10px;
  font-family: "Bimbo", "Nunito", cursive;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--red-deep);
  text-align: right;
  padding-inline: 0.15em;
}

.module h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  text-align: right;
}

.lead {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--yellow), var(--orange) 55%, var(--red));
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  padding: 12px 18px;
  border-radius: 999px;
}

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

.btn-compact {
  width: auto;
  min-width: 0;
  padding: 7px 16px;
  font-size: 16px;
  justify-self: center;
}

.icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.module-left {
  margin: 10px auto 14px 0;
}

.module-right {
  margin: 10px 0 14px auto;
}

.blob-1 {
  width: min(86%, 820px);
  border-radius: 72% 38% 58% 42% / 42% 62% 38% 58%;
  transform: rotate(-1.2deg);
}

.blob-2 {
  width: min(54%, 480px);
  border-radius: 40% 68% 36% 62% / 58% 40% 60% 42%;
  transform: rotate(2.6deg);
  background: #fff4b8;
}

.blob-3 {
  width: min(80%, 760px);
  border-radius: 36% 64% 44% 70% / 60% 38% 56% 40%;
  transform: rotate(1.3deg);
}

.blob-4 {
  width: min(76%, 720px);
  border-radius: 66% 34% 70% 38% / 40% 58% 42% 62%;
  transform: rotate(-1.8deg);
  background: #ffe1d2;
}

.blob-5 {
  width: min(82%, 780px);
  border-radius: 38% 70% 42% 60% / 56% 36% 64% 44%;
  transform: rotate(1deg);
}

.blob-6 {
  width: min(78%, 740px);
  border-radius: 62% 48% 42% 58% / 38% 58% 42% 56%;
  transform: rotate(-1.5deg);
}

.blob-7 {
  width: min(58%, 520px);
  border-radius: 44% 62% 38% 58% / 52% 36% 58% 40%;
  transform: rotate(1.8deg);
  background: #ffe8f0;
}

.blob-1 .module-inner { transform: rotate(1.2deg); }
.blob-2 .module-inner { transform: rotate(-2.6deg); padding: 64px 56px 66px; }
.blob-3 .module-inner { transform: rotate(-1.3deg); }
.blob-4 .module-inner { transform: rotate(1.8deg); }
.blob-5 .module-inner { transform: rotate(-1deg); }
.blob-6 .module-inner { transform: rotate(1.5deg); padding: 88px 108px 92px 96px; }
.blob-7 .module-inner { transform: rotate(-1.8deg); padding: 72px 64px 76px; }

.concept-stack {
  position: relative;
  margin: 4px 0 28px;
}

.module-playlist {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  margin-right: 4%;
}

#dresscode {
  position: relative;
  z-index: 1;
}

.module-map {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

#drinks {
  position: relative;
  z-index: 1;
}

.module-wishlist {
  position: relative;
  z-index: 2;
  margin-top: -90px;
}

.module-wishlist .btn-compact {
  display: flex;
  margin: 10px auto 0;
}

.map-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.map-heading-text {
  text-align: right;
}

.map-heading h2 {
  margin: 0;
}

.map-heading .map-time {
  margin: 4px 0 0;
}

.map-time {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 24px;
}

.map-address {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.35;
}

.site-footer {
  text-align: center;
  padding: 8px 16px calc(48px + env(safe-area-inset-bottom));
  color: #fff8ee;
  font-family: var(--font-body);
  font-size: 22px;
}

.lang-switch {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 60;
  max-width: min(280px, calc(100vw - 24px));
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: normal;
  text-align: left;
  line-height: 1.25;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(42, 17, 8, 0.1);
  box-shadow: 0 4px 18px rgba(42, 17, 8, 0.16);
}

.lang-switch:hover {
  background: #fff;
}

.lang-flag {
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(42, 17, 8, 0.14);
}

.lang-switch-label {
  text-align: left;
  background: linear-gradient(
    120deg,
    var(--red-deep) 0%,
    var(--orange-hot) 46%,
    var(--yellow-deep) 92%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
}

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

body.is-stickers-scattered .site-footer {
  margin-top: var(--sticker-footer-gap, 0px);
}

@media (max-width: 760px) {
  .page {
    width: calc(100% - 32px);
    padding: 4px 0 28px;
  }

  .module-inner,
  .blob-1 .module-inner,
  .blob-2 .module-inner,
  .blob-3 .module-inner,
  .blob-4 .module-inner,
  .blob-5 .module-inner,
  .blob-6 .module-inner,
  .blob-7 .module-inner {
    transform: none;
    padding: 72px 52px 76px;
  }

  .module-left,
  .module-right {
    margin-top: 8px;
    margin-bottom: 10px;
  }

  .blob-1,
  .blob-3,
  .blob-5 {
    width: min(92%, 640px);
    max-width: 92%;
    margin-left: 0;
    margin-right: auto;
  }

  .blob-2,
  .blob-4,
  .blob-6,
  .blob-7 {
    width: min(90%, 640px);
    max-width: 90%;
    margin-left: auto;
    margin-right: 0;
  }

  .blob-1 { transform: rotate(-0.6deg); }
  .blob-2 { transform: rotate(1.4deg); }
  .blob-3 { transform: rotate(0.7deg); }
  .blob-4 { transform: rotate(-0.9deg); }
  .blob-5 { transform: rotate(0.5deg); }
  .blob-6 { transform: rotate(-0.8deg); }
  .blob-7 { transform: rotate(0.9deg); }

  .module-playlist {
    margin-top: -28px;
    margin-right: 0;
    width: min(86%, 360px);
    max-width: 86%;
  }

  .module-map {
    margin-top: -56px;
  }

  .module-wishlist {
    margin-top: -48px;
  }

  .lead {
    font-size: 18px;
  }

  .kicker {
    font-size: 26px;
  }

  .btn {
    width: 100%;
    min-height: 44px;
  }

  .btn-compact,
  .map-heading .btn {
    width: auto;
    min-height: 44px;
  }
}
