:root {
  --ink: #eef4f8;
  --muted: #9eb0bd;
  --soft: #d7f2ff;
  --page: #091015;
  --panel: rgba(16, 25, 31, 0.84);
  --panel-solid: #10191f;
  --line: rgba(236, 251, 255, 0.12);
  --cyan: #34d8d1;
  --lime: #c6fb50;
  --coral: #ff6b5f;
  --amber: #ffbd59;
  --violet: #9b8cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.admin-auth-page,
body.admin-page {
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.directory-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) minmax(160px, 0.55fr);
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.directory-filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-filters input,
.directory-filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 12, 16, 0.72);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.directory-filters input:focus,
.directory-filters select:focus {
  border-color: rgba(198, 251, 80, 0.72);
  box-shadow: 0 0 0 3px rgba(198, 251, 80, 0.12);
}

.directory-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.live-script-grid {
  display: grid;
  gap: 14px;
}

.live-script-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.28fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 39, 44, 0.86), rgba(15, 21, 26, 0.92));
}

.script-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag.muted-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
}

.live-script-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.live-script-card h3 a:hover {
  color: var(--lime);
}

.live-script-card p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.script-card-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.script-card-side span {
  color: var(--muted);
  font-weight: 700;
}

.script-card-side strong {
  color: var(--lime);
  font-size: 1.65rem;
}

.icon-link {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(198, 251, 80, 0.38);
  border-radius: 8px;
  background: rgba(198, 251, 80, 0.12);
  color: var(--lime);
}

.directory-empty {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 800;
}

.pagination button[aria-current="page"] {
  border-color: rgba(198, 251, 80, 0.62);
  background: rgba(198, 251, 80, 0.16);
  color: var(--lime);
}

.script-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: start;
}

.detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.checkout-panel {
  position: sticky;
  top: 96px;
}

.detail-price {
  display: block;
  margin: 16px 0 20px;
  color: var(--lime);
  font-size: 2.4rem;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.primary-action.is-loading {
  pointer-events: none;
  opacity: 0.76;
}

.checkout-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.checkout-status[data-mode="blocked"] {
  color: var(--coral);
}

.checkout-status[data-mode="pending"] {
  color: var(--amber);
}

.setup-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 8%, rgba(52, 216, 209, 0.18), transparent 34%),
    radial-gradient(circle at 8% 30%, rgba(198, 251, 80, 0.1), transparent 30%),
    #091015;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-scrolled="true"],
.site-header.menu-active {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 20, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(198, 251, 80, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(198, 251, 80, 0.2), rgba(52, 216, 209, 0.1));
  color: var(--lime);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #c7d5dd;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--lime);
}

.main-nav a[aria-current="page"] {
  color: var(--lime);
}

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

.icon-button,
.menu-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.icon-button svg,
.menu-button svg,
button svg,
.search-field svg,
.hero-search svg {
  width: 18px;
  height: 18px;
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--coral);
  color: #140806;
  font-size: 0.68rem;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  align-items: end;
  padding: 112px clamp(18px, 5vw, 76px) 28px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 16, 21, 0.98) 0%, rgba(9, 16, 21, 0.72) 48%, rgba(9, 16, 21, 0.42) 100%),
    linear-gradient(0deg, #091015 0%, rgba(9, 16, 21, 0.1) 28%, transparent 100%),
    url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=2100&q=80") center/cover;
}

.hero-media {
  position: absolute;
  right: clamp(-70px, 4vw, 40px);
  top: 15%;
  width: min(36vw, 540px);
  min-width: 330px;
  opacity: 0.94;
  filter: drop-shadow(0 42px 80px rgba(0, 0, 0, 0.62));
}

.hero-media::after {
  position: absolute;
  right: 16%;
  bottom: 1%;
  width: 58%;
  height: 14px;
  border-radius: 999px;
  background: rgba(52, 216, 209, 0.34);
  filter: blur(18px);
  content: "";
}

.hero-media img {
  display: block;
  width: 100%;
  animation: floatDevice 6.2s ease-in-out infinite;
}

