/* 喵喵电竞 · 2026 中秋融合版开场 */
.ma-intro, .ma-intro * { box-sizing: border-box; }
.ma-intro {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(48px, 7vh, 72px) 12px 12px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #1b173d 0%, #2b2552 48%, #62425d 100%);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility .42s ease;
}
.ma-intro.ma-show { opacity: 1; visibility: visible; pointer-events: auto; }
.ma-intro.ma-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.ma-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.ma-stars, .ma-petals { position: absolute; inset: 0; }
.ma-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff2ae;
  box-shadow: 0 0 9px rgba(255, 239, 159, .95);
  opacity: .28;
  animation: ma-twinkle 1.9s ease-in-out infinite;
}
.ma-petal {
  position: absolute;
  top: -8%;
  left: var(--x, 50%);
  width: 8px;
  height: 12px;
  border-radius: 70% 30% 65% 35%;
  background: #ffd6e5;
  opacity: .48;
  animation: ma-petal-fall var(--dur, 8s) linear var(--delay, 0s) infinite;
}
.ma-video-stage {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(96vw, max(210px, calc(100vh - 300px)), 920px);
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
}
.ma-video-stage::before {
  content: "";
  position: absolute;
  inset: -7%;
  background: url("assets/midautumn/meow-midautumn-poster.jpg?v=online203") center 56% / cover no-repeat;
  filter: blur(30px) brightness(.5) saturate(.8);
  transform: scale(1.18);
  opacity: .68;
}
.ma-video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 54%, transparent 31%, rgba(24, 20, 60, .08) 62%, rgba(24, 20, 60, .5) 100%),
    linear-gradient(180deg, rgba(28, 24, 62, .02), rgba(28, 24, 62, .04) 56%, rgba(28, 24, 62, .44));
}
.ma-video-stage video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  opacity: .99;
  -webkit-mask-image: radial-gradient(ellipse at 50% 54%, #000 70%, rgba(0,0,0,.78) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 54%, #000 70%, rgba(0,0,0,.78) 88%, transparent 100%);
}
.ma-blessing {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  width: min(600px, calc(100% - 30px));
  padding: 18px 22px 16px;
  text-align: center;
  color: #493c58;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .92), transparent 30%),
    linear-gradient(145deg, #fffefb 0%, #fff3f8 58%, #fff0c7 100%);
  border: 3px solid #493c58;
  border-radius: 28px;
  box-shadow: 0 8px 0 rgba(73, 60, 88, .16), 0 18px 40px rgba(10, 8, 30, .34);
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  transition: opacity .76s cubic-bezier(.22,.8,.23,1), transform .76s cubic-bezier(.22,.8,.23,1);
}
.ma-blessing::before {
  content: "🐾";
  position: absolute;
  left: 20px;
  top: -20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid #fffdf7;
  border-radius: 50%;
  background: #ffd874;
  box-shadow: 0 5px 14px rgba(27, 18, 54, .26);
  transform: rotate(-9deg);
  font-size: 16px;
}
.ma-blessing::after {
  content: "✦";
  position: absolute;
  right: 22px;
  top: -17px;
  z-index: 1;
  color: #ffd874;
  font-size: 30px;
  text-shadow: 0 0 16px rgba(255, 216, 116, .82);
}
.ma-blessing > * { position: relative; z-index: 2; }
.ma-intro.ma-show.ma-blessing-visible .ma-blessing { opacity: 1; transform: translateY(0) scale(1); }
.ma-kicker { display: inline-block; margin: -34px 0 8px; padding: 5px 12px; border: 2px solid #493c58; border-radius: 999px; background: #dff8ef; color: #493c58; font-size: 9px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 3px 0 rgba(73,60,88,.12); }
.ma-blessing h2 { margin: 0; font-size: 18px; letter-spacing: .05em; color: #493c58; }
.ma-blessing h2::before { content: "🐱 "; }
.ma-blessing strong { display: block; margin-top: 2px; color: #d65f83; font-size: clamp(32px, 5.4vw, 50px); letter-spacing: .05em; text-shadow: 0 3px 0 rgba(255, 255, 255, .8); }

.ma-blessing-copy { margin: 7px 0 12px; color: #806f89; font-size: 10px; font-weight: 800; }
.ma-enter {
  position: relative;
  z-index: 7;
  pointer-events: auto;
  padding: 10px 18px;
  border: 2px solid #493c58;
  border-radius: 999px;
  background: #ffd874;
  color: #493c58;
  font: 900 11px "Microsoft YaHei", "PingFang SC", sans-serif;
  box-shadow: 0 4px 0 rgba(73, 60, 88, .14), 0 6px 18px rgba(10, 8, 30, .3);
  cursor: pointer;
}
.ma-enter:hover { transform: translateY(-1px); }
.ma-skip, .ma-sound {
  position: absolute;
  top: 17px;
  z-index: 15;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(31, 25, 65, .26);
  color: #fff;
  font: 900 10px "Microsoft YaHei", "PingFang SC", sans-serif;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.ma-skip { right: 16px; }
.ma-sound { left: 16px; }
.ma-skip:hover, .ma-sound:hover { background: rgba(31, 25, 65, .54); }
@keyframes ma-twinkle { 0%, 100% { opacity: .2; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes ma-petal-fall { 0% { transform: translate3d(0, -10vh, 0) rotate(0); } 100% { transform: translate3d(42px, 112vh, 0) rotate(300deg); } }
@keyframes ma-blessing-in { 0% { opacity: 0; transform: translateY(20px) scale(.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 720px) {
  .ma-video-stage { width: min(98vw, max(190px, calc(100vh - 245px)), 700px); }
  .ma-video-stage video { object-position: center 54%; mask-image: radial-gradient(ellipse at 50% 54%, #000 68%, rgba(0,0,0,.8) 86%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse at 50% 54%, #000 68%, rgba(0,0,0,.8) 86%, transparent 100%); }
  .ma-blessing { width: calc(100% - 20px); padding: 15px 13px 12px; border-radius: 22px; }
  .ma-kicker { margin-top: -30px; padding: 4px 9px; font-size: 8px; }
  .ma-blessing h2 { font-size: 15px; }
  .ma-blessing strong { font-size: clamp(27px, 9vw, 38px); }
  .ma-blessing-copy { margin: 5px 0 9px; font-size: 9px; }
  .ma-enter { padding: 9px 14px; font-size: 10px; }
  .ma-skip, .ma-sound { top: 10px; padding: 7px 10px; font-size: 9px; }
  .ma-skip { right: 9px; }
  .ma-sound { left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ma-intro, .ma-intro * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ma-intro.ma-show.ma-blessing-visible .ma-blessing { opacity: 1; transform: none; }
}








