:root {
  --color-bg: #080c14;
  --color-bg-2: #10182b;
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-surface-2: rgba(255, 255, 255, 0.09);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-soft: rgba(255, 255, 255, 0.06);
  --color-text: #f2f5ff;
  --color-text-muted: #9aa8c7;
  --color-text-soft: #6f7d9a;
  --color-accent: #00e676;
  --color-accent-2: #7b5cff;
  --color-accent-hover: #00c853;
  --color-accent-soft: rgba(0, 230, 118, 0.12);
  --color-accent-border: rgba(0, 230, 118, 0.35);
  --color-warn: #ffc107;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 28px rgba(0, 230, 118, 0.25);
  --max-width: 920px;
  --glass: blur(16px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, Inter, system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  min-height: 100vh;
  position: relative;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: blob-float 14s ease-in-out infinite;
}

.bg-blob--green {
  width: 320px;
  height: 320px;
  background: #00e676;
  top: -80px;
  right: -60px;
}

.bg-blob--purple {
  width: 280px;
  height: 280px;
  background: #7b5cff;
  bottom: 10%;
  left: -80px;
  animation-delay: -5s;
}

.bg-blob--blue {
  width: 220px;
  height: 220px;
  background: #00b8ff;
  top: 40%;
  right: 10%;
  animation-delay: -9s;
  opacity: 0.25;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.06); }
}

.demo-strip,
.site-header,
main.wrap,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #5dffa8;
}

