/* =============================================================
   Grand Opening — 3 Little Penguins Day Care
   grand-opening.css  |  extends style.css
   ============================================================= */

/* ---------------------------------------------------------------
   1. SPLASH SCREEN
--------------------------------------------------------------- */
.go-splash {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #7B5EA7 0%, #c45a8a 50%, #FF8FAB 100%);
  position: relative;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   2. CONFETTI PARTICLES
--------------------------------------------------------------- */
.confetti-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  opacity: 1;
  animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---------------------------------------------------------------
   3. LOGO ON SPLASH
--------------------------------------------------------------- */
.go-logo {
  width: 220px;
  max-width: 65vw;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  z-index: 1;
  position: relative;
  animation: bounce-in 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------
   4. SPLASH TEXT
--------------------------------------------------------------- */
.go-splash-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  z-index: 1;
  position: relative;
  margin: 0;
  animation: fade-up 0.9s ease 0.3s both;
}

.go-splash-sub {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  z-index: 1;
  position: relative;
  margin: 0;
  animation: fade-up 0.9s ease 0.5s both;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------
   5. LANGUAGE BUTTONS
--------------------------------------------------------------- */
.go-lang-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
  animation: fade-up 0.9s ease 0.7s both;
}

.go-lang-btn {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.go-lang-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------------------------
   6. LANG HINT
--------------------------------------------------------------- */
.go-lang-hint {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
  position: relative;
  text-align: center;
  animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* ---------------------------------------------------------------
   7. FORM PAGE
--------------------------------------------------------------- */
.go-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #7B5EA7 0%, #9d6db5 40%, #f9f6ff 100%);
  padding-bottom: 3rem;
}

/* ---------------------------------------------------------------
   8. MARQUEE BANNER
--------------------------------------------------------------- */
.go-marquee-wrap {
  background: linear-gradient(90deg, #FF8FAB, #FFD166, #06D6A0, #FF8FAB);
  background-size: 300% 100%;
  animation: gradient-shift 4s linear infinite;
  overflow: hidden;
  width: 100%;
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.go-marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.go-marquee-inner span {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: #ffffff;
  padding: 0 2rem;
  display: inline-block;
  line-height: 2.4rem;
}

/* ---------------------------------------------------------------
   9. FORM HEADER
--------------------------------------------------------------- */
.go-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.go-header-logo {
  width: 160px;
  max-width: 50vw;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.go-header-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  margin: 0 0 0.35rem;
}

.go-header-date {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ---------------------------------------------------------------
   10. FORM CARD
--------------------------------------------------------------- */
.go-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(123, 94, 167, 0.25);
  padding: 2rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
  position: relative;
}

/* ---------------------------------------------------------------
   11. SURPRISE BADGE
--------------------------------------------------------------- */
.go-surprise-badge {
  background: linear-gradient(135deg, #FFD166, #FF9F1C);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5c3a00;
  box-shadow: 0 4px 16px rgba(255, 159, 28, 0.35);
  display: inline-block;
  margin-bottom: 1rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

.go-surprise-badge .remaining {
  font-size: 0.78rem;
  color: #7a4500;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(255, 159, 28, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(255, 159, 28, 0.55);
  }
}

/* ---------------------------------------------------------------
   12. FLOATING PENGUIN
--------------------------------------------------------------- */
.go-penguin {
  position: absolute;
  right: -30px;
  top: -40px;
  font-size: 4rem;
  animation: float-bob 3s ease-in-out infinite;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

@keyframes float-bob {
  0%   { transform: translateY(0) rotate(-5deg); }
  50%  { transform: translateY(-14px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

/* ---------------------------------------------------------------
   13. FORM FIELDS
--------------------------------------------------------------- */
.go-field {
  margin-bottom: 1.2rem;
}

.go-field label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5a3e8a;
  display: block;
  margin-bottom: 0.35rem;
}

.go-field input,
.go-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e8e0f5;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #2D2D2D;
  background: #fdfbff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: auto;
}

.go-field input:focus,
.go-field select:focus {
  border-color: #7B5EA7;
  box-shadow: 0 0 0 4px rgba(123, 94, 167, 0.15);
}

/* ---------------------------------------------------------------
   14. CTA SUBMIT BUTTON
--------------------------------------------------------------- */
.go-submit {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, #FF8FAB, #7B5EA7);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: #ffffff;
  cursor: pointer;
  animation: gradient-shift 3s linear infinite;
  box-shadow: 0 6px 24px rgba(123, 94, 167, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.go-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 36px rgba(123, 94, 167, 0.55);
}

.go-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* ---------------------------------------------------------------
   15. LANGUAGE SWITCH LINK
--------------------------------------------------------------- */
.go-lang-switch {
  text-align: center;
  margin-top: 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: #7B5EA7;
}

.go-lang-switch a {
  color: #7B5EA7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.go-lang-switch a:hover {
  opacity: 0.75;
}

/* ---------------------------------------------------------------
   16. THANK YOU SCREEN
--------------------------------------------------------------- */
.go-thankyou {
  min-height: 100vh;
  background: linear-gradient(135deg, #7B5EA7 0%, #c45a8a 50%, #FF8FAB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  gap: 1rem;
}

/* ---------------------------------------------------------------
   17. DANCING PENGUIN
--------------------------------------------------------------- */
.go-dancing-penguin {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
  animation: dance 0.6s ease infinite alternate;
  user-select: none;
}

@keyframes dance {
  0%   { transform: rotate(-15deg) scale(1); }
  100% { transform: rotate(15deg) scale(1.1); }
}

/* ---------------------------------------------------------------
   18. THANK YOU TEXT
--------------------------------------------------------------- */
.go-thankyou-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 6vw, 3rem);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  margin: 0;
  animation: bounce-in 0.7s both;
}

.go-thankyou-msg {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 480px;
  animation: fade-up 0.9s ease 0.3s both;
}

.go-thankyou-date {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: #FFD166;
  margin: 0;
  animation: fade-up 0.9s ease 0.5s both;
}

/* ---------------------------------------------------------------
   19. CALENDAR BUTTON
--------------------------------------------------------------- */
.go-cal-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-up 0.9s ease 0.7s both;
  transition: background 0.2s ease, transform 0.2s ease;
}

.go-cal-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

/* ---------------------------------------------------------------
   20. ALERT BOXES
--------------------------------------------------------------- */
.go-alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-width: 1px;
  border-style: solid;
}

.go-alert-error {
  background: #fde8e8;
  color: #9b2335;
  border-color: #f5c2c7;
}

.go-alert-success {
  background: #d1f7e8;
  color: #1a7a46;
  border-color: #a3e4c1;
}

/* ---------------------------------------------------------------
   21. HOMEPAGE SECTION
--------------------------------------------------------------- */
.go-home-section {
  background: linear-gradient(135deg, #3D2A6B, #5A3E8A);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.go-home-section::before,
.go-home-section::after {
  content: '🎊🎉🎈🎊🎉🎈🎊🎉🎈🎊🎉🎈🎊🎉🎈🎊🎉🎈';
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.15);
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
  line-height: 2rem;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.go-home-section::before {
  top: 0;
}

.go-home-section::after {
  bottom: 0;
}

/* ---------------------------------------------------------------
   22. HOMEPAGE SECTION TEXT
--------------------------------------------------------------- */
.go-home-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  margin: 0 0 0.5rem;
}

.go-home-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1.5rem;
}

/* ---------------------------------------------------------------
   23. COUNTDOWN
--------------------------------------------------------------- */
.go-countdown {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.go-countdown-unit {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  min-width: 72px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.go-countdown-num {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: #FFD166;
  line-height: 1;
  display: block;
}

.go-countdown-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------------
   24. HOMEPAGE CTA
--------------------------------------------------------------- */
.go-home-cta {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: linear-gradient(135deg, #FF8FAB, #FFD166);
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: #3D2A6B;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 143, 171, 0.4);
  animation: pulse-cta 2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.go-home-cta:hover {
  transform: scale(1.06);
}

@keyframes pulse-cta {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(255, 143, 171, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(255, 143, 171, 0.65);
  }
}

/* ---------------------------------------------------------------
   25. RESPONSIVE — max-width: 680px
--------------------------------------------------------------- */
@media (max-width: 680px) {
  .go-penguin {
    display: none;
  }

  .go-card {
    margin: 1rem;
    padding: 1.5rem;
  }

  .go-lang-btns {
    flex-direction: column;
    align-items: center;
  }

  .go-lang-btn {
    width: 220px;
    text-align: center;
  }
}
