:root {
  color-scheme: dark;
  --bg: #040d1f;
  --panel: #071a35;
  --panel-2: #0b274d;
  --panel-3: #0e3566;
  --line: rgba(148, 190, 255, 0.18);
  --text: #f4f9ff;
  --muted: #b8cceb;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --purple: #22d3ee;
  --teal: #14b8a6;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #dc2626;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.28), transparent 38%),
    radial-gradient(circle at 15% 18%, rgba(14, 165, 233, 0.18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(20, 184, 166, 0.12), transparent 30%),
    linear-gradient(180deg, #040d1f 0%, #06152c 48%, #040d1f 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.background-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(65% 50% at 50% 0%, rgba(37, 99, 235, 0.32), transparent 66%),
    radial-gradient(38% 36% at 82% 18%, rgba(34, 211, 238, 0.12), transparent 62%),
    radial-gradient(34% 32% at 12% 24%, rgba(14, 165, 233, 0.12), transparent 66%);
}

.background-gradient::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 13, 31, 0.08), rgba(4, 13, 31, 0.9));
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  opacity: 1;
}

.site-header,
main,
.site-footer,
.help-button {
  position: relative;
  z-index: 1;
}

.load-in {
  opacity: 0;
  animation: fade-in-up 0.5s ease-out forwards;
}

.page-load-reveal,
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-700 {
  animation-delay: 700ms;
}

main {
  flex: 1;
}

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

[data-href],
.content-card[data-href],
.game-card,
.script-card,
.preview-script-card,
.game-jump-card,
.guide-link-card {
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(560px, 760px) minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 13, 31, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  width: auto;
  height: 38px;
  align-items: center;
}

.brand-mark img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  position: relative;
  justify-self: center;
  width: 100%;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
  background: rgba(4, 13, 31, 0.72);
  padding: 4px;
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.12);
}

.main-nav a {
  flex: 1 1 0;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 400;
  padding: 9px 12px;
  text-align: center;
  transition: color 0.18s ease;
}

.nav-cursor {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 1;
  width: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.18);
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s ease;
  pointer-events: none;
}

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

.main-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(34, 211, 238, 0.9));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.header-actions {
  justify-self: end;
}

.discord-pill,
.ghost-button,
.primary-button,
.secondary-button,
.small-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 400;
  padding: 0 15px;
  white-space: nowrap;
}

.primary-button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.secondary-button,
.ghost-button,
.discord-pill {
  background: var(--panel);
  color: var(--text);
}

.small-button {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(96, 165, 250, 0.14);
  color: #eef2ff;
}

.discord-pill svg,
.ghost-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.page-hero {
  padding-bottom: 32px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.article-page {
  max-width: 900px;
}

.article-page h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.lead {
  color: var(--muted);
  font-size: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.article-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  padding: 7px 10px;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  margin: 26px 0;
  padding: 24px;
}

.login-page {
  display: grid;
  min-height: 640px;
  place-items: center;
  padding-top: 84px;
}

.login-card {
  display: grid;
  gap: 13px;
  width: min(100%, 430px);
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}

.login-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.login-card-head > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(34, 211, 238, 0.18));
  color: #ffffff;
}

.login-card-head svg {
  width: 24px;
  height: 24px;
}

.login-card-head strong,
.login-card-head em {
  display: block;
}

.login-card-head strong {
  color: var(--text);
  font-size: 22px;
}

.login-card-head em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.login-card label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-card input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

.login-card input:focus {
  border-color: rgba(34, 211, 238, 0.62);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.login-submit {
  min-height: 48px;
  margin-top: 6px;
}

.forgot-password-button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--blue-2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}

.forgot-password-button:hover {
  color: #ffffff;
}

.login-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.login-card a {
  color: var(--blue-2);
}

.script-detail-media {
  display: grid;
  overflow: hidden;
  width: min(100%, 720px);
  aspect-ratio: 16 / 8;
  place-items: center;
  margin: 28px auto 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(37, 99, 235, 0.16);
}

.script-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.script-detail-features {
  justify-content: center;
  margin-bottom: 24px;
}

.script-download-cta {
  display: flex;
  justify-content: center;
  margin: 28px 0 34px;
}

.script-download-cta .download-button {
  min-height: 58px;
  min-width: min(100%, 360px);
  gap: 10px;
  padding: 0 30px;
  font-size: 18px;
  font-weight: 800;
}

.script-download-cta .download-button svg {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.game-script-search {
  margin-bottom: 18px;
}

.game-library-jump {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.46);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.26);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.game-library-jump svg {
  width: 36px;
  height: 36px;
}

.game-library-jump:hover {
  transform: translateY(-2px);
}

.game-library-jump.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
}

.legal-page {
  max-width: 980px;
}

.legal-page h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

.legal-updated {
  margin: 18px 0 28px;
  color: var(--muted);
}

.legal-document-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(20px, 3vw, 34px);
}

.legal-document-box p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
}

.legal-document-box p:last-child {
  margin-bottom: 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 1.05fr);
  align-items: center;
  gap: 38px;
  padding-top: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.94;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 20px;
}