.gradient-text {
  background: linear-gradient(135deg, #00e676 0%, #7bffb8 50%, #7b5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  background: rgba(8, 12, 20, 0.96);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  padding-top: max(var(--space-3), env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner,
header .wrap,
main.wrap,
footer.wrap,
.site-footer.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  min-height: 44px;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d1420, #080c14);
  border: 1px solid rgba(0, 230, 118, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  overflow: hidden;
}

.brand__logo img {
  width: 24px;
  height: 24px;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.site-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.site-nav__btn:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
  transform: translateY(-1px);
}

.site-nav__btn--active,
.site-nav__btn--active:hover {
  color: #04120a;
  background: linear-gradient(135deg, #00e676, #00c853);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.site-nav__btn--outline {
  border-color: rgba(123, 92, 255, 0.45);
  color: #c4b5ff;
}

.hero {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: linear-gradient(145deg, rgba(0, 230, 118, 0.08), rgba(123, 92, 255, 0.08));
  border: 1px solid var(--color-accent-border);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.15), transparent 55%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.ui-icon--chip {
  opacity: 0.95;
}

.ui-icon--inline {
  vertical-align: -3px;
  margin-right: 4px;
}

.chip .ui-icon {
  color: var(--color-accent);
}

.btn-with-icon {
  gap: 8px;
}

.btn-with-icon .ui-icon {
  color: inherit;
}

.site-nav__btn .ui-icon,
.site-tabbar__btn .ui-icon {
  color: currentColor;
}

.site-tabbar__btn--active .ui-icon {
  color: #04120a;
}

.extra summary {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quote-bonus__row,
.quote-bonus .quote-bonus__row,
.quote-promo .quote-bonus__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quote-bonus__row .ui-icon,
.quote-bonus__row .rbx-icon {
  flex-shrink: 0;
}

.chip--live {
  color: #5dffa8;
  border-color: rgba(0, 230, 118, 0.35);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__sub {
  margin: 0 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.stat {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border);
}

.stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat span {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.live-ticker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
  overflow: hidden;
}

.live-ticker__label {
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-ticker__text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: ticker-in 0.35s ease;
}

@keyframes ticker-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.step-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.step-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--color-text-soft);
}

.step-pill__icon .ui-icon,
.step-pill__icon .rbx-icon {
  display: block;
}

.step-pill:not(.active):not(.done) .step-pill__icon .ui-icon {
  color: #8b9ab8;
  opacity: 0.9;
}

.step-pill:not(.active):not(.done) .step-pill__icon .rbx-icon {
  opacity: 0.55;
  filter: grayscale(0.15);
}

.step-pill.active {
  color: #04120a;
  background: linear-gradient(135deg, #00e676, #00c853);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.step-pill.active .step-pill__icon .ui-icon {
  color: #04120a;
}

.step-pill.active .step-pill__icon .rbx-icon {
  opacity: 1;
  filter: none;
}

.step-pill.active .step-pill__icon .rbx-icon path {
  fill: #04120a;
}

.step-pill.active .step-pill__icon .rbx-icon path:last-child {
  fill: #c8ffe0;
  opacity: 0.9;
}

.step-pill.done {
  color: var(--color-text);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.12);
}

.step-pill.done .step-pill__icon .ui-icon {
  color: #5dffa8;
}

.step-pill.done .step-pill__icon .rbx-icon {
  opacity: 1;
  filter: none;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-4);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.card-title__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-border);
  flex-shrink: 0;
  color: var(--color-accent);
}

.card-title__icon--robux {
  background: rgba(0, 230, 118, 0.14);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.15);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.site-tabbar {
  display: none;
}

.site-tabbar__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 6px 4px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-tabbar__btn span {
  line-height: 1.1;
}

.site-tabbar__btn:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.site-tabbar__btn--active,
.site-tabbar__btn--active:hover {
  color: #04120a;
  background: linear-gradient(135deg, #00e676, #00c853);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.site-tabbar__btn--outline {
  border-color: rgba(123, 92, 255, 0.45);
  color: #c4b5ff;
}

.site-tabbar__btn--outline .ui-icon {
  color: #c4b5ff;
}

.site-tabbar__btn--outline .ui-icon svg path[fill="currentColor"] {
  fill: currentColor;
}

header.legacy-header {
  display: none;
}

main.wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}

.card > :last-child {
  margin-bottom: 0;
}

.card h2,
.section-title {
  margin: 0 0 var(--space-4);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.card h3,
.subsection-title {
  margin: var(--space-6) 0 var(--space-3);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3:first-child,
.subsection-title:first-child {
  margin-top: 0;
}

.card p {
  margin: 0 0 var(--space-3);
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0 0 var(--space-3);
  padding-left: var(--space-5);
}

.card ul li {
  margin-bottom: var(--space-2);
}

.card ul li:last-child {
  margin-bottom: 0;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-3);
  line-height: 1.45;
}

.icon-list li .ui-icon {
  margin-top: 2px;
}

.subsection {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-soft);
}

.subsection:first-of-type {
  margin-top: var(--space-5);
  padding-top: 0;
  border-top: none;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.section-head .section-title {
  margin: 0;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.security-badge .ui-icon {
  color: var(--color-accent);
}

.muted {
  color: var(--color-text-muted);
  font-size: 14px;
}

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 14px;
  font-weight: 500;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: var(--space-3) 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 16px;
  margin-bottom: var(--space-3);
  font-family: inherit;
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
  color: var(--color-text-soft);
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) 18px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #04120a;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-height: 44px;
  box-shadow: var(--shadow-glow);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:hover:not(:disabled),
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

button:active:not(:disabled),
.btn:active {
  transform: translateY(0);
}

button.secondary,
.btn.secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

button.secondary:hover:not(:disabled),
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  filter: none;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.row > * {
  flex: 1;
}

.row--search > input,
.row--search > select {
  flex: 1 1 160px;
  min-width: 0;
  margin-bottom: 0;
}

.row--search > button,
.row--search > .btn {
  flex: 0 0 auto;
  min-width: 88px;
}

.row--actions {
  margin-top: var(--space-5);
  gap: var(--space-3);
}

.row--actions > button,
.row--actions > .btn {
  min-height: 48px;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: var(--space-3);
  min-height: 48px;
}

.btn-cta {
  min-height: 56px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.35),
    0 0 28px rgba(0, 230, 118, 0.4),
    0 8px 24px rgba(0, 230, 118, 0.25);
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.btn-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.5),
    0 0 36px rgba(0, 230, 118, 0.55),
    0 10px 28px rgba(0, 230, 118, 0.32);
}

.btn-cta:active:not(:disabled) {
  transform: translateY(0);
}

.btn-cta:disabled {
  animation: none;
  opacity: 0.55;
  box-shadow: none;
  border-color: transparent;
}

.btn-cta--pay {
  min-height: 58px;
  font-size: 18px;
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 230, 118, 0.35),
      0 0 22px rgba(0, 230, 118, 0.35),
      0 6px 20px rgba(0, 230, 118, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 230, 118, 0.5),
      0 0 34px rgba(0, 230, 118, 0.5),
      0 10px 28px rgba(0, 230, 118, 0.3);
  }
}

.row--actions .btn-cta {
  flex: 2 1 auto;
}

.row--actions .btn-cta:only-of-type,
.row--actions .btn-cta:last-child:not(:only-child) {
  flex: 3 1 auto;
}

