:root {
  --bg: #f4f8ff;
  --primary: #0d6efd;
  --primary-deep: #004ce0;
  --text: #08142f;
  --muted: #4d5d78;
  --border: rgba(132, 156, 201, 0.18);
  --shadow: 0 28px 80px rgba(13, 110, 253, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 24%),
    radial-gradient(circle at 100% 8%, rgba(96, 165, 250, 0.14), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 32px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 243, 255, 0.76));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-bottom: 14px;
}

.hero-brand img {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.copy-track {
  position: relative;
  min-height: 390px;
}

.copy-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.copy-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.copy-panel h1 {
  max-width: 10.5ch;
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #0057ff, #0d6efd 50%, #2d94ff);
  color: #fff;
  border: 1px solid rgba(0, 71, 214, 0.95);
  box-shadow:
    0 22px 42px rgba(13, 110, 253, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0045d1, #0a63f5 55%, #1f86ff);
}

.hero-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.22);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.hero-dot.is-active {
  transform: scale(1.14);
  background: var(--primary);
}

.hero-stage {
  position: relative;
  min-height: 760px;
}

.stage-shell {
  position: relative;
  min-height: 760px;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.94), transparent 20%),
    linear-gradient(180deg, #ebf4ff, #c8ddff 58%, #afc7ec 100%);
}

.stage-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.stage-floor {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(9, 80, 216, 0.08), rgba(9, 18, 43, 0.24));
}

.stage-glow {
  position: absolute;
  top: 42px;
  right: 36px;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 64%);
}

.player-card {
  position: absolute;
  right: 32px;
  bottom: 20px;
  z-index: 1;
  max-height: 86%;
  width: auto;
  opacity: 0.44;
  transform-origin: right bottom;
  transform:
    translateX(120px)
    translateY(136px)
    rotate(88deg)
    scale(0.74);
  filter: grayscale(0.1);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    filter 420ms ease,
    z-index 0ms linear 220ms;
}

.player-card.is-active {
  z-index: 4;
  opacity: 1;
  transform:
    translateX(0)
    translateY(0)
    rotate(0deg)
    scale(1);
  filter: none;
  transition:
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    filter 320ms ease;
}

.player-a {
  right: 24px;
}

.player-b {
  right: 10px;
  max-height: 90%;
}

.player-c {
  right: -8px;
  max-height: 82%;
}

.player-d {
  right: 22px;
  max-height: 84%;
}

.player-e {
  right: 46px;
  max-height: 80%;
}

.player-f {
  right: 8px;
  max-height: 84%;
}

.stage-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  max-width: 320px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(9, 18, 43, 0.68);
  color: #fff;
}

.stage-caption span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.stage-caption strong {
  font-size: 1.12rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 18px, 1280px);
    padding: 10px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px;
  }

  .copy-track {
    min-height: 300px;
  }

  .copy-panel h1 {
    max-width: none;
  }

  .hero-brand {
    min-height: 60px;
    margin-bottom: 10px;
  }

  .hero-brand img {
    height: 46px;
  }

  .hero-stage,
  .stage-shell {
    min-height: 520px;
  }

  .player-card,
  .player-card.is-active {
    right: 50%;
    transform-origin: center bottom;
  }

  .player-card {
    transform:
      translateX(50%)
      translateY(120px)
      rotate(88deg)
      scale(0.66);
  }

  .player-card.is-active {
    transform:
      translateX(50%)
      translateY(0)
      rotate(0deg)
      scale(0.92);
  }

  .player-a,
  .player-b,
  .player-c,
  .player-d,
  .player-e,
  .player-f {
    right: 50%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 12px);
    padding: 6px 0;
  }

  .hero {
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
  }

  .copy-track {
    min-height: 260px;
  }

  .hero-brand {
    justify-content: center;
    min-height: 48px;
    margin-bottom: 8px;
  }

  .hero-brand img {
    height: 40px;
  }

  .btn {
    width: 100%;
  }

  .hero-nav {
    justify-content: center;
  }

  .hero-stage,
  .stage-shell {
    min-height: 380px;
  }

  .stage-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 18px;
  }

  .stage-caption strong {
    font-size: 1rem;
  }
}