.animated-hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.animated-title-window {
  position: relative;
  display: flex;
  min-height: 1.05em;
  overflow: hidden;
  color: var(--blue-2);
}

.animated-title-word {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 450ms ease, transform 450ms ease;
  will-change: opacity, transform;
}

.animated-title-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.animated-title-word.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-text,
.section-heading p,
.split-band p,
.final-cta p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero .hero-actions a {
  min-height: 60px;
  padding: 0 24px;
  font-size: 18px;
}

.home-hero-actions a {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-hero-actions .primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.34), 0 0 22px rgba(34, 211, 238, 0.18);
}

.home-hero-actions .secondary-button:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 22px;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.hero-proof-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.54);
  content: "";
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-strip span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.stat-strip strong {
  display: inline-block;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  min-width: var(--stat-number-width, auto);
}

.stat-strip strong.is-rolling {
  animation: stat-roll 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-console,
.workflow-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7, 26, 53, 0.94), rgba(11, 39, 77, 0.9));
  box-shadow: var(--shadow);
}

.demo-console {
  padding: 18px;
}

.script-preview-console {
  align-self: center;
  padding: 15px;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--green);
}

.console-top em {
  margin-left: auto;
  color: var(--muted);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: 12px;
}

.terminal-line {
  color: var(--blue-2);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.progress {
  height: 8px;
  overflow: hidden;
  margin: 18px 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--teal));
}

.hero-script-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}

.hero-preview-library-button {
  display: inline-flex;
  min-height: 48px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  background: rgba(7, 26, 53, 0.92);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hero-preview-library-button:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.demo-card,
.content-card,
.price-card,
.review-card,
.compact-grid article,
.proof-grid article,
.stack-list article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(37, 99, 235, 0.08);
}

.demo-card,
.content-card,
.price-card,
.review-card,
.compact-grid article,
.stack-list article,
.timeline article,
.faq-list details {
  padding: 20px;
}

.game-card {
  overflow: hidden;
  padding-bottom: 14px;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: none;
  background: var(--panel);
}

.game-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: -20px -20px 18px;
  background: rgba(255, 255, 255, 0.08);
}

.game-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 38%, rgba(12, 9, 31, 0.78) 100%),
    radial-gradient(circle at 18% 12%, rgba(96, 165, 250, 0.28), transparent 38%);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.game-card h3 {
  margin: 0 0 8px;
}

.game-card p {
  margin: 0 0 10px;
}

.games-index-hero {
  padding-bottom: 18px;
}

.games-index-section {
  padding-top: 22px;
}

.game-index-toolbar {
  margin-bottom: 18px;
}

.game-index-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.game-index-grid .game-card {
  padding: 12px;
}

.game-index-grid .game-card-media {
  aspect-ratio: 16 / 7.4;
  margin: -12px -12px 10px;
}

.game-index-grid .game-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.15;
}

.game-index-grid .meta-row {
  padding-top: 8px;
  font-size: 12px;
}

.setup-plan-grid {
  align-items: stretch;
}

.setup-plan-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 10px;
}

.setup-plan-card h3 {
  margin: 0;
  font-size: 32px;
}

.setup-plan-card strong {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.32);
}

.setup-plan-card .text-link {
  margin-top: auto;
}

.setup-steps {
  display: grid;
  gap: 14px;
}

.setup-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.setup-step > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 800;
}

.setup-step h3 {
  margin: 0 0 6px;
}

.setup-step p {
  margin: 0;
}

.setup-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.game-card-media .icon-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 9, 31, 0.74);
  backdrop-filter: blur(10px);
}

.game-guide-links {
  padding-top: 0;
  padding-bottom: 36px;
  margin-bottom: 22px;
}