.notice {
  background: rgba(0, 184, 255, 0.1);
  border: 1px solid rgba(0, 184, 255, 0.35);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.notice.warn {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.4);
}

.notice.ok {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-border);
}

.hidden {
  display: none !important;
}

.users-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
  max-height: 320px;
  overflow-y: auto;
}

.user-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.user-card:hover:not(.selected) {
  border-color: var(--color-accent-border);
  transform: translateY(-1px);
}

.user-card.selected {
  border: 2px solid var(--color-accent);
  background: var(--color-accent-soft);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.18), var(--shadow-glow);
}

.user-card.selected:hover {
  border-color: var(--color-accent);
  background: rgba(0, 230, 118, 0.16);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.28), 0 0 28px rgba(0, 230, 118, 0.35);
  transform: translateY(-1px);
}

.user-card img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.user-card .info {
  min-width: 0;
}

.user-card .name {
  font-weight: 700;
  font-size: 15px;
}

.user-card .username {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.search-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-6) var(--space-3);
  font-size: 14px;
}

.packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  min-height: 128px;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pack-card:hover {
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.pack-card.selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.25), var(--shadow-glow);
  transform: translateY(-2px);
}

.pack-card.selected .pack-card__body {
  background: var(--color-accent-soft);
}

.pack-card.popular {
  border-color: rgba(255, 193, 7, 0.5);
}

.pack-card.popular .pack-card__body {
  padding-top: 30px;
}

.pack-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px var(--space-3);
  flex: 1;
  min-width: 0;
}

.pack-card--custom .pack-card__body {
  justify-content: flex-start;
  gap: var(--space-3);
  padding-left: var(--space-4);
}

.pack-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.22);
}

.pack-card__icon--robux {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.28);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.12);
}

.pack-card__icon .rbx-icon {
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.35));
}

.pack-card__icon .ui-icon {
  color: var(--color-accent);
}

.pack-card__amount {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  text-align: center;
}

.pack-card__amount .cur {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
}

.pack-card__amount.custom-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.pack-card__price {
  background: linear-gradient(135deg, #00e676, #00b86b);
  color: #04120a;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  padding: 10px var(--space-2);
}

.pack-card--custom .pack-card__price {
  background: linear-gradient(135deg, #5a5a6e, #3d3d4d);
  color: var(--color-text);
}

.pack-card__badge {
  position: absolute;
  top: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - var(--space-4));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a1200;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); }
  50% { box-shadow: 0 0 12px 2px rgba(255, 193, 7, 0.35); }
}

.rbx-icon {
  flex-shrink: 0;
}

.custom-amount-box {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-soft);
}

.custom-amount-box input {
  margin-bottom: 0;
}

.custom-amount-box .row > button {
  flex: 0 0 auto;
}

.promo-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
  margin-top: var(--space-2);
}

.promo-row input {
  margin-bottom: 0;
}

.promo-row button {
  white-space: nowrap;
}

.small-link {
  font-size: 13px;
  margin-top: var(--space-2);
  display: inline-block;
}

.extra {
  margin-top: var(--space-4);
  font-size: 14px;
}

.extra summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
}

.quote-box {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(145deg, rgba(0, 230, 118, 0.12), rgba(123, 92, 255, 0.08));
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}

.quote-main span {
  font-size: 28px;
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(0, 230, 118, 0.35);
}

.quote-bonus {
  margin-top: 6px;
  color: #5dffa8;
  font-size: 15px;
}

.status-text {
  text-align: center;
  font-size: 16px;
  margin: var(--space-4) 0 0;
  color: var(--color-text-muted);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item summary::after {
  color: var(--color-text-soft);
}

.faq-item__qicon {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid var(--color-accent-border);
}

.faq-item__answer {
  margin: 0;
  padding: 0 var(--space-4) 14px 52px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.order-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.25);
}

.order-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--color-text);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.demo-strip {
  background: rgba(255, 193, 7, 0.12);
  border-bottom: 1px solid rgba(255, 193, 7, 0.35);
  color: #ffd866;
  font-size: 13px;
  padding: var(--space-3) var(--space-4);
  padding-top: max(var(--space-3), env(safe-area-inset-top));
  text-align: center;
  line-height: 1.45;
}

.demo-strip strong {
  font-weight: 700;
}

.site-footer {
  padding: var(--space-5) var(--space-4);
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--color-text-soft);
  text-align: center;
  line-height: 1.5;
}

.pack-card--custom .pack-card__amount {
  text-align: left;
}

.pack-card__amount .num {
  white-space: nowrap;
}

