.player-product-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 10%, rgba(7, 93, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(255, 45, 131, 0.15), transparent 30rem),
    radial-gradient(circle at 76% 96%, rgba(122, 46, 255, 0.18), transparent 32rem),
    linear-gradient(135deg, #050816 0%, #080a1a 48%, #070617 100%);
}

.player-product-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(18px, 4vw, 44px) 78px;
}

.player-product-ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
}

.player-product-ambient-left {
  top: 8%;
  left: 5%;
  width: 24rem;
  height: 24rem;
  background: rgba(7, 93, 255, 0.16);
}

.player-product-ambient-right {
  right: 2%;
  bottom: 8%;
  width: 30rem;
  height: 30rem;
  background: rgba(255, 45, 131, 0.15);
}

.player-product-header,
.player-product-hero,
.player-product-section,
.player-product-generator,
.player-product-pro {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.player-product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.player-product-logo {
  display: block;
  width: min(240px, 50vw);
}

.player-product-logo img {
  width: 100%;
  height: auto;
}

.player-product-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  font-weight: 760;
}

.player-product-nav a,
.player-product-header-button,
.player-product-primary,
.player-product-secondary,
.player-product-pro a {
  text-decoration: none;
}

.player-product-nav a {
  transition: color 160ms ease;
}

.player-product-nav a:hover {
  color: #ffffff;
}

.player-product-header-button,
.player-product-primary,
.player-product-pro a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 18px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(110deg, var(--blue) 0%, var(--violet) 48%, var(--pink) 100%);
  box-shadow: 0 0 28px rgba(7, 93, 255, 0.28);
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.player-product-header-button:hover,
.player-product-primary:hover,
.player-product-pro a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 45, 131, 0.26);
}

.player-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
  padding: clamp(56px, 9vw, 92px) 0 72px;
}

.player-product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 45, 131, 0.25);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffd8e8;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 28px rgba(255, 45, 131, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.player-product-kicker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-product-copy h1 {
  max-width: 720px;
  margin: 28px 0 0;
  color: #ffffff;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 920;
  line-height: 0.94;
  text-wrap: balance;
}

.player-product-copy p {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 1.13rem;
  line-height: 1.75;
}

.player-product-actions,
.player-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.player-product-actions {
  margin-top: 34px;
}

.player-product-primary,
.player-product-secondary {
  min-height: 56px;
  padding-inline: 24px;
  font-size: 1rem;
}

.player-product-primary svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-product-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease;
}

.player-product-secondary:hover {
  border-color: rgba(122, 46, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.player-product-pills {
  margin-top: 28px;
}

.player-product-pills span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.player-product-demo {
  position: relative;
  display: grid;
  justify-items: center;
}

.player-product-glow {
  position: absolute;
  inset: -34px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 28% 20%, rgba(7, 93, 255, 0.34), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(255, 45, 131, 0.24), transparent 32%);
  filter: blur(22px);
  opacity: 0.9;
}

.player-product-demo .player-live-demo {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
}

.player-product-section {
  padding: 28px 0 56px;
}

.player-product-section-heading {
  max-width: 680px;
}

.player-product-section-heading p,
.player-product-generator-copy > span,
.player-product-pro > div > p:first-child {
  margin: 0;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.player-product-section-heading h2,
.player-product-generator-copy h2,
.player-product-pro h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 920;
  line-height: 1.05;
  text-wrap: balance;
}

.player-product-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.player-product-feature-grid article,
.player-product-generator,
.player-product-pro > div,
.player-product-pro aside,
.player-product-code-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026)),
    rgba(5, 8, 22, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.player-product-feature-grid article {
  border-radius: 26px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.player-product-feature-grid article:hover {
  border-color: rgba(122, 46, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 22, 0.58);
  transform: translateY(-2px);
}

.player-product-feature-grid article > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(110deg, var(--blue), var(--violet), var(--pink));
  box-shadow: 0 0 28px rgba(7, 93, 255, 0.26);
  font-size: 1.16rem;
  font-weight: 900;
}

.player-product-feature-grid h3 {
  margin: 20px 0 0;
  color: #ffffff;
  font-size: 1.12rem;
}

.player-product-feature-grid p {
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.76);
  font-size: 0.92rem;
  line-height: 1.65;
}

.player-product-generator {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(26px, 5vw, 58px);
  margin-top: 20px;
  border-radius: 34px;
  padding: clamp(24px, 5vw, 42px);
}

.player-product-generator-copy p,
.player-product-pro p,
.player-product-code-card p {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.75;
}

.player-product-generator-copy p {
  margin: 18px 0 0;
}