.game-guide-bar {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(8, 9, 16, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  padding: 18px;
}

.game-guide-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.game-guide-bar-head span {
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.game-guide-bar-head strong {
  color: var(--text);
  font-size: 16px;
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.guide-link-card {
  display: grid;
  min-height: 128px;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(9, 10, 18, 0.9);
  color: var(--text);
  padding: 20px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.guide-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.44);
  background:
    linear-gradient(145deg, rgba(250, 204, 21, 0.08), rgba(34, 211, 238, 0.045)),
    rgba(9, 10, 18, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(0, 0, 0, 0.22);
}

.guide-link-icon {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}

.guide-link-card strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.15;
}

.guide-link-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.game-guide-bar .guide-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.game-guide-bar .guide-link-card {
  min-height: 96px;
  gap: 6px;
  padding: 14px 16px;
}

.game-guide-bar .guide-link-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.game-guide-bar .guide-link-card strong {
  font-size: 15px;
}

.game-guide-bar .guide-link-card small {
  font-size: 13px;
  line-height: 1.35;
}

.sort-control {
  display: inline-flex;
  width: min(100%, 260px);
  min-width: 220px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 12px;
  color: var(--muted);
}

.sort-control span {
  font-size: 13px;
  white-space: nowrap;
}

.sort-control select {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
}

.sort-control option {
  color: #06152c;
}

.script-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-color: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.script-card:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

.script-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.script-card:not(.seller-script-card).tier-border-free {
  border-color: transparent;
}

.script-card:not(.seller-script-card).tier-border-standard {
  border-color: transparent;
}

.script-card:not(.seller-script-card).tier-border-vip {
  border-color: transparent;
}

.script-card:not(.seller-script-card).tier-border-ultimate {
  border-color: transparent;
}

.script-card:not(.seller-script-card).tier-border-free:hover {
  border-color: rgba(34, 197, 94, 0.9);
}

.script-card:not(.seller-script-card).tier-border-standard:hover {
  border-color: rgba(59, 130, 246, 0.92);
}

.script-card:not(.seller-script-card).tier-border-vip:hover {
  border-color: rgba(245, 158, 11, 0.96);
}

.script-card:not(.seller-script-card).tier-border-ultimate:hover {
  border-color: rgba(34, 211, 238, 0.98);
}

.script-card h3 {
  font-size: 18px;
}

.preview-compact-card {
  display: flex;
  min-height: 231px;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.preview-compact-card h3 {
  min-height: 34px;
  margin: 0 0 6px;
}

.preview-compact-card .script-card-media {
  aspect-ratio: 16 / 6.6;
  margin: -15px -15px 11px;
}

.preview-compact-card p {
  display: -webkit-box;
  min-height: 34px;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  line-height: 1.25;
}

.preview-compact-card .script-card-actions {
  margin-top: auto;
  flex-wrap: nowrap;
}

.preview-compact-card .more-info-action {
  flex: 1 1 0;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
  margin-left: 0;
}

.script-card p {
  font-size: 14px;
}

.script-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  margin: -16px -16px 14px;
  background: rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.script-card-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(10, 8, 28, 0.1) 0%, rgba(10, 8, 28, 0.84) 100%);
}

.script-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.seller-script-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(245, 158, 11, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(245, 158, 11, 0.07), rgba(255, 255, 255, 0.05)),
    var(--panel);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.shop-product-grid .seller-script-card::before {
  content: none;
}

.shop-product-grid .seller-script-card > * {
  position: relative;
  z-index: 1;
}

.seller-script-card:hover {
  border-color: rgba(251, 191, 36, 0.62);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.14);
}

.seller-script-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(251, 191, 36, 0.14), transparent 54%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.06)),
    rgba(12, 9, 31, 0.72);
}

.seller-script-media img {
  width: 47%;
  height: 60%;
  object-fit: contain;
  transform: translateY(-14px);
  filter:
    drop-shadow(0 0 14px rgba(245, 158, 11, 0.14))
    drop-shadow(0 22px 26px rgba(0, 0, 0, 0.34));
}

.seller-script-media::after {
  background:
    linear-gradient(180deg, rgba(10, 8, 28, 0.02) 0%, rgba(10, 8, 28, 0.12) 100%),
    radial-gradient(circle at 50% 18%, rgba(245, 158, 11, 0.16), transparent 42%);
}

.script-card-media .tier,
.new-badge {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.script-card-media .tier {
  top: 0;
  left: 0;
  width: 104px;
  min-height: 28px;
  justify-content: center;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 8px 0;
  padding: 0 12px;
  background: rgba(37, 99, 235, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.script-card-media .tier.free {
  background: rgba(34, 197, 94, 0.86);
  color: #ecfdf5;
}

.script-card-media .tier.standard {
  background: rgba(37, 99, 235, 0.9);
  color: #eff6ff;
}

.script-card-media .tier.vip {
  background: rgba(245, 158, 11, 0.9);
  color: #fff7ed;
}

.script-card-media .tier.ultimate {
  background: rgba(34, 211, 238, 0.86);
  color: #ecfeff;
}

.new-badge {
  top: 0;
  right: 0;
  display: inline-flex;
  width: 64px;
  min-height: 28px;
  justify-content: center;
  align-items: center;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 8px;
  padding: 0 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(37, 99, 235, 0.84));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.22);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-badge {
  width: 112px;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.72), rgba(250, 204, 21, 0.58));
  color: #f4f9ff;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.14);
  font-size: 11px;
}

.script-card-media .featured-tier-badge {
  width: 112px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.76), rgba(250, 204, 21, 0.64));
  color: #f8fbff;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.14);
  white-space: nowrap;
}

.script-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.seller-buy-action {
  flex: 1 1 0;
  min-width: 0;
  border-color: rgba(250, 204, 21, 0.52);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.94), rgba(250, 204, 21, 0.82));
  color: #111827;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.24), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.seller-buy-action:hover {
  border-color: rgba(253, 230, 138, 0.68);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.98), rgba(250, 204, 21, 0.9));
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.2),
    0 0 34px rgba(245, 158, 11, 0.58),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.seller-more-info-action {
  flex: 1 1 0;
  margin-left: 0;
}

.script-site-grid .seller-script-card {
  border-color: rgba(245, 158, 11, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.06), transparent 46%),
    linear-gradient(180deg, rgba(245, 158, 11, 0.04), rgba(255, 255, 255, 0.045)),
    var(--panel);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.04);
}

.script-site-grid .seller-script-card:hover {
  border-color: rgba(251, 191, 36, 0.44);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.08);
}

