@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&display=swap');

:root {
  --orange: #f4801d;
  --orange-dark: #e8630a;
  --yellow: #ffd400;
  --yellow-light: #fff3c4;
  --yellow-pale: #fffaf0;
  --teal: #1fbfae;
  --purple: #8b4fe0;
  --pink: #ff6fa0;
  --green: #8dc63f;
  --cream: #fffaf0;
  --text: #4a3a1c;
  --text-dark: #2e2410;
  --white: #ffffff;
  --shadow: 0 8px 20px rgba(180, 120, 20, 0.18);
  --radius-lg: 32px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- decorative dot background ---------- */
.dotted-bg {
  background-image: radial-gradient(var(--yellow) 2.5px, transparent 2.6px);
  background-size: 26px 26px;
  background-position: 0 0;
}

/* ---------- floating decorations ---------- */
.floaters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floaters span {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.55;
  animation: floatUpDown 6s ease-in-out infinite;
}

.floaters span:nth-child(1) { top: 8%; left: 6%; width: 26px; height: 26px; background: var(--pink); animation-duration: 5.5s; }
.floaters span:nth-child(2) { top: 20%; left: 88%; width: 18px; height: 18px; background: var(--teal); animation-duration: 6.5s; animation-delay: .4s; }
.floaters span:nth-child(3) { top: 65%; left: 4%; width: 20px; height: 20px; background: var(--purple); animation-duration: 7s; animation-delay: .8s; }
.floaters span:nth-child(4) { top: 78%; left: 92%; width: 24px; height: 24px; background: var(--orange); animation-duration: 5.8s; animation-delay: .2s; }
.floaters span:nth-child(5) { top: 40%; left: 50%; width: 14px; height: 14px; background: var(--yellow); animation-duration: 4.8s; animation-delay: .6s; }
.floaters span:nth-child(6) { top: 12%; left: 45%; width: 16px; height: 16px; background: var(--pink); animation-duration: 6.2s; animation-delay: 1s; }

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(15deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes logoWiggle {
  0%, 70% { rotate: 0deg; }
  75% { rotate: -10deg; }
  80% { rotate: 10deg; }
  85% { rotate: -8deg; }
  90% { rotate: 6deg; }
  95% { rotate: -3deg; }
  100% { rotate: 0deg; }
}

@keyframes badgeFloat {
  0% { translate: 0 0; rotate: 0deg; }
  12% { translate: 0 -10px; rotate: -6deg; }
  24% { translate: 0 0; rotate: 6deg; }
  36% { translate: 0 -9px; rotate: -4deg; }
  50% { translate: 0 0; rotate: 0deg; }
  65% { translate: 0 0; rotate: 0deg; }
  85% { translate: 0 -6px; rotate: 360deg; }
  100% { translate: 0 0; rotate: 360deg; }
}

@keyframes bounceIn {
  0% { transform: scale(0.4) translateY(40px); opacity: 0; }
  60% { transform: scale(1.06) translateY(-6px); opacity: 1; }
  80% { transform: scale(0.97) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 128, 29, 0.55), var(--shadow); }
  50% { box-shadow: 0 0 0 14px rgba(244, 128, 29, 0), var(--shadow); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shine {
  0% { transform: translateX(-120%) rotate(20deg); }
  100% { transform: translateX(220%) rotate(20deg); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-pop {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-pop.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ================= HEADER / HERO ================= */
.hero {
  position: relative;
  padding: 0 0 34px;
  background-color: var(--yellow-light);
  background-image:
    repeating-linear-gradient(90deg, rgba(244, 165, 40, 0.16) 0 46px, transparent 46px 92px),
    repeating-linear-gradient(0deg, rgba(244, 165, 40, 0.16) 0 46px, transparent 46px 92px),
    linear-gradient(180deg, #ffedbf 0%, var(--yellow-light) 100%);
  overflow: hidden;
}

/* ---- collage (matches the original flyer layout) ---- */
.hero__collage {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 2481 / 1500;
}

.hero__el {
  position: absolute;
  width: auto;
  height: auto;
}

.hero__logo {
  left: 21%;
  top: 1%;
  width: 53%;
  z-index: 3;
  transform-origin: center;
  animation: bounceIn 1s cubic-bezier(0.22, 1, 0.36, 1) both, logoWiggle 9s ease-in-out infinite;
}

.hero__badge {
  left: 1%;
  top: 4%;
  width: 16%;
  z-index: 5;
  transform-origin: center;
  animation: popIn 0.8s 0.4s both, badgeFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 10px rgba(120, 80, 10, 0.25));
}

.hero__catch {
  left: 80%;
  top: 1%;
  width: 19%;
  z-index: 4;
  animation: popIn 0.9s 0.6s both, wiggle 5s ease-in-out infinite;
}

.hero__kids {
  left: 68%;
  top: 15%;
  width: 31%;
  z-index: 4;
  animation: bob 4.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 16px rgba(120, 80, 10, 0.3));
}

.hero__photo1 {
  left: -2%;
  top: 53%;
  width: 30%;
  z-index: 2;
  animation: bob 5.5s ease-in-out infinite .3s;
}

.hero__date {
  left: 30%;
  top: 64%;
  width: 34%;
  z-index: 3;
}

.hero__timeplace {
  left: 66%;
  top: 61%;
  width: 32%;
  z-index: 3;
}

.hero__ctas {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.hero__ctas .btn {
  min-width: 280px;
}

@media (max-width: 860px) {
  .hero { padding-bottom: 26px; }

  .hero__collage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px 0;
  }

  .hero__el {
    position: static;
    width: auto;
    margin: 0 auto;
  }

  .hero__badge {
    order: 1;
    position: relative;
    left: 0;
    top: 0;
    z-index: 5;
    width: 92px;
    align-self: flex-start;
    margin: 0 0 -46px 4%;
  }

  .hero__logo {
    order: 2;
    position: relative;
    left: 0;
    top: 0;
    z-index: 1;
    width: min(92%, 460px);
  }

  .hero__kids { order: 3; width: min(78%, 320px); margin-top: 6px; }

  .hero__catch { order: 4; width: min(70%, 300px); margin-top: -6px; }

  .hero__photo1 { display: none; }

  .hero__date { order: 5; width: min(85%, 340px); margin-top: 10px; }

  .hero__timeplace { order: 6; width: min(85%, 320px); margin-top: 6px; }
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  border-radius: 999px;
  padding: 16px 26px;
  font-size: 1.05rem;
  border: 3px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulseGlow 2.6s ease-in-out infinite;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.5);
  animation: shine 3.2s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff9d3d 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--stage {
  background: linear-gradient(135deg, var(--purple) 0%, #b07dfa 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn small {
  display: block;
  font-weight: 500;
  font-size: 0.72em;
  opacity: 0.9;
}

/* ================= SECTIONS ================= */
section {
  position: relative;
  padding: 56px 0;
}
#combinations {
    padding-bottom: 0;
}
.section-title {
  text-align: center;
  font-weight: 900;
  color: var(--orange-dark);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin: 0 0 26px;
}

.media-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-block img {
  width: 100%;
}

.bg-cream { background: var(--cream); }
.bg-yellow-soft {
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--cream) 100%);
}
.bg-white { background: var(--white); }

/* apply CTA blocks (placed after combinations / stageevent) */
.apply-block {
  text-align: center;
  margin-top: 34px;
  padding: 30px 5px 6px;
}

.apply-block__note {
  display: inline-block;
  background: var(--yellow);
  color: var(--text-dark);
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.apply-block .btn {
  min-width: 300px;
}

.apply-block__caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #8a6a2f;
}
.linkbt.flex {
    display: flex;
    justify-content: center;
    gap: 20px;
}
/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(180deg, #ffe58a 0%, #ffcf4d 100%);
  padding: 40px 0 110px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-dark);
  line-height: 1.9;
}
.site-footer p {
    text-align: left;font-size: 0.8rem;
} 
.site-footer .footer-logo {
  max-width: 220px;
  margin: 0 auto 18px;
}

.site-footer a {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: underline;
}

.site-footer .footer-note {
  display: inline-block;
  margin-top: 14px;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
}

/* ================= STICKY CTA BAR ================= */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 -6px 18px rgba(120, 80, 10, 0.18);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-cta .btn {
  flex: 1;
  padding: 13px 10px;
  font-size: 0.86rem;
  animation: none;
}

.sticky-cta .btn small {
  font-size: 0.68em;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__photo img {
    max-width: 320px;
  }
}

@media (min-width: 861px) {
  .sticky-cta {
    justify-content: center;
    padding: 14px 20px;
  }
  .sticky-cta .btn {
    flex: none;
    min-width: 260px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .apply-block .btn { min-width: 0; width: 100%; }
  section { padding: 42px 0; }
}
