/* Homepage hero: clearer type, spacious layout, and light game-tech motion. */
.hero {
  min-height: 615px;
  padding: clamp(76px, 5vw, 92px) 0 clamp(58px, 4vw, 76px);
  background:
    radial-gradient(ellipse at 78% 10%, rgba(8, 199, 231, .17), transparent 34%),
    radial-gradient(ellipse at 92% 78%, rgba(22, 113, 230, .10), transparent 36%),
    radial-gradient(ellipse at 4% 100%, rgba(255, 181, 22, .13), transparent 31%),
    linear-gradient(112deg, #f8fcff 0%, #edf8ff 48%, #f4fffd 100%);
}

.hero:before {
  width: 440px;
  height: 440px;
  top: -235px;
  right: 4%;
  background: radial-gradient(circle, rgba(8, 199, 231, .20), rgba(36, 123, 238, .06) 42%, transparent 71%);
}

.hero:after {
  width: 300px;
  height: 300px;
  bottom: -205px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 181, 22, .19), rgba(8, 199, 231, .08) 42%, transparent 72%);
}

.hero .wrap { width: min(1460px, calc(100% - 64px)); }
.hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(34px, 4vw, 68px); }
.hero-grid:before { inset: 3% 0 0 38%; opacity: .48; background-size: 40px 40px; }
.hero-copy { max-width: 720px; padding: 0 8px 10px 4px; }
.hero-label { gap: 10px; color: #174dcc; font-size: 11px; letter-spacing: .105em; }
.pulse { background: #08c7e7; box-shadow: 0 0 0 5px rgba(8, 199, 231, .12); }
.pulse:after { border-color: rgba(8, 199, 231, .55); }
.hero h1 {
  max-width: 720px;
  margin: 23px 0 24px;
  color: #101c4d;
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(37px, 2.45vw, 44px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.13;
  text-wrap: balance;
}
.hero-copy > p { max-width: 680px; margin-bottom: 30px; color: #53658c; font-size: 14px; line-height: 1.78; }
.hero-ctas { gap: 14px; }
.hero-ctas .btn { min-height: 54px; padding-inline: 24px; font-size: 13px; font-weight: 750; }
.hero-ctas .btn-primary { box-shadow: 0 13px 30px rgba(8, 105, 218, .22), 0 0 0 5px rgba(8, 199, 231, .06); }
.hero-ctas .btn-light { border-color: #c9dcf8; background: rgba(255, 255, 255, .9); }
.hero-ctas .btn .icon { width: 18px; height: 18px; }
.hero-points { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; max-width: 710px; margin-top: 34px; }
.hero-point { gap: 10px; color: #344769; font-size: 11px; line-height: 1.48; font-weight: 720; }
.hero-point .icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 5px;
  border-color: rgba(8, 151, 234, .32);
  color: #0879e9;
  box-shadow: 0 4px 12px rgba(16, 107, 213, .08);
}

.product-stage { min-height: 490px; margin-right: -8px; }
.product-stage:before { width: 82%; height: 82%; left: 9%; top: 9%; filter: blur(21px); background: radial-gradient(ellipse at 52% 48%, rgba(8, 199, 231, .20), rgba(22, 77, 215, .08) 47%, transparent 73%); }
.product-stage:after { width: 82%; height: 78%; left: 9%; top: 11%; border-color: rgba(8, 167, 225, .24); border-left-color: transparent; border-bottom-color: rgba(22, 77, 215, .14); }
.hero-illustration { width: min(114%, 760px); max-height: 500px; filter: drop-shadow(0 28px 34px rgba(39, 79, 147, .17)); animation: hero-art-bob 8.5s ease-in-out infinite; }
.hero-game-chip { width: 50px; height: 50px; border-radius: 17px; box-shadow: 0 14px 30px rgba(36, 81, 157, .16), inset 0 1px 0 #fff; }
.hero-game-chip .icon { width: 25px; height: 25px; }
.hero-game-chip-pad { color: #0879e9; }
.hero-game-chip-gift { color: #ef9300; }
.hero-spark { filter: drop-shadow(0 0 9px rgba(8, 151, 234, .52)); }
.hero-run-track:before { height: 2px; background: repeating-linear-gradient(90deg, rgba(8, 123, 222, .32) 0 5px, transparent 5px 11px); }
.hero-runner { filter: drop-shadow(0 8px 12px rgba(21, 102, 218, .32)); }

@keyframes hero-art-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .hero-ctas .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(8, 105, 218, .30), 0 0 0 6px rgba(8, 199, 231, .09); }
  .hero-ctas .btn-light:hover { transform: translateY(-3px); border-color: #8dc8fb; box-shadow: 0 12px 24px rgba(20, 97, 190, .10); }
  .hero-point:hover { transform: translateY(-3px); color: #075fe4; }
  .hero-point:hover .icon { transform: scale(1.08); box-shadow: 0 7px 16px rgba(16, 107, 213, .16); }
  .product-stage:hover .hero-illustration { transform: translateY(-3px) scale(1.012); filter: drop-shadow(0 33px 38px rgba(39, 79, 147, .22)); }
}

@media (max-width: 1200px) {
  .hero .wrap { width: min(1460px, calc(100% - 48px)); }
  .hero-grid { gap: 32px; }
  .hero-copy { padding-right: 0; }
  .hero h1 { font-size: clamp(36px, 3.45vw, 42px); }
  .product-stage { min-height: 440px; }
  .hero-illustration { max-height: 460px; }
  .hero-points { gap: 12px; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 60px 0 46px; }
  .hero .wrap { width: min(760px, calc(100% - 44px)); }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-grid:before { inset: 32% 0 0; }
  .hero-copy { max-width: 760px; padding: 0; }
  .hero h1 { max-width: 720px; font-size: clamp(36px, 5vw, 44px); }
  .hero-copy > p { max-width: 700px; }
  .product-stage { width: min(100%, 700px); min-height: min(56vw, 460px); margin: 0 auto; }
  .hero-illustration { width: min(100%, 700px); max-height: 460px; }
  .hero-run-track { --run-distance: min(54vw, 360px); }
}

@media (max-width: 780px) {
  .hero { padding: 48px 0 38px; }
  .hero .wrap { width: min(700px, calc(100% - 34px)); }
  .hero-grid { gap: 8px; }
  .hero-grid:before { inset: 30% 0 0; background-size: 30px 30px; }
  .hero-label { font-size: 10px; }
  .hero h1 { max-width: 660px; font-size: clamp(34px, 6vw, 42px); }
  .hero-copy > p { font-size: 13px; }
  .hero-ctas .btn { min-height: 50px; padding-inline: 19px; }
  .hero-points { margin-top: 28px; }
  .product-stage { min-height: 0; width: min(100%, 640px); margin-top: 8px; }
  .hero-illustration { width: 100%; max-height: none; }
  .hero-game-chip { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
  .hero { padding: 40px 0 32px; }
  .hero .wrap { width: calc(100% - 28px); }
  .hero h1 { margin: 17px 0 18px; font-size: clamp(30px, 8.2vw, 36px); line-height: 1.14; }
  .hero-copy > p { margin-bottom: 22px; font-size: 12.5px; line-height: 1.72; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1 1 100%; min-height: 48px; justify-content: center; }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 24px; }
  .hero-point { gap: 9px; font-size: 10.5px; }
  .hero-point .icon { width: 27px; height: 27px; flex-basis: 27px; }
  .product-stage { margin-top: 12px; }
  .hero-illustration { width: min(110%, 440px); margin-inline: auto; }
  .hero-game-chip { width: 39px; height: 39px; border-radius: 13px; }
  .hero-game-chip .icon { width: 20px; height: 20px; }
  .hero-game-chip-pad { left: 1%; top: 13%; }
  .hero-game-chip-gift { right: 2%; top: 9%; }
  .hero-run-track { --run-distance: min(58vw, 340px); left: 7%; right: 7%; bottom: 2%; }
  .hero-wheel-rotor { animation-duration: 8.5s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero:before,
  .hero:after,
  .product-stage,
  .product-stage:before,
  .product-stage:after,
  .hero-illustration,
  .hero-spark,
  .hero-game-chip,
  .hero-runner,
  .hero-runner svg,
  .hero-wheel-rotor {
    animation: none !important;
  }
  .hero *, .hero *:before, .hero *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