.shop-product-grid .seller-script-card {
  border-color: rgba(245, 158, 11, 0.36);
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.shop-product-grid .seller-script-card::after {
  content: none;
}

.shop-product-grid .seller-script-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.16);
}

.shop-product-grid .seller-script-media {
  background: rgba(6, 10, 24, 0.18);
}

.shop-product-grid .seller-script-media::before {
  position: absolute;
  inset: -6px;
  z-index: 0;
  content: "";
  background: url("/assets/fortnite.jpg") center / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.02);
}

.shop-product-grid .seller-script-media::after {
  content: none;
}

.shop-product-grid .seller-script-media img {
  position: relative;
  z-index: 1;
}

.shop-product-grid .seller-price-ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 5;
  width: 150px;
  min-width: 0;
  transform: rotate(42deg);
  border-radius: 0;
}

.featured-product-top-actions {
  padding-bottom: 0;
}

.recommended-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  vertical-align: middle;
  align-items: center;
  border: 1px solid rgba(250, 204, 21, 0.34);
  border-radius: 7px;
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
  margin-left: 8px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.newest-preview-frame {
  position: relative;
  overflow: hidden;
  max-height: 560px;
  margin-top: -10px;
  padding-top: 10px;
}

.newest-preview-frame::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 13, 31, 0), var(--bg));
}

.home-newest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wide-library-cta {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  font-size: 16px;
}

.script-card-heart {
  position: static;
  z-index: 3;
  flex: 0 0 38px;
  min-width: 38px;
  height: 34px;
  justify-content: center;
  padding: 0;
}

.icon-stat,
.heart-button,
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.icon-stat svg,
.heart-button svg,
.download-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.heart-button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  padding: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: color 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.heart-button svg {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.heart-button:hover,
.heart-button.is-loved {
  color: #ef4444;
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.35));
}

.heart-button.is-loved svg path {
  fill: currentColor;
}

.download-action {
  display: inline-flex;
  flex: 1.15 1 132px;
  min-width: 130px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(34, 211, 238, 0.52);
  border-radius: 8px;
  background: #1f6378;
  color: #cffafe;
  justify-self: start;
  padding: 0 14px;
  font-size: 13px;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.download-action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.download-action span {
  display: none;
}

.download-action:hover {
  border-color: rgba(125, 249, 255, 0.72);
  background: #24758d;
  box-shadow:
    0 0 0 2px rgba(34, 211, 238, 0.1),
    0 0 16px rgba(34, 211, 238, 0.22);
  color: #ffffff;
}

.download-action.is-downloaded,
.download-button.is-downloaded {
  border-color: rgba(34, 197, 94, 0.8);
  background: #15803d;
  color: #ffffff;
}

.more-info-action {
  display: inline-flex;
  margin-left: auto;
  flex: 0.65 1 82px;
  min-width: 78px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--muted);
  padding: 0 10px;
  font-size: 13px;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.seller-info-action {
  width: 100%;
}

.more-info-action:hover {
  border-color: rgba(96, 165, 250, 0.54);
  background: var(--panel-3);
  color: var(--text);
}

.seller-buy-action,
.seller-buy-action:hover {
  border-color: rgba(250, 204, 21, 0.58);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(250, 204, 21, 0.86));
  color: #111827;
}

.seller-buy-action {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.24), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.seller-buy-action:hover {
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.2),
    0 0 34px rgba(245, 158, 11, 0.58),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.featured-script-detail-media {
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 158, 11, 0.22), transparent 52%),
    var(--panel);
}

.featured-script-detail-media img {
  width: min(62%, 360px);
  height: 78%;
  object-fit: contain;
}

.featured-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.featured-product-video,
.featured-product-copy,
.featured-product-section .content-card,
.featured-warning-cta,
.featured-pricing-card {
  background: var(--panel);
}

.featured-product-video {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.featured-product-video video,
.featured-video-grid video {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}

.featured-product-video > img {
  width: min(48%, 240px);
  object-fit: contain;
}

.featured-trust-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.featured-trust-row span,
.featured-alert,
.featured-sold {
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

.featured-product-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.featured-product-copy h1 {
  margin-top: 0;
}

.featured-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.featured-rating span {
  color: #facc15;
}

.featured-rating em {
  color: var(--muted);
  font-style: normal;
}

.featured-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0;
}

.featured-price strong {
  color: var(--green);
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
}

.featured-price span {
  color: var(--muted);
  font-size: 24px;
  text-decoration: line-through;
}

.featured-buy-button {
  width: 100%;
  min-height: 56px;
  margin: 14px 0;
  font-weight: 800;
}

.featured-check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.featured-check-list li {
  position: relative;
  padding-left: 28px;
}

.featured-check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "\2713";
  font-weight: 900;
}

.featured-support-box,
.featured-warning-cta {
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.14);
  padding: 18px;
}

.featured-support-box a {
  color: var(--blue-2);
  font-weight: 800;
}

.featured-product-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.featured-video-grid,
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-warning-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 28px auto 0;
  text-align: center;
}

.review-card strong {
  color: #facc15;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.review-author img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
}

.review-author em {
  margin: 0;
}

.featured-comparison {
  margin-top: 18px;
}