.hero-content {
  width: min(790px, 100%);
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 5.4vw, 5.15rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 22px;
  color: #c8d7df;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.hero-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  width: min(690px, 100%);
  min-height: 62px;
  padding: 8px;
  border: 1px solid rgba(215, 242, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 16, 21, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-search svg {
  margin-left: 10px;
  color: var(--cyan);
}

.hero-search input,
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.hero-search input::placeholder,
.search-field input::placeholder {
  color: #78909d;
}

.hero-search button,
.drop-card button,
.feature-card a,
.support-card button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #111707;
  font-weight: 800;
  white-space: nowrap;
}

.hero-search button {
  padding: 0 24px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

.hero-stats strong {
  color: var(--ink);
  font-size: 1.22rem;
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 24px;
  width: min(330px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(52, 216, 209, 0.24);
  border-radius: 8px;
  background: rgba(10, 18, 24, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.signal-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.signal-panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.signal-panel a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 800;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(198, 251, 80, 0.12);
}

.ticker-band {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e171d;
  scrollbar-width: none;
}

.ticker-band::-webkit-scrollbar {
  display: none;
}

.ticker-band span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfdae0;
  font-size: 0.86rem;
}

.section {
  padding: clamp(32px, 4vw, 56px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  column-gap: 32px;
  row-gap: 16px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  display: block;
  line-height: 1.25;
  margin-bottom: 0;
}

.section-heading h2,
.section-heading h3 {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.drop-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.drop-card {
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(52, 216, 209, 0.16), rgba(198, 251, 80, 0.1)),
    #111b20;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.card-topline strong {
  color: var(--ink);
  font-size: 1.7rem;
}

.drop-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card button,
.feature-card a,
.support-card button,
.primary-action {
  width: max-content;
  padding: 0 18px;
}

.mini-dashboard {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.mini-dashboard span {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-dashboard span::after {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  content: "";
}

.glass-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, transparent, rgba(8, 14, 18, 0.9)),
    url("https://images.unsplash.com/photo-1605901309584-818e25960a8f?auto=format&fit=crop&w=900&q=80") center/cover;
}

.glass-card:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(8, 14, 18, 0.92)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=80") center/cover;
}

.tag,
.script-tag,
.script-platform {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 16, 21, 0.68);
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.glass-card a {
  width: max-content;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 800;
}

.library-section {
  background: #0d151a;
}

.library-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.library-aside {
  position: sticky;
  top: 94px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.library-aside p {
  color: var(--muted);
  line-height: 1.65;
}

.search-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 24px 0 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.search-field svg {
  color: var(--cyan);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.filter-chip.active {
  border-color: rgba(198, 251, 80, 0.5);
  background: rgba(198, 251, 80, 0.12);
  color: var(--lime);
}


.creator-section {
  background:
    linear-gradient(90deg, rgba(255, 107, 95, 0.08), transparent 42%),
    #091015;
}

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

.creator-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.creator-grid span {
  color: var(--coral);
  font-weight: 800;
}

.creator-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 440px);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(rgba(9, 16, 21, 0.7), rgba(9, 16, 21, 0.94)),
    url("https://images.unsplash.com/photo-1593305841991-05c297ba4575?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.support-copy p {
  max-width: 680px;
  color: #c7d4da;
  line-height: 1.7;
}

.support-card {
  padding: 24px;
  border: 1px solid rgba(198, 251, 80, 0.24);
  border-radius: 8px;
  background: rgba(8, 14, 18, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.support-card > svg {
  width: 34px;
  height: 34px;
  color: var(--lime);
}

.support-card p {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #070c10;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #c7d5dd;
  font-weight: 700;
}

.page-hero {
  position: relative;
  padding: 104px clamp(18px, 5vw, 76px) 38px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 16, 21, 0.96), rgba(9, 16, 21, 0.68)),
    linear-gradient(0deg, #091015 0%, rgba(9, 16, 21, 0.18) 50%),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=2000&q=80") center/cover;
}

.compact-hero {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.page-hero h1 {
  max-width: 950px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #c7d5dd;
  font-size: 1.12rem;
  line-height: 1.65;
}

.page-section {
  padding: clamp(32px, 4vw, 56px) clamp(18px, 5vw, 76px);
  background: #0d151a;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.game-browser .section-heading {
  align-items: end;
}

.game-filter {
  width: min(100%, 360px);
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

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

.game-category-grid .category-card[hidden] {
  display: none;
}

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

.script-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.script-pack-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(198, 251, 80, 0.09), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.script-pack-card > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--lime);
}

.script-pack-card h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
}

.script-pack-card p {
  color: var(--muted);
  line-height: 1.65;
}

.script-pack-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  color: var(--lime);
  font-weight: 800;
}

.scripts-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(52, 216, 209, 0.12), transparent 50%),
    #091015;
}

.scripts-process p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.category-card,
.review-card,
.support-details article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 216, 209, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.category-card > svg,
.support-details svg {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: var(--lime);
}

.category-card h2,
.review-card h2,
.support-details h2 {
  font-size: 1.45rem;
}

.category-card p,
.review-card p,
.support-details p {
  color: var(--muted);
  line-height: 1.65;
}

.category-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--lime);
  font-weight: 800;
}