.player-product-generator-copy ol {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  counter-reset: playerSteps;
}

.player-product-generator-copy li {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 13px 14px;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.player-product-generator-copy li::before {
  counter-increment: playerSteps;
  content: counter(playerSteps);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(110deg, var(--blue), var(--violet), var(--pink));
  font-size: 0.88rem;
  font-weight: 900;
}

.player-product-code-card {
  overflow: hidden;
  border-radius: 28px;
  padding: 24px;
}

.player-product-code-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.player-generator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.player-generator-head p {
  margin: 8px 0 0;
}

.player-generator-copy,
.player-generator-test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(110deg, var(--blue), var(--violet), var(--pink));
  box-shadow: 0 0 26px rgba(7, 93, 255, 0.22);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.player-generator-copy:hover,
.player-generator-test:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 45, 131, 0.24);
}

.player-generator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.player-generator-field,
.player-generator-check,
.player-generator-output {
  display: block;
}

.player-generator-field-wide,
.player-generator-output {
  grid-column: 1 / -1;
}

.player-generator-field span,
.player-generator-check span,
.player-generator-output span {
  display: block;
  color: rgba(241, 245, 249, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
}

.player-generator-field input,
.player-generator-output input {
  width: 100%;
  min-height: 48px;
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.player-generator-field input:focus,
.player-generator-output input:focus {
  border-color: rgba(122, 46, 255, 0.52);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 4px rgba(122, 46, 255, 0.14);
}

.player-generator-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.player-generator-segments button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  color: rgba(226, 232, 240, 0.84);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.player-generator-segments button.is-active {
  border-color: rgba(122, 46, 255, 0.72);
  color: #ffffff;
  background: rgba(122, 46, 255, 0.16);
  box-shadow: 0 0 22px rgba(122, 46, 255, 0.16);
}

.player-generator-check {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin-top: 27px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.04);
}

.player-generator-check input {
  width: 19px;
  height: 19px;
  accent-color: var(--violet);
}

.player-generator-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.player-generator-actions span {
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.84rem;
  font-weight: 760;
}

.player-generator-preview {
  display: grid;
  justify-items: center;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at 28% 18%, rgba(7, 93, 255, 0.14), transparent 16rem),
    radial-gradient(circle at 78% 22%, rgba(255, 45, 131, 0.13), transparent 16rem),
    rgba(0, 0, 0, 0.16);
}

.player-generator-preview .player-live-demo {
  width: min(100%, 400px);
}

.player-generator-preview .free-player-widget {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 34px rgba(139, 44, 255, 0.14);
}

.player-generator-output {
  margin-top: 18px;
}

.player-product-code-card pre {
  overflow: auto;
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
  color: rgba(241, 245, 249, 0.86);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.player-product-pro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
  padding-top: 62px;
}

.player-product-pro > div,
.player-product-pro aside {
  border-radius: 34px;
  padding: clamp(24px, 4vw, 34px);
}

.player-product-pro > div {
  border-color: rgba(255, 45, 131, 0.18);
  background:
    radial-gradient(circle at 10% 20%, rgba(7, 93, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 92% 10%, rgba(255, 45, 131, 0.15), transparent 16rem),
    rgba(255, 255, 255, 0.045);
}

.player-product-pro h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.player-product-pro ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.player-product-pro li {
  border-radius: 16px;
  padding: 13px 14px;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.94rem;
  font-weight: 800;
}

.player-product-pro a {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .player-product-nav {
    display: none;
  }

  .player-product-hero,
  .player-product-generator,
  .player-product-pro {
    grid-template-columns: 1fr;
  }

  .player-product-demo {
    order: -1;
  }

  .player-product-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .player-product-page {
    padding: 22px 16px 58px;
  }

  .player-product-header {
    align-items: flex-start;
  }

  .player-product-logo {
    width: 190px;
  }

  .player-product-header-button {
    display: none;
  }

  .player-product-hero {
    gap: 34px;
    padding: 42px 0 48px;
  }

  .player-product-copy h1 {
    font-size: 3rem;
  }

  .player-product-actions {
    flex-direction: column;
  }

  .player-product-primary,
  .player-product-secondary {
    width: 100%;
  }

  .player-product-feature-grid {
    grid-template-columns: 1fr;
  }

  .player-product-generator,
  .player-product-pro > div,
  .player-product-pro aside {
    border-radius: 26px;
  }

  .player-generator-head,
  .player-generator-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .player-generator-grid {
    grid-template-columns: 1fr;
  }

  .player-generator-check {
    margin-top: 0;
  }
}