.featured-more-info-button {
  width: fit-content;
  margin-bottom: 12px;
}

.featured-comparison-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.featured-comparison-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-comparison-option {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 26px;
  text-align: center;
}

.featured-comparison-option + .featured-comparison-option {
  border-left: 1px solid var(--line);
}

.featured-comparison-option h3 {
  margin: 0;
}

.featured-comparison-option ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.featured-comparison-option li {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.featured-comparison-option li span {
  color: #ef4444;
  font-weight: 800;
}

.featured-comparison-option strong {
  color: var(--text);
  font-size: 26px;
}

.featured-comparison-winner {
  z-index: 1;
  margin: -14px 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.98), rgba(29, 78, 216, 0.92));
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.28);
}

.featured-comparison-winner em {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  padding: 6px 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.featured-comparison-winner ul,
.featured-comparison-winner h3,
.featured-comparison-winner strong {
  color: #ffffff;
}

.featured-comparison-winner li span {
  color: #86efac;
}

.featured-comparison-winner small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  text-decoration: line-through;
}

.featured-pricing-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-color: rgba(245, 158, 11, 0.6);
  padding: 30px;
}

.featured-pricing-card > img {
  width: min(100%, 170px);
  max-height: 220px;
  justify-self: center;
  object-fit: contain;
}

.featured-pricing-card > .recommended-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  margin-left: 0;
}

.featured-pricing-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.featured-pricing-card .featured-price {
  margin: 12px 0;
}

.featured-pricing-card .featured-price strong {
  font-size: clamp(32px, 5vw, 46px);
}

.featured-pricing-card .featured-check-list {
  margin: 16px 0;
}

.script-guide-panel {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7, 26, 53, 0.78), rgba(4, 13, 31, 0.62));
  padding: 22px;
}

.script-guide-panel .section-heading {
  align-items: flex-start;
  margin-bottom: 14px;
}

.script-guide-panel .guide-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.script-guide-panel .guide-link-card {
  min-height: 150px;
  padding: 16px;
  background: var(--panel);
}

.script-guide-panel .guide-link-card .tier {
  width: fit-content;
  border-radius: 8px;
}

.script-guide-panel .guide-link-card h3 {
  font-size: 17px;
  line-height: 1.15;
}

.script-guide-panel .guide-link-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.compact-heading {
  margin-bottom: 16px;
}

.loved-scripts-section[hidden] {
  display: none;
}

.muted,
.content-card p,
.price-card p,
.review-card em,
.stack-list p,
.timeline p {
  color: var(--muted);
}

.compact-grid,
.card-grid,
.pricing-grid,
.review-grid,
.proof-grid {
  display: grid;
  gap: 16px;
}

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.game-index-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.dark-pricing-section {
  position: relative;
}

.dark-pricing-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.dark-pricing-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.dark-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dark-price-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(174, 187, 255, 0.22);
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(7, 11, 26, 0.92), rgba(18, 30, 64, 0.86));
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
}

.dark-price-card.featured {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 28px 100px rgba(34, 211, 238, 0.18);
}

.dark-price-head {
  border-bottom: 1px solid rgba(174, 187, 255, 0.22);
  padding-bottom: 22px;
  text-align: center;
}

.dark-price-head h3 {
  color: var(--text);
  font-size: 18px;
}

.dark-price-head p {
  max-width: none;
  color: var(--muted);
}

.price-options {
  display: grid;
  gap: 12px;
  margin: 18px 0 14px;
}

.price-options div {
  border: 1px solid rgba(174, 187, 255, 0.18);
  border-radius: 12px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.price-options div:nth-child(2) {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18), transparent 72%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.16);
}

.price-options span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.price-options strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.price-options small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.dark-benefit-list {
  display: grid;
  gap: 14px;
  padding: 28px 0;
}

.dark-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.dark-benefit span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.dark-benefit.checked span {
  background: var(--blue-2);
  color: #06111f;
}

.dark-benefit.unchecked span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.dark-benefit em {
  font-style: normal;
}

.dark-price-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.dark-price-button {
  width: 100%;
}

.dark-price-actions .secondary-button {
  border-color: rgba(34, 211, 238, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.18);
  color: var(--text);
}

.icon-chip,
.tier,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.icon-chip,
.tier {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-2);
}

.tier.vip,
.tier.ultimate {
  background: rgba(14, 165, 233, 0.14);
  color: #bae6fd;
}

.tier.standard {
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
}

.tier.vip {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.tier.ultimate {
  background: rgba(34, 211, 238, 0.18);
  color: #a5f3fc;
}

.tier.free {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.proof-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid article strong {
  display: block;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 36px;
}

.proof-grid article span {
  color: var(--muted);
}

.featured-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 22px;
}

.featured-results-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16), transparent 72%),
    var(--panel);
  padding: 22px;
  text-align: left;
}

.featured-results-grid article strong {
  color: var(--blue-2);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.featured-results-grid article p {
  margin: 0;
  color: var(--muted);
}

.testimonials-section {
  position: relative;
}

.testimonials-heading {
  max-width: 560px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--blue-2);
  font-size: 13px;
}

