.corea-gx-hero {
  --corea-gx-hero-overlay: rgba(4, 10, 18, 0.52);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(40rem, 62vw, 50rem);
  overflow: hidden;
  background: #050a12;
  color: #fff;
}

.corea-gx-hero__video,
.corea-gx-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.corea-gx-hero__video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.corea-gx-hero__scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 14, 0.92) 0%, var(--corea-gx-hero-overlay) 42%, rgba(2, 7, 14, 0.18) 78%, rgba(2, 7, 14, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 7, 14, 0.12), rgba(2, 7, 14, 0.52));
}

.corea-gx-hero__shell {
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  width: min(82.5rem, calc(100% - 3rem));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.corea-gx-hero__content {
  align-self: center;
  width: min(43rem, 58%);
  max-width: 100%;
  min-width: 0;
  text-align: left;
}

.corea-gx-hero__slides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.corea-gx-hero__slide {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.corea-gx-hero__slide.is-active {
  visibility: visible;
  pointer-events: auto;
  animation: corea-gx-hero-enter 520ms ease both;
}

.corea-gx-hero__slide.is-hidden {
  animation: none;
}

@keyframes corea-gx-hero-enter {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.corea-gx-hero__eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1rem;
  color: #79bcff;
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.corea-gx-hero__eyebrow::before {
  width: 1.75rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.corea-gx-hero__eyebrow span {
  min-width: 0;
}

.corea-gx-hero__title {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5.1vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.62);
}

.corea-gx-hero__subtitle {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.corea-gx-hero__logo {
  display: block;
  width: clamp(4.8rem, 7vw, 6.8rem);
  height: auto;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1.6rem rgba(0, 0, 0, 0.4));
}

.corea-gx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.65rem;
}

.corea-gx-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(0, 120, 255, 0.88);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 0.9rem 2rem rgba(0, 75, 170, 0.28);
  transition: transform 180ms ease, background-color 180ms ease;
}

.corea-gx-hero__secondary {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(0.5rem);
}

.corea-gx-hero__secondary:hover,
.corea-gx-hero__secondary:focus-visible {
  border-color: #79bcff;
  color: #fff;
}

.corea-gx-hero__stat {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  max-width: 22rem;
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(121, 188, 255, 0.32);
}

.corea-gx-hero__stat strong {
  color: #79bcff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.corea-gx-hero__stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.corea-gx-hero__navigation {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.3rem;
}

.corea-gx-hero__dots,
.corea-gx-hero__arrows {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

body .corea-gx-hero__dot {
  width: 0.55rem !important;
  height: 0.55rem !important;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: none !important;
  transition: width 180ms ease, background-color 180ms ease;
}

body .corea-gx-hero__dot.is-active {
  width: 1.6rem !important;
  background: #79bcff !important;
}

body .corea-gx-hero__dot::after,
body .corea-gx-hero__arrows button::after {
  display: none !important;
}

body .corea-gx-hero__arrows button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(5, 10, 18, 0.48) !important;
  box-shadow: none !important;
}

body .corea-gx-hero__arrows button:hover,
body .corea-gx-hero__arrows button:focus-visible {
  border-color: #79bcff !important;
  background: #0078ff !important;
}

.corea-gx-hero__progress {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(121, 188, 255, 0.16);
}

.corea-gx-hero__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #0078ff;
}

.corea-gx-hero.is-rotating .corea-gx-hero__progress span {
  width: 100%;
  transition: width var(--corea-gx-hero-slide-ms, 7500ms) linear;
}

.corea-gx-hero__cta:hover,
.corea-gx-hero__cta:focus-visible {
  background: #0069d9;
  color: #fff;
  transform: translateY(-2px);
}

.corea-gx-hero__cta:focus-visible,
.corea-gx-hero__secondary:focus-visible,
.corea-gx-hero__dot:focus-visible,
.corea-gx-hero__arrows button:focus-visible,
.corea-gx-hero__playback:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body .corea-gx-hero__playback {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 50% !important;
  background: rgba(5, 10, 18, 0.62) !important;
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  backdrop-filter: blur(0.5rem);
  box-shadow: none !important;
  transform: none !important;
}

body .corea-gx-hero__playback::after {
  display: none !important;
}

.corea-gx-hero__playback-play,
.corea-gx-hero__playback[aria-pressed="true"] .corea-gx-hero__playback-pause {
  display: none;
}

.corea-gx-hero__playback[aria-pressed="true"] .corea-gx-hero__playback-play {
  display: inline;
}

@media (max-width: 47.99rem) {
  .corea-gx-hero {
    width: 100%;
    max-width: 100vw;
    min-height: 36rem;
  }

  .corea-gx-hero__shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 5.5rem 1.25rem 4.5rem;
  }

  .corea-gx-hero__content {
    width: 100%;
    max-width: 34rem;
  }

  .corea-gx-hero__title {
    width: 100%;
    max-width: 16ch;
    font-size: clamp(2rem, 9vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .corea-gx-hero__subtitle {
    width: auto;
    max-width: 24rem;
  }

  .corea-gx-hero__logo {
    width: 4.8rem;
  }

  .corea-gx-hero__eyebrow {
    align-items: flex-start;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    line-height: 1.45;
  }

  .corea-gx-hero__navigation {
    flex-wrap: wrap;
  }

  .corea-gx-hero__cta {
    box-sizing: border-box;
    max-width: calc(100% - 2rem);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .corea-gx-hero__cta,
  .corea-gx-hero__slide,
  .corea-gx-hero__dot,
  .corea-gx-hero__progress span {
    animation: none;
    transition: none;
  }
}
