/* Munchkins Grand Opening Banner 1.0.0 */
.mgo-banner {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 2rem);
  max-width: 1100px;
  margin: 1.25rem auto 2rem;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 210, 63, .35) 0, rgba(255, 210, 63, 0) 38%),
    radial-gradient(circle at 88% 80%, rgba(32, 220, 200, .35) 0, rgba(32, 220, 200, 0) 40%),
    linear-gradient(120deg, #d61f9b 0%, #ff4fd8 30%, #8a3ff0 65%, #0f9e9e 100%);
  box-shadow: 0 10px 30px rgba(138, 63, 240, .25), inset 0 0 0 4px rgba(255, 210, 63, .85);
  isolation: isolate;
}
.mgo-banner *, .mgo-banner *::before, .mgo-banner *::after { box-sizing: border-box; }
.mgo-inner { position: relative; z-index: 2; }
.mgo-banner p { margin: 0; }
.mgo-kicker {
  display: inline-block;
  margin: 0 0 .6rem !important;
  padding: .3em 1em;
  border-radius: 999px;
  background: #ffd23f;
  color: #4a1460;
  font-weight: 800;
  font-size: clamp(.85rem, 2.2vw, 1.05rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #e0a800;
}
.mgo-banner .mgo-title {
  margin: 0 0 .45rem;
  padding: 0;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.75rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(74, 20, 96, .45), 0 0 18px rgba(255, 255, 255, .35);
  word-wrap: break-word;
}
.mgo-sub {
  margin: 0 auto 1.25rem !important;
  max-width: 40em;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(74, 20, 96, .5);
}
.mgo-banner .mgo-btn {
  display: inline-block;
  min-height: 44px;
  padding: .75em 2em;
  border-radius: 999px;
  background: #ffd23f;
  color: #4a1460;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #e0a800, 0 8px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mgo-banner .mgo-btn:hover, .mgo-banner .mgo-btn:focus {
  color: #4a1460;
  background: #ffe073;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #e0a800, 0 10px 22px rgba(0, 0, 0, .2);
  text-decoration: none;
}
.mgo-banner .mgo-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mgo-preview-tag {
  display: inline-block;
  margin: 0 0 .75rem !important;
  padding: .2em .8em;
  border-radius: 6px;
  background: rgba(0, 0, 0, .45);
  font-size: .8rem;
  font-weight: 700;
}

/* Sparkles: four-point stars that twinkle */
.mgo-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mgo-sparkle {
  position: absolute;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  background: #fff6c2;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 230, 120, .95));
  opacity: 0;
  animation: mgo-twinkle 2.6s ease-in-out infinite;
}
.mgo-sparkle--s { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.mgo-sparkle--m { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: #fff; }
.mgo-sparkle--l { width: 24px; height: 24px; margin: -12px 0 0 -12px; background: #ffd23f; }
@keyframes mgo-twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}
@media (max-width: 600px) {
  .mgo-banner { width: calc(100% - 1.5rem); margin: .75rem auto 1.5rem; border-radius: 16px; }
  .mgo-sparkle--l { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
}

/* Confetti canvas (created by JS, removed when done) */
.mgo-confetti {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99999;
}

@media (prefers-reduced-motion: reduce) {
  .mgo-sparkle { animation: none; opacity: .85; transform: none; }
  .mgo-banner .mgo-btn { transition: none; }
  .mgo-banner .mgo-btn:hover, .mgo-banner .mgo-btn:focus { transform: none; }
}
