* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #d7f0ff;
}
.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;
}
.screen {
  display: none;
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.screen.pc { display: block; }
.frame {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, calc(100dvh * var(--aw) / var(--ah)));
  aspect-ratio: var(--aw) / var(--ah);
}
.stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
}
.layer {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
img.layer { pointer-events: none; }
a.layer { cursor: pointer; }
a.layer img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: sweep 1.8s ease .35s both;
}
.fx-bg {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade .8s ease both, ken 18s ease-in-out 1s infinite alternate;
  transform-origin: center center;
}
.fx-person {
  animation: fade .9s ease .1s both, float 5.5s ease-in-out 1s infinite;
}
.fx-pop {
  animation: rise .7s ease var(--d, .3s) both;
}
.fx-logo {
  animation: rise .7s ease .45s both, glow 3.2s ease-in-out 1.2s infinite;
}
.fx-cta {
  animation: rise .7s ease .8s both, pulse 2.4s ease-in-out 1.5s infinite;
  overflow: hidden;
}
.fx-cta-soft { animation-delay: .95s, 1.8s; }
.fx-cta::after {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 999px;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-140%);
  animation: shine 2.8s ease-in-out 1.6s infinite;
  pointer-events: none;
}
.fx-cta:hover,
.fx-cta:focus-visible {
  animation-play-state: paused;
  transform: scale(1.045);
  filter: brightness(1.08);
}
.fx-wave {
  animation: flow 7s ease-in-out infinite alternate;
}
.fx-wave-alt { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(0, 140, 255, 0)); }
  50% { filter: drop-shadow(0 8px 16px rgba(0, 140, 255, .35)); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.028); }
}
@keyframes shine {
  0%, 55% { transform: translateX(-140%); }
  100% { transform: translateX(140%); }
}
@keyframes sweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@keyframes flow {
  from { transform: translateX(0); }
  to { transform: translateX(-2.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .stage::after,
  .fx-bg, .fx-person, .fx-pop, .fx-logo, .fx-cta, .fx-cta::after, .fx-wave {
    animation: none;
  }
}
@media (max-width: 799px) {
  .screen.pc { display: none; }
  .screen.mb { display: block; }
}