.pack-card--custom .pack-card__body {
  justify-content: flex-start;
  gap: var(--space-3);
  padding-left: var(--space-4);
}

.card > .quote-box:first-child {
  margin-top: 0;
}

.card > .quote-box:last-child {
  margin-bottom: 0;
}

.quote-main {
  font-size: 22px;
  font-weight: 700;
}

.quote-main span {
  font-size: 28px;
  color: var(--color-accent);
}

.quote-bonus {
  margin-top: 6px;
  color: #5dffa8;
  font-size: 15px;
}

.quote-price {
  margin-top: 10px;
  font-size: 18px;
}

.quote-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
}

.quote-user__avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-accent-border);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

.quote-user__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-user__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-user__nick {
  font-size: 13px;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-promo {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-accent);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 14px;
}

.user-chip img {
  border-radius: var(--radius-sm);
}

.status-text {
  text-align: center;
  font-size: 16px;
  margin: var(--space-4) 0 0;
  color: var(--color-text-muted);
}

.pay-big {
  font-size: 18px;
  padding: 14px var(--space-6);
}

.faq-section {
  margin-top: 0;
}

.faq-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-4);
  font-size: 20px;
  font-weight: 700;
}

.faq-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #04120a;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px var(--space-4);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "⌃";
  margin-left: auto;
  color: var(--color-text-soft);
  font-size: 14px;
  transform: rotate(180deg);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item__qicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid var(--color-accent-border);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item__question {
  flex: 1;
  min-width: 0;
}

.faq-item__answer {
  margin: 0;
  padding: 0 var(--space-4) 14px 52px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.faq-item__answer a {
  font-weight: 500;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-2) 0;
  scrollbar-width: thin;
}

.table-scroll-hint {
  display: block;
  font-size: 12px;
  color: var(--color-text-soft);
  margin: 0 0 var(--space-2);
}

.table-scroll table {
  min-width: 0;
}

#ordersTable {
  min-width: 540px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--color-border-soft);
  padding: var(--space-3) var(--space-2);
  text-align: left;
  vertical-align: middle;
}

th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  padding-top: var(--space-2);
  padding-bottom: var(--space-3);
}

tbody tr:last-child td {
  border-bottom: none;
}

.order-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--color-text);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.order-id-line {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.order-id-hint {
  font-size: 13px;
  margin: var(--space-4) 0 0;
}

.orders-cards {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.order-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.25);
}

.order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.order-card__status {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
}

.order-card__date {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: right;
  line-height: 1.4;
}

.order-card__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.order-card__id {
  margin-bottom: var(--space-3);
}

.order-card__id .order-id {
  display: block;
  width: 100%;
  font-size: 12px;
  padding: var(--space-2) var(--space-3);
  white-space: normal;
  word-break: break-all;
}

