@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/PlusJakartaSans-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/PlusJakartaSans-Medium.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/PlusJakartaSans-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --teal: #72e7dc;
  --teal-dark: #32bfb3;
  --navy: #080f35;
  --navy-soft: rgba(16, 22, 58, 0.82);
  --white: #fff;
  --ink: #050712;
  --muted: #6e7587;
  --line: #e8ebf1;
  --shell: 1296px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

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

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

.header-shell,
.content-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: #fff;
}

.top-nav {
  height: 80px;
  background: rgba(22, 26, 55, 0.84);
  backdrop-filter: blur(12px);
}

.top-nav-inner,
.main-nav-inner,
.audience-nav,
.account-nav,
.brand-row,
.sponsor-row,
.guide-nav,
.utility-nav,
.league-actions {
  display: flex;
  align-items: center;
}

.top-nav-inner {
  height: 80px;
  justify-content: space-between;
}

.audience-nav {
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.account-nav {
  gap: 12px;
}

.account-nav a,
.starprime {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 700;
}

.live-account {
  color: #071024;
  background: var(--teal);
}

.login-link,
.starprime {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
  height: 88px;
  background: rgba(8, 11, 45, 0.38);
}

.main-nav-inner {
  height: 88px;
  gap: 34px;
}

.brand-row img {
  width: 200px;
  height: auto;
}

.sponsor-row {
  gap: 14px;
  margin-right: auto;
}

.sponsor-row img:first-child {
  width: 46px;
}

.sponsor-row img:last-child {
  width: 96px;
}

.guide-nav {
  gap: 34px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.guide-nav a:hover,
.audience-nav a:hover {
  color: var(--teal);
}

.utility-nav {
  gap: 22px;
  margin-left: 28px;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
}

.globe {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.globe::before,
.globe::after {
  position: absolute;
  content: "";
  inset: 3px 7px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.globe::after {
  inset: 8px 3px;
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: auto;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #fff;
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #050a2b;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
  background-position: center;
  background-size: cover;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.nba-slide {
  background-image: url("./assets/images/startrader-nba-desktop.webp");
}

.league-slide {
  background-image: url("./assets/images/nba-banner-v4.webp");
}

.porsche-slide {
  background-image: url("./assets/images/sponsorship-pccme-banner.webp");
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(2, 6, 28, 0.2), rgba(2, 6, 28, 0.02));
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - var(--shell)) / 2));
  top: 42%;
  transform: translateY(-18%);
  width: min(620px, calc(100% - 48px));
  color: #fff;
}

.official-nba {
  width: 118px;
  margin-bottom: 28px;
}

.porsche-mark {
  width: 190px;
  margin-bottom: 30px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(48px, 4.7vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-content p {
  width: min(620px, 100%);
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.hero-button {
  min-width: 132px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.hero-button.teal {
  color: #041022;
  background: var(--teal);
}

.scroll-reveal {
  --reveal-x: 0;
  --reveal-y: 100px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity 1300ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    transform 1300ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-left {
  --reveal-x: -100px;
  --reveal-y: 0;
}

.reveal-right {
  --reveal-x: 100px;
  --reveal-y: 0;
}

.reveal-up {
  --reveal-x: 0;
  --reveal-y: 100px;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.league-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -38%);
  width: min(460px, calc(100% - 48px));
  text-align: center;
  color: #fff;
}

.league-copy h2 {
  margin: 0 0 28px;
  color: #4fd9e1;
  font-size: clamp(46px, 4.8vw, 68px);
  line-height: 1.15;
  font-weight: 700;
}

.league-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}

.league-logos img:first-child {
  height: 64px;
}

.league-logos img:last-child {
  width: 145px;
}

.league-copy p {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

.league-copy strong {
  display: block;
  margin: 0 auto 48px;
  padding: 16px 24px;
  border-radius: 999px;
  background: rgba(18, 71, 183, 0.84);
  font-size: 15px;
  line-height: 1.55;
}

.league-actions {
  justify-content: center;
  gap: 12px;
}

.league-actions a {
  min-width: 196px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 24px;
  font-weight: 700;
  background: #1c48cb;
}

.league-actions a:last-child {
  color: #071024;
  background: #fff;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 34px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.slider-dots button.active {
  background: var(--teal);
}

.opportunity {
  position: relative;
  padding: 92px 0;
  color: #fff;
  background: linear-gradient(90deg, #080d30, #101a55);
}

.opportunity::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image: url("./assets/images/startrader-app-desktop.webp");
  background-size: cover;
  background-position: center;
}

.opportunity-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.opportunity p,
.technology-copy p {
  margin: 0 0 16px;
  color: var(--teal);
  font-weight: 700;
}

.opportunity h2,
.section-title h2,
.technology h2,
.products-inner h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.guide-steps,
.advantages,
.products-note {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title p {
  width: min(700px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.step-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-grid article,
.advantage-grid article {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.step-grid span {
  color: #42cfc7;
  font-size: 34px;
  font-weight: 700;
}

.step-grid h3,
.advantage-grid h3 {
  margin: 24px 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.step-grid p,
.advantage-grid p,
.products-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.advantages {
  background: #f4f6fb;
}

.advantage-grid {
  grid-template-columns: repeat(3, 1fr);
}

.technology {
  padding: 120px 0;
  color: #fff;
  background: #060b2b;
  overflow: hidden;
}

.technology-inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 50px;
}

.technology-copy span {
  display: block;
  width: min(540px, 100%);
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.technology-image {
  min-height: 500px;
  background-image: url("./assets/images/startrader-app-desktop.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.products-note {
  background: #fff;
}

.products-inner {
  text-align: center;
}

.products-inner p {
  width: min(720px, 100%);
  margin: 18px auto 0;
}

.small-note {
  color: #9198aa !important;
  font-size: 14px;
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #05091f;
}

.footer-logo {
  padding: 58px 0 34px;
}

.footer-logo img {
  width: 200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 36px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid h3,
.legal h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.65);
}

.legal {
  padding: 34px 0 56px;
}

.legal p {
  max-width: 1040px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.8;
}

.operator-notice {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .guide-nav {
    gap: 20px;
    font-size: 14px;
  }

  .brand-row img {
    width: 178px;
  }

  .utility-nav {
    gap: 14px;
    margin-left: 12px;
  }

  .starprime {
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .top-nav {
    height: 62px;
  }

  .top-nav-inner {
    height: 62px;
  }

  .account-nav a {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .main-nav {
    height: 76px;
  }

  .main-nav-inner {
    height: 76px;
  }

  .sponsor-row,
  .utility-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .guide-nav {
    position: fixed;
    inset: 138px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: #071024;
    background: #fff;
    padding: 12px 24px 26px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
  }

  .guide-nav.open {
    display: flex;
  }

  .guide-nav a {
    padding: 18px 0;
    border-bottom: 1px solid #edf0f5;
  }

  .hero-slider {
    min-height: 880px;
  }

  .hero-content {
    top: 44%;
    transform: translateY(-10%);
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .league-copy {
    top: 50%;
    transform: translate(-50%, -30%);
  }

  .opportunity-inner,
  .technology-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .step-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .header-shell,
  .content-shell {
    width: min(100% - 32px, var(--shell));
  }

  .audience-nav {
    gap: 14px;
    font-size: 13px;
  }

  .login-link {
    display: none !important;
  }

  .main-nav {
    background: rgba(8, 11, 45, 0.7);
  }

  .brand-row img {
    width: 164px;
  }

  .hero-slider {
    min-height: 812px;
  }

  .hero-content {
    top: 47%;
  }

  .official-nba {
    width: 92px;
    margin-bottom: 22px;
  }

  .porsche-mark {
    width: 148px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .league-copy {
    top: 53%;
    width: calc(100% - 36px);
  }

  .league-copy h2 {
    font-size: 42px;
  }

  .league-copy strong {
    margin-bottom: 24px;
  }

  .league-actions {
    flex-direction: column;
  }

  .league-actions a {
    width: 100%;
    min-height: 52px;
  }

  .slider-dots {
    right: 18px;
    bottom: 18px;
  }

  .opportunity,
  .guide-steps,
  .advantages,
  .technology,
  .products-note {
    padding: 68px 0;
  }

  .opportunity h2,
  .section-title h2,
  .technology h2,
  .products-inner h2 {
    font-size: 36px;
  }

  .step-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .technology-image {
    min-height: 300px;
  }
}