.testimonials-heading h2 {
  margin-top: 18px;
}

.stars-icon {
  display: inline-flex;
  color: var(--amber);
  font-size: 0.48em;
  letter-spacing: 0;
  vertical-align: middle;
}

.testimonials-heading p {
  color: var(--muted);
  font-size: 18px;
}

.homepage-gallery {
  overflow: hidden;
}

.homepage-gallery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 2px 14px;
}

.library-promo-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  gap: 12px;
  margin-top: 20px;
}

.library-promo-heading {
  margin-top: 28px;
}

.library-promo-heading h2 {
  margin: 0;
  font-size: 24px;
}

.library-promo-gallery .homepage-gallery-card {
  min-height: 165px;
  border-radius: 8px;
  padding: 14px;
}

.library-promo-gallery .homepage-gallery-card strong {
  font-size: 18px;
}

.library-promo-gallery .homepage-gallery-card em {
  max-width: 190px;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.35;
}

.library-promo-gallery .homepage-gallery-card img.homepage-gallery-image-free {
  transform: translate(16px, 8px) scale(1.15);
}

.library-promo-gallery .homepage-gallery-card img.homepage-gallery-image-newest {
  transform: translate(0, 0) scale(1.05);
}

.library-promo-gallery .homepage-gallery-card img.homepage-gallery-image-library {
  transform: translate(0, 8px) scale(0.65);
}

.library-promo-gallery .homepage-gallery-card:hover .homepage-gallery-image-free {
  transform: translate(16px, 5px) scale(1.2);
}

.library-promo-gallery .homepage-gallery-card:hover .homepage-gallery-image-newest {
  transform: translate(0, 0) scale(1.1);
}

.library-promo-gallery .homepage-gallery-card:hover .homepage-gallery-image-library {
  transform: translate(0, 5px) scale(0.7);
}

.homepage-gallery-card {
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #086ac2 url("/assets/homepage-gallery-background.png") center / cover no-repeat;
  box-shadow: none;
  padding: 26px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.homepage-gallery-card:hover {
  border-color: rgba(34, 211, 238, 0.56);
  box-shadow: none;
  transform: translateY(-3px);
}

.homepage-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.homepage-gallery-card img.homepage-gallery-image-free {
  object-fit: contain;
  object-position: center 65%;
  transform: translate(33px, 15px) scale(2.3);
}

.homepage-gallery-card img.homepage-gallery-image-newest {
  object-fit: contain;
  object-position: center 50%;
  transform: translate(0, 0) scale(2.1);
}

.homepage-gallery-card img.homepage-gallery-image-library {
  object-fit: contain;
  object-position: center 120%;
  transform: scale(0.95);
}

.homepage-gallery-card img.homepage-gallery-image-shop {
  object-fit: contain;
  object-position: center 54%;
  transform: scale(2.4);
}

.homepage-gallery-card:hover img {
  transform: scale(1.05);
}

.homepage-gallery-card:hover img.homepage-gallery-image-free {
  transform: translate(33px, 10px) scale(2.4);
}

.homepage-gallery-card:hover img.homepage-gallery-image-newest {
  transform: translate(0, 0) scale(2.2);
}

.homepage-gallery-card:hover img.homepage-gallery-image-library {
  transform: scale(1.00);
}

.homepage-gallery-card:hover img.homepage-gallery-image-shop {
  transform: scale(2.5);
}

.homepage-gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(10, 8, 28, 0.9) 0%, rgba(10, 8, 28, 0.54) 34%, rgba(10, 8, 28, 0.12) 74%, rgba(10, 8, 28, 0.24) 100%),
    radial-gradient(circle at 16% 0%, rgba(34, 211, 238, 0.18), transparent 38%);
}

.homepage-gallery-card span,
.homepage-gallery-card strong,
.homepage-gallery-card em {
  position: relative;
  z-index: 1;
}

.homepage-gallery-card span {
  display: none;
  margin-bottom: 8px;
  color: var(--blue-2);
  font-size: 13px;
  text-transform: uppercase;
}

.homepage-gallery-card strong {
  color: var(--text);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.homepage-gallery-card em {
  max-width: 260px;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.game-jump-panel {
  display: grid;
  max-width: none;
  gap: 14px;
  margin-top: 26px;
}

.game-jump-panel summary {
  width: fit-content;
  cursor: pointer;
  color: var(--blue-2);
  font-size: 13px;
  text-transform: uppercase;
}

.game-jump-panel::details-content {
  overflow: hidden;
  block-size: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    block-size 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    content-visibility 0.28s ease allow-discrete;
}

.game-jump-panel[open]::details-content {
  block-size: auto;
  opacity: 1;
  transform: translateY(0);
}

.game-jump-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.game-jump-panel[open] .game-jump-grid {
  animation: game-jump-drop 0.24s ease-out;
}

.game-jump-card {
  display: grid;
  overflow: hidden;
  min-height: 128px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--panel);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.game-jump-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.82);
  background: var(--panel-2);
  box-shadow: none;
}

.game-jump-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.game-jump-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.game-jump-card strong {
  align-self: center;
  padding: 8px 12px 9px;
  font-size: 13px;
  line-height: 1.2;
}