.order-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.order-card__meta span {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.order-card__meta strong {
  font-size: 16px;
}

.order-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.order-card__actions .btn,
.order-card__actions button {
  width: 100%;
}

.orders-table-wrap {
  margin: var(--space-2) 0;
}

.table-actions {
  white-space: nowrap;
}

.table-actions a {
  display: inline-block;
  margin-right: var(--space-3);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.table-actions a:last-child {
  margin-right: 0;
}

.ref-link-box {
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: var(--space-3) 0;
}

#refLink {
  display: inline-block;
  max-width: 100%;
}

.site-footer {
  padding: var(--space-5) var(--space-4);
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--color-text-soft);
  text-align: center;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.steps {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.step {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9ecef;
  font-size: 13px;
}

.step.active {
  background: var(--color-accent);
  color: #fff;
}

.step.done {
  background: #28a745;
  color: #fff;
}

.order-status {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-status li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 14px;
}

@media (max-width: 720px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .demo-strip {
    font-size: 12px;
    padding: var(--space-2) var(--space-3);
    line-height: 1.35;
  }

  .site-header {
    padding-bottom: var(--space-3);
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
  }

  .brand__tag {
    display: none;
  }

  .brand__name {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .site-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
    background: rgba(8, 12, 20, 0.97);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
  }

  .site-tabbar__btn {
    min-height: 52px;
  }

  .hero {
    padding: var(--space-4) var(--space-3);
  }

  .hero__title {
    font-size: clamp(22px, 7vw, 28px);
  }

  .hero__sub {
    font-size: 13px;
    margin-bottom: var(--space-4);
  }

  .hero__badges {
    margin-bottom: var(--space-3);
  }

  .chip {
    font-size: 11px;
    padding: 5px 10px;
  }

  .stat {
    padding: var(--space-2) 6px;
  }

  .stat strong {
    font-size: 17px;
  }

  .stat span {
    font-size: 9px;
    line-height: 1.25;
  }

  .steps-bar {
    position: sticky;
    top: 0;
    z-index: 90;
    padding: var(--space-2) 0;
    margin-left: calc(-1 * var(--space-3));
    margin-right: calc(-1 * var(--space-3));
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.97) 70%, rgba(8, 12, 20, 0));
  }

  .step-pill {
    font-size: 11px;
    padding: 10px 4px;
    flex-direction: column;
    gap: 4px;
    min-height: 56px;
  }

  .step-pill__icon {
    font-size: 18px;
  }

  .card {
    padding: var(--space-4);
  }

  .card-title {
    font-size: 18px;
  }

  .quote-main {
    font-size: 20px;
  }

  .quote-main span {
    font-size: 26px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .row--search,
  .custom-amount-box .row,
  .promo-row {
    flex-direction: column;
    align-items: stretch;
  }

  .row--search > button,
  .custom-amount-box .row > button,
  .promo-row > button {
    width: 100%;
    flex: none;
    min-width: 0;
  }

  .row--search > input,
  .custom-amount-box .row > input,
  .promo-row > input {
    width: 100%;
    flex: none;
  }

  main.wrap {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .orders-cards {
    display: flex;
  }

  .orders-table-wrap,
  .table-scroll-hint {
    display: none !important;
  }

  .faq-item summary {
    font-size: 14px;
    padding: var(--space-3);
    gap: var(--space-2);
  }

  .faq-item__answer {
    padding: 0 var(--space-3) var(--space-3) 44px;
  }

  .quote-box {
    padding: var(--space-4) var(--space-3);
  }

  .quote-user {
    padding: var(--space-3) var(--space-2);
    gap: var(--space-2);
  }

  .quote-user__avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .quote-user__name {
    font-size: 14px;
  }

  .quote-user__nick {
    font-size: 12px;
  }

  .user-card {
    min-height: 64px;
    padding: var(--space-3);
  }

  .pack-card {
    min-height: 118px;
  }

  .pack-card__amount {
    font-size: 22px;
  }

  .pay-big {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
  }
}

@media (min-width: 721px) {
  .packages {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .security-badge {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  main.wrap {
    padding: var(--space-3);
    gap: var(--space-3);
  }

  .card {
    padding: var(--space-4);
    border-radius: 14px;
  }

  .pack-card__amount {
    font-size: 20px;
  }

  .row--actions {
    flex-direction: column;
  }

  header h1 {
    font-size: 15px;
  }

  .table-actions {
    white-space: normal;
  }

  .table-actions a {
    display: block;
    margin: 0 0 var(--space-1);
  }

  td .order-id {
    font-size: 10px;
    max-width: 76px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }

  th,
  td {
    padding: var(--space-2) var(--space-1);
  }

  .demo-strip {
    font-size: 12px;
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .row--actions > button,
  .row--actions > .btn {
    width: 100%;
    flex: none;
  }

  .row--actions > .btn-cta {
    order: -1;
    min-height: 56px;
    font-size: 17px;
  }

  .row--actions > .btn-cta--pay {
    min-height: 58px;
    font-size: 18px;
  }

  .subsection {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
  }
}

/* --- Производительность: мобилки и слабые устройства --- */
@media (max-width: 720px) {
  .bg-blob {
    animation: none;
    filter: blur(44px);
    opacity: 0.32;
  }

  .bg-blob--blue {
    display: none;
  }

  .card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(14, 20, 34, 0.94);
  }

  .btn-cta {
    animation: none;
  }

  .pack-card__badge {
    animation: none;
  }

  .pulse {
    animation: none;
    box-shadow: none;
  }

  .pack-card__icon .rbx-icon {
    filter: none;
  }

  .faq-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 360px;
  }

  .hero.card {
    contain: layout style paint;
  }
}

html.perf-lite .bg-blobs {
  display: none;
}

html.perf-lite body {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(0, 230, 118, 0.09), transparent),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(123, 92, 255, 0.07), transparent),
    var(--color-bg);
}

html.perf-lite .card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.perf-lite .btn-cta,
html.perf-lite .pack-card__badge,
html.perf-lite .pulse,
html.perf-lite .bg-blob {
  animation: none !important;
}

html.perf-lite .pack-card__icon .rbx-icon {
  filter: none;
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