.review-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 800;
}

.review-card strong {
  color: var(--soft);
}

.support-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.form-row {
  display: grid;
  gap: 8px;
}

.full-row {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  outline: 0;
}

.form-row input,
.form-row select {
  min-height: 48px;
  padding: 0 14px;
}

.form-row textarea {
  min-height: 160px;
  resize: vertical;
  padding: 14px;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #111707;
  font-weight: 800;
}

.support-details {
  display: grid;
  gap: 16px;
}

.text-page {
  display: grid;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(18px, 5vw, 76px);
}

.text-page article {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.text-page article:last-child {
  border-bottom: 0;
}

.text-page h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.text-page p {
  color: #c7d5dd;
  line-height: 1.75;
}

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

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(9, 16, 21, 0.92), rgba(9, 16, 21, 0.66)),
    url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.admin-login-panel {
  display: grid;
  width: min(520px, 100%);
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 14, 18, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.admin-login-panel h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.admin-login-panel p:not(.eyebrow),
.form-status {
  color: var(--muted);
  line-height: 1.65;
}

.support-success {
  grid-column: 1 / -1;
  min-height: auto;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(186, 255, 47, 0.35);
  border-radius: 8px;
  background: rgba(186, 255, 47, 0.1);
  color: #e9ffc2;
  font-weight: 800;
}

.support-error {
  grid-column: 1 / -1;
  min-height: auto;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 95, 0.35);
  border-radius: 8px;
  background: rgba(255, 107, 95, 0.1);
  color: #ffd1cd;
  font-weight: 800;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-login-form,
.admin-form {
  display: grid;
  gap: 14px;
}

.admin-login-form label,
.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-login-form span,
.admin-form span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-login-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  outline: 0;
}

.admin-login-form input,
.admin-form input,
.admin-form select {
  min-height: 48px;
  padding: 0 14px;
}

.admin-form textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.admin-login-form button,
.admin-form button,
.admin-topbar-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #111707;
  font-weight: 800;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 20, 0.92);
  backdrop-filter: blur(18px);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-actions a {
  color: var(--lime);
  font-weight: 800;
}

.admin-topbar-actions button {
  padding: 0 16px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
}

.admin-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.admin-sidebar h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.admin-sidebar nav a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d6e0e5;
  font-weight: 800;
}

.admin-workspace,
.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

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

.admin-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

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

.metric-grid article,
.analytics-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  font-size: 2rem;
}

.admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
}

.admin-form .wide,
.admin-form .checkbox-row,
.admin-form button,
.admin-form .form-status {
  grid-column: 1 / -1;
}

.admin-form .checkbox-row {
  display: flex;
  align-items: center;
}

.admin-form .checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.admin-list p,
.analytics-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-list button {
  min-height: 38px;
  border: 1px solid rgba(255, 107, 95, 0.35);
  border-radius: 8px;
  background: rgba(255, 107, 95, 0.1);
  color: #ffd1cd;
  font-weight: 800;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-grid h3 {
  margin-bottom: 16px;
}

.analytics-grid p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.analytics-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@media (max-width: 1100px) {
  .hero-media {
    opacity: 0.4;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -52px;
  }

  .hero-content {
    padding-bottom: 44px;
  }

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

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

  .library-aside {
    position: static;
  }

  .category-grid,
  .game-category-grid,
  .review-grid,
  .script-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-page-layout {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 15, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav a {
    padding: 14px 10px;
  }

  .site-header.menu-active .main-nav {
    display: flex;
  }

  .menu-button {
    display: inline-grid;
  }

  .header-actions .icon-button:first-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-media {
    right: -120px;
    top: 18%;
    min-width: 360px;
  }

  .hero-search {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .section-heading,
  .support-section {
    grid-template-columns: 1fr;
  }

  .drop-grid,
  .creator-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .game-category-grid,
  .faq-grid,
  .review-grid,
  .script-showcase,
  .directory-filters,
  .live-script-card,
  .script-detail-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .script-card-side {
    justify-items: start;
    padding-left: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .scripts-process {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-section-heading,
  .admin-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-form,
  .metric-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.85rem);
  }

  .hero-stats span {
    width: 100%;
    justify-content: space-between;
  }

  .drop-card,
  .library-aside,
  .creator-grid article,
  .support-card,
  .script-pack-card,
  .category-card,
  .review-card,
  .contact-form,
  .support-details article {
    padding: 18px;
  }
}