.latest-filter-section {
  padding-top: 10px;
  padding-bottom: 18px;
}

.latest-script-filter {
  margin-bottom: 0;
}

.game-filter-control {
  width: min(100%, 360px);
}

.free-scripts-upgrade-section {
  padding-top: 0;
}

.library-controls-section {
  scroll-margin-top: 96px;
  padding-bottom: 12px;
}

.page-hero + .game-library-jump + .library-controls-section {
  padding-top: 28px;
}

.library-controls-section + .card-grid {
  padding-top: 0;
}

.library-controls-section .library-toolbar {
  margin-bottom: 0;
}

.free-scripts-upgrade-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  min-height: 260px;
  align-content: center;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(253, 224, 71, 0.58);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 204, 21, 0.34), transparent 28%),
    radial-gradient(circle at 9% 102%, rgba(80, 48, 170, 0.5), transparent 34%),
    linear-gradient(112deg, #211a38 0%, #0f0b1a 48%, #070611 100%);
  color: var(--text);
  padding: 38px 42px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.1), 0 26px 80px rgba(0, 0, 0, 0.34);
}

.free-scripts-upgrade-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%);
  pointer-events: none;
}

.free-scripts-upgrade-copy,
.free-scripts-upgrade-offer {
  position: relative;
  z-index: 1;
}

.free-scripts-upgrade-copy {
  display: grid;
  gap: 18px;
}

.free-scripts-upgrade-offer {
  display: grid;
  justify-items: end;
  gap: 14px;
  text-align: right;
}

.free-scripts-upgrade-rating {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #facc15, #f59e0b);
  color: #171102;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.22);
}

.free-scripts-upgrade-rating em {
  font-style: normal;
}

.free-scripts-upgrade-card strong {
  max-width: 690px;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.free-scripts-upgrade-card strong span {
  display: block;
  color: #fde68a;
}

.free-scripts-upgrade-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.free-scripts-upgrade-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 28px;
}

.free-scripts-upgrade-benefits em {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f8fafc;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.free-scripts-upgrade-benefits em::before {
  color: #facc15;
  content: "\2713";
  font-weight: 900;
}

.free-scripts-upgrade-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}

.free-scripts-upgrade-price em,
.free-scripts-upgrade-price small,
.free-scripts-upgrade-offer > small {
  color: rgba(248, 250, 252, 0.5);
  font-style: normal;
  font-weight: 800;
}

.free-scripts-upgrade-price strong {
  color: #f8fafc;
  font-size: clamp(34px, 4vw, 46px);
}

.free-scripts-upgrade-price small {
  font-size: 13px;
}

.free-scripts-upgrade-card b {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde68a, #facc15, #f59e0b);
  color: #120b02;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.free-scripts-upgrade-card:hover b,
.free-scripts-upgrade-card:focus-visible b {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.3);
  filter: brightness(1.08);
}

.free-scripts-seo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.free-scripts-seo-strip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: #dcfce7;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 700;
}

.seller-price-ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 4;
  width: 150px;
  transform: rotate(42deg);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #120b02;
  padding: 7px 0;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.26);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.free-scripts-home-cta-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 720px);
  margin: 28px auto 0;
  text-align: center;
}

.free-scripts-home-cta-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.free-scripts-home-cta {
  width: min(100%, 720px);
  min-height: 54px;
  margin: 0 auto;
  font-size: 17px;
}

.game-script-intro {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: none;
  padding-top: 0;
  padding-bottom: 12px;
  text-align: left;
}

.game-script-intro + .game-library-section {
  padding-top: 28px;
}

.game-script-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  text-align: left;
}

