* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: #e7f5ff; }
img { max-width: 100%; height: auto; display: block; }

.pc {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board {
  position: relative;
  width: 100%;
  line-height: 0;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pc .board { max-width: 1440px; }

.hot {
  position: absolute;
  left: 53.5%;
  width: 37%;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.hot-primary { top: 59.5%; height: 8%; animation: pulse 2.4s ease-in-out 0.6s infinite; }
.hot-code { top: 69%; height: 7.5%; }
.hot::after {
  content: "";
  position: absolute;
  inset: -10% -40%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-80%);
  pointer-events: none;
}
.hot-primary::after { animation: shine 3.2s ease-in-out 1s infinite; }
.hot-code::after { animation: shine 3.6s ease-in-out 1.8s infinite; }
.hot:hover,
.hot:focus-visible {
  transform: scale(1.035);
  filter: brightness(1.08);
}
.hot:active { transform: scale(0.97); }

.m { display: none; }

@media (max-width: 720px) {
  .pc { display: none; }
  .m {
    display: flex;
    justify-content: center;
    min-height: 100svh;
    background: #e7f5ff;
  }
  .m .board { max-width: 440px; }
  .m .hot { left: 8%; width: 84%; }
  .m .hot-primary { top: 67.8%; height: 7.2%; }
  .m .hot-code { top: 76.4%; height: 6.8%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes shine {
  0%, 58% { transform: translateX(-80%); }
  78% { transform: translateX(80%); }
  100% { transform: translateX(80%); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 140, 255, 0); }
  50% { box-shadow: 0 10px 26px rgba(20, 120, 255, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .board, .hot, .hot::after { animation: none; }
}