.testimonials-columns {
  display: flex;
  justify-content: center;
  gap: 24px;
  height: min(740px, 80vh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.testimonials-column {
  width: min(100%, 320px);
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  animation: testimonials-scroll 16s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.testimonials-track.duration-slow {
  animation-duration: 15s;
}

.testimonials-track.duration-medium {
  animation-duration: 19s;
}

.testimonials-track.duration-fast {
  animation-duration: 17s;
}

.testimonial-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(31, 38, 135, 0.16);
}

.testimonial-card p {
  color: var(--text);
  line-height: 1.55;
}

.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.testimonial-card img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-card span,
.testimonial-card strong,
.testimonial-card em {
  display: block;
}

.testimonial-card em {
  color: var(--muted);
  font-style: normal;
}

@keyframes testimonials-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes game-jump-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stat-roll {
  0% {
    opacity: 0.3;
    transform: translateY(10px);
  }

  42% {
    opacity: 1;
    transform: translateY(-3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.library-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.library-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.library-filter-row > select {
  width: min(100%, 220px);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

input[type="search"] {
  padding-left: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d7c9ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-position: 14px 50%;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.pill-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.pill {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: pointer;
  padding: 0 13px;
  white-space: nowrap;
}

.pill.active {
  border-color: rgba(37, 99, 235, 0.72);
  background: rgba(37, 99, 235, 0.14);
  color: var(--text);
}

.card-topline,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.feature-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.workflow-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.workflow-card span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.price-card {
  position: relative;
  min-height: 330px;
}

.price-card.featured {
  border-color: rgba(14, 165, 233, 0.38);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(255, 255, 255, 0.08));
}

.price-card strong {
  display: block;
  margin: 10px 0;
  font-size: 34px;
}

.price-card strong span {
  color: var(--muted);
  font-size: 18px;
}

.price-card ul {
  display: grid;
  gap: 9px;
  min-height: 110px;
  padding-left: 18px;
  color: var(--muted);
}

.badge {
  background: rgba(245, 158, 11, 0.18);
  color: #ffe0a5;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-table div {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.comparison-table div:nth-child(-n + 4) {
  color: var(--text);
  font-weight: 400;
  background: rgba(37, 99, 235, 0.12);
}

.subhead {
  margin: 34px 0 16px;
}

.product-art {
  display: grid;
  height: 150px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.26), rgba(14, 165, 233, 0.18), rgba(15, 118, 110, 0.16)),
    rgba(255, 255, 255, 0.08);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 400;
}

.script-site-card {
  display: block;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.script-site-card:hover {
  border-color: rgba(34, 211, 238, 0.56);
  transform: translateY(-3px);
}

.guide-content {
  display: grid;
  gap: 18px;
}

.guide-section {
  scroll-margin-top: 96px;
}

.guide-section h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.review-card span {
  color: var(--amber);
}

.review-card p {
  min-height: 72px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

.docs-layout aside {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px;
}

.docs-layout aside a {
  color: var(--muted);
  padding: 8px;
}

.stack-list,
.timeline,
.faq-list {
  display: grid;
  gap: 12px;
}

.stack-list article span,
.timeline article span {
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 400;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 400;
}

.faq-list p {
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--muted);
  transition: max-height 0.26s ease, opacity 0.2s ease;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  border-block: 1px solid var(--line);
}

.page-cta-row {
  margin-bottom: 0;
}

.library-promo-ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 840px;
  margin-top: 28px;
}

.library-promo-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.library-promo-card:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: none;
  transform: translateY(-2px);
}

.library-promo-card span {
  color: var(--blue-2);
  font-size: 13px;
  text-transform: uppercase;
}

.library-promo-card strong {
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}

.library-promo-card em {
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(120px, 1fr));
  gap: 24px;
  padding: 44px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: rgba(4, 13, 31, 0.94);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer h3 {
  font-size: 14px;
}

.help-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-weight: 400;
  padding: 0 16px;
  box-shadow: var(--shadow);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 24px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: flex-start;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .hero,
  .proof-section,
  .split-band,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .compact-grid,
  .card-grid,
  .dark-pricing-grid,
  .pricing-grid,
  .review-grid,
  .proof-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-newest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-jump-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-product-hero,
  .featured-pricing-card,
  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .game-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .game-index-grid .game-card {
    padding: 10px;
  }

  .game-index-grid .game-card-media {
    aspect-ratio: 16 / 7;
    margin: -10px -10px 9px;
  }

  .game-index-grid .game-card h3 {
    font-size: 14px;
  }

  .game-index-grid .meta-row {
    font-size: 11px;
  }

  .game-guide-bar {
    grid-template-columns: 1fr;
  }

  .free-scripts-upgrade-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .free-scripts-upgrade-offer {
    justify-items: start;
    text-align: left;
  }

  .free-scripts-upgrade-price {
    justify-content: flex-start;
  }

  .docs-layout aside {
    position: static;
  }

  .hide-desktop {
    display: none;
  }

  .library-promo-ctas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 54px 0;
  }

  body:has(.script-download-cta) {
    padding-bottom: 86px;
  }

  .script-download-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    margin: 0;
    border-top: 1px solid var(--line);
    background: rgba(4, 13, 31, 0.94);
    padding: 12px;
    backdrop-filter: blur(16px);
  }

  .script-download-cta .download-button {
    width: min(100%, 520px);
    min-height: 56px;
  }

  .header-actions,
  .section-heading {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .compact-grid,
  .card-grid,
  .dark-pricing-grid,
  .pricing-grid,
  .review-grid,
  .proof-grid,
  .site-footer,
  .library-toolbar {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .comparison-table div {
    border-right: 0;
  }

  .featured-comparison-three {
    grid-template-columns: 1fr;
  }

  .featured-comparison-option + .featured-comparison-option {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .featured-comparison-winner {
    margin: 0;
  }

  .hero-script-preview {
    grid-template-columns: 1fr;
  }

  .home-newest-grid {
    grid-template-columns: 1fr;
  }

  .homepage-gallery-track {
    grid-template-columns: 1fr;
  }

  .game-jump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-video-grid,
  .featured-trust-row {
    grid-template-columns: 1fr;
  }

  .homepage-gallery-card {
    min-height: 280px;
  }

  .game-library-jump {
    right: 14px;
    bottom: 14px;
    width: 60px;
    height: 60px;
  }

  .game-library-jump svg {
    width: 30px;
    height: 30px;
  }

  .game-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 44px;
  }

  .testimonials-columns {
    height: 620px;
  }

  .hide-tablet,
  .hide-desktop {
    display: none;
  }

  .testimonial-card {
    padding: 24px;
  }
}
