/* ==========================================================================
   XYZ Scripts — Home (new design)
   Gray-blue misty sky + green forest
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --sky-top: #53687a;
  --sky-mid: #6f8596;
  --sky-low: #8ea1af;
  --forest-deep: #0c2a1e;
  --green: #4ade80;
  --green-strong: #22c55e;
  --green-dark: #15803d;
  --ink: #f4f8f6;
  --ink-soft: rgba(236, 244, 240, 0.82);
  --glass: rgba(18, 36, 44, 0.38);
  --glass-border: rgba(255, 255, 255, 0.18);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.home {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, code, pre, .key-box, .code-box, #keyValue, #promoKeyValue {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* ---------- Scene (background) ---------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-forest {
  position: absolute;
  inset: -2%;
  background: url('/assets/forest_bg.jpg') center bottom / cover no-repeat;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  transition: transform 0.35s ease-out;
  will-change: transform;
}

/* soft vignette + readability veil */
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(22, 38, 50, 0.38) 0%, rgba(22, 38, 50, 0) 62%),
    linear-gradient(180deg, rgba(40, 58, 72, 0.28) 0%, rgba(40, 58, 72, 0) 35%, rgba(8, 28, 20, 0.30) 100%);
}

/* drifting mist */
.mist {
  position: absolute;
  left: -30%;
  width: 160%;
  height: 38%;
  background:
    radial-gradient(ellipse 30% 55% at 20% 50%, rgba(214, 226, 234, 0.30), transparent 70%),
    radial-gradient(ellipse 28% 50% at 55% 55%, rgba(214, 226, 234, 0.24), transparent 70%),
    radial-gradient(ellipse 32% 55% at 85% 45%, rgba(214, 226, 234, 0.28), transparent 70%);
  filter: blur(22px);
  opacity: 0.8;
}
.mist-1 { bottom: 22%; animation: drift 46s linear infinite alternate; }
.mist-2 { bottom: 8%;  animation: drift 64s linear infinite alternate-reverse; opacity: 0.6; }

@keyframes drift {
  from { transform: translateX(-6%); }
  to   { transform: translateX(6%); }
}

/* fireflies */
.fireflies { position: absolute; inset: 0; }
.firefly {
  position: absolute;
  bottom: 6%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow: 0 0 10px 3px rgba(134, 239, 172, 0.7);
  opacity: 0;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translate(0, 0); opacity: 0; }
  15%  { opacity: 0.9; }
  85%  { opacity: 0.7; }
  100% { transform: translate(var(--dx, 30px), -55vh); opacity: 0; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(940px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px rgba(6, 18, 26, 0.35);
  animation: nav-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes nav-in {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-brand img { height: 34px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35)); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-link.active { background: rgba(74, 222, 128, 0.18); color: #bbf7d0; }
.nav-link.cta {
  background: linear-gradient(135deg, var(--green-strong), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}
.nav-link.cta:hover { filter: brightness(1.1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 22px 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d1fae5;
  padding: 7px 16px;
  background: rgba(10, 40, 28, 0.38);
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(3.2rem, 11vw, 7.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 15%, #c7f3d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(8, 24, 34, 0.45));
  margin-bottom: 22px;
}
.hero-title span {
  background: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-soft);
  text-shadow: 0 2px 14px rgba(8, 24, 34, 0.5);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(6, 18, 26, 0.3);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn svg { flex-shrink: 0; }
.btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 34px rgba(6, 18, 26, 0.38);
}
.btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #16a34a 100%);
  border-color: rgba(187, 247, 208, 0.5);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4ade80 0%, #15a34a 100%);
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.6);
}

/* scroll-in animation */
.reveal { opacity: 0; animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.10s; } .d2 { animation-delay: 0.22s; }
.d3 { animation-delay: 0.34s; } .d4 { animation-delay: 0.48s; }
.d5 { animation-delay: 0.60s; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-help-link {
  margin-top: 22px;
  text-align: center;
}
.hero-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 22, 28, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  font-family: var(--font), system-ui, -apple-system, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 9px 24px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
}
.hero-help-btn:hover {
  background: rgba(28, 33, 42, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* ---------- Premium / pricing ---------- */
.page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 22px 80px;
}
.page-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbf7d0;
  margin-bottom: 12px;
}
.page-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(8, 24, 34, 0.45);
  margin-bottom: 12px;
}
.page-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-shadow: 0 2px 12px rgba(8, 24, 34, 0.5);
  margin-bottom: 44px;
}
.pricing-row {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  text-align: left;
}
@media (max-width: 720px) { .pricing-row { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: rgba(14, 30, 38, 0.52);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 14px 44px rgba(6, 18, 26, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 54px rgba(6, 18, 26, 0.45); }
.price-card.featured {
  border: 1.5px solid #4ade80;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.28), 0 14px 44px rgba(6, 18, 26, 0.35);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #34d399, #16a34a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.5);
}
.price-tier {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 238, 232, 0.65);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 4px;
}
.price-period { font-size: 0.88rem; color: rgba(226, 238, 232, 0.65); margin-bottom: 26px; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.96rem; color: #e2eee8; }
.price-features svg { color: #4ade80; flex-shrink: 0; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .btn:disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
  transform: none !important;
  box-shadow: none;
}

/* ---------- Footer ---------- */
.foot {
  position: fixed;
  left: 0; right: 0; bottom: 14px;
  z-index: 6;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(236, 244, 240, 0.7);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- Premium dashboard ---------- */
[hidden] { display: none !important; }

.login-card {
  width: min(430px, 100%);
  padding: 28px 26px 26px;
  text-align: left;
  background: rgba(14, 26, 34, 0.62);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 70px rgba(6, 18, 26, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.login-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.login-head img { height: 44px; width: auto; filter: drop-shadow(0 2px 10px rgba(34, 197, 94, 0.35)); }
.login-head h1 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.login-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 238, 232, 0.65);
  margin-bottom: 10px;
}
.login-input {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--font);
  font-size: 0.98rem;
  color: #fff;
  background: rgba(6, 16, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-input::placeholder { color: rgba(226, 238, 232, 0.38); }
.login-input:focus { border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
.login-input.invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.login-error { margin-top: 10px; font-size: 0.86rem; color: #fca5a5; }
.login-btn { width: 100%; justify-content: center; margin-top: 18px; cursor: pointer; }
.login-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.login-back {
  margin-top: 22px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(8, 24, 34, 0.5);
  transition: color 0.2s, transform 0.2s;
}
.login-back:hover { color: #fff; transform: translateX(-3px); }

.dash {
  position: relative;
  z-index: 5;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 120px 22px 70px;
  animation: reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dash-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dash-hero .page-label { display: block; }
.dash-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 22px rgba(8, 24, 34, 0.45);
  word-break: break-word;
}
.dash-sub { color: var(--ink-soft); margin-top: 6px; text-shadow: 0 2px 10px rgba(8, 24, 34, 0.45); }
.dash-hero-actions { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #bbf7d0;
  background: rgba(10, 40, 28, 0.5);
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-pill.off { color: #fecaca; border-color: rgba(248, 113, 113, 0.4); background: rgba(60, 14, 14, 0.5); }
.status-pill.off i { background: #f87171; box-shadow: 0 0 10px #f87171; }

.btn-small { padding: 10px 18px; font-size: 0.88rem; border-radius: 11px; cursor: pointer; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 820px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 18px 20px;
  background: rgba(10, 24, 34, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 30px rgba(2, 9, 14, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 16px 36px rgba(2, 9, 14, 0.5), 0 0 20px rgba(34, 197, 94, 0.12);
}
.stat-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(226, 238, 232, 0.7); margin-bottom: 6px; }
.stat strong { font-size: 1.45rem; font-weight: 800; color: #fff; }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-wide { grid-column: 1 / -1; }
.dash-card {
  padding: 24px 26px;
  background: rgba(10, 24, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 16px 40px rgba(2, 9, 14, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 20px 48px rgba(2, 9, 14, 0.55), 0 0 25px rgba(34, 197, 94, 0.12);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2, .dash-support h2 { font-size: 1.1rem; font-weight: 800; color: #fff; }
.card-text { font-size: 0.94rem; line-height: 1.55; color: #dbe8e1; margin-bottom: 14px; }
.card-note { font-size: 0.8rem; color: rgba(226, 238, 232, 0.65); margin-top: 12px; }
.tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 999px;
}
.tag-muted { color: rgba(226, 238, 232, 0.7); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }

.key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(4, 14, 20, 0.65);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 14px;
}
.key-box code { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 0.88rem; color: #86efac; overflow-wrap: anywhere; }
.key-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.icon-btn:hover { background: rgba(74, 222, 128, 0.2); border-color: #4ade80; color: #bbf7d0; }

.code-box {
  padding: 14px 16px;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #d1fae5;
  background: rgba(6, 16, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow-x: auto;
  white-space: pre;
}

.mini-search {
  width: min(240px, 100%);
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 0.86rem;
  color: #fff;
  background: rgba(6, 16, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  outline: none;
}
.mini-search:focus { border-color: #4ade80; }
.mini-search::placeholder { color: rgba(226, 238, 232, 0.45); }

.script-list { display: flex; flex-direction: column; gap: 10px; }
.script-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(6, 16, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  transition: border-color 0.2s, transform 0.2s;
}
.script-item:hover { border-color: rgba(74, 222, 128, 0.45); transform: translateY(-1px); }
.script-name { font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.script-meta { font-size: 0.82rem; color: rgba(226, 238, 232, 0.62); margin-top: 3px; }
.empty { padding: 26px; text-align: center; color: rgba(226, 238, 232, 0.6); font-size: 0.92rem; }

.dash-support { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dash-support .card-text { margin: 6px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 40, 28, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.5);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: rgba(60, 14, 14, 0.92); border-color: rgba(248, 113, 113, 0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .nav { padding: 7px 8px 7px 12px; }
  .nav-brand span { display: none; }
  .nav-link { padding: 8px 11px; font-size: 0.84rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
}

/* ==========================================================================
   DISCORD PROFILE MODAL (STAATSANWALT PROFILE & TICKET)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.discord-profile-modal-box {
  width: 100%;
  max-width: 390px;
  background: #111214;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 50px rgba(34, 197, 94, 0.18);
  position: relative;
  color: #dbdee1;
  font-family: var(--font);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.discord-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.discord-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 1);
  transform: scale(1.08);
}

.discord-profile-banner {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}

.discord-profile-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(17, 18, 20, 0.25) 100%);
}

.discord-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px;
  margin-top: -46px;
  position: relative;
  z-index: 10;
}

.discord-avatar-container {
  position: relative;
  width: 86px;
  height: 86px;
}

.discord-avatar-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 6px solid #111214;
  object-fit: cover;
  background: #1e1f22;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: block;
}

.discord-status-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #f23f43;
  border: 4px solid #111214;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
}

.discord-status-badge::after {
  content: '';
  width: 8px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 1px;
}

.discord-custom-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 18, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #dbdee1;
  text-decoration: none;
  backdrop-filter: blur(10px);
  margin-bottom: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.discord-custom-status-tag:hover {
  background: rgba(30, 31, 35, 0.95);
  border-color: rgba(74, 222, 128, 0.5);
  color: #4ade80;
  transform: translateY(-1px);
}

.discord-profile-body {
  padding: 14px 18px 20px 18px;
}

.discord-names-wrap {
  margin-bottom: 12px;
}

.discord-display-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #f2f3f5;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.discord-username-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.discord-handle {
  font-size: 0.88rem;
  color: #949ba4;
  font-weight: 600;
}

.discord-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(30, 31, 35, 0.95);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.discord-badge-icon {
  font-size: 0.8rem;
}

.discord-bio-card {
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.discord-server-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5865f2;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.discord-server-link:hover {
  color: #7983f5;
  text-decoration: underline;
}

.discord-bio-sub {
  color: #dbdee1;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bio-arrow {
  color: #949ba4;
  font-weight: 700;
}

.discord-ticket-box {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  padding: 16px;
}

.ticket-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(16, 185, 129, 0.16);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.ticket-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.ticket-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 14px;
}

.discord-ticket-actions {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 8px;
}

.btn-discord-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(187, 247, 208, 0.4);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-discord-ticket:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

.btn-discord-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f2f3f5;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-discord-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ---------- Key Player Row & Promo Modal ---------- */
.key-player-row {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(6, 16, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.key-player-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226, 238, 232, 0.65);
  margin-bottom: 3px;
}
.key-player-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font);
}
.key-player-val.bound {
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Promo Modal */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 10, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: reveal 0.3s ease both;
}
.promo-modal-box {
  width: min(480px, 100%);
  background: linear-gradient(170deg, rgba(16, 32, 42, 0.95) 0%, rgba(8, 18, 24, 0.98) 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(34, 197, 94, 0.15);
  position: relative;
}
.promo-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.promo-modal-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 999px;
}
.promo-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}
.promo-modal-close:hover { color: #fff; }
.promo-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.promo-modal-desc {
  font-size: 0.92rem;
  color: rgba(226, 238, 232, 0.8);
  line-height: 1.5;
  margin-bottom: 16px;
}
.promo-key-box {
  background: rgba(4, 14, 20, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.promo-key-box code {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4ade80;
}
.promo-account-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.promo-notice-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.3; }
.promo-notice-text { font-size: 0.84rem; color: #cbd5e1; line-height: 1.45; }
.promo-notice-text strong { color: #93c5fd; }
.promo-modal-footer { margin-top: 10px; }

/* ==========================================================================
   TEBEX-STYLE STORE CHECKOUT MODAL
   ========================================================================== */
.tebex-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 12, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tebex-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.tebex-box {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(175deg, rgba(16, 30, 36, 0.97) 0%, rgba(9, 18, 23, 0.98) 100%);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(34, 197, 94, 0.12);
  padding: 26px 28px;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tebex-backdrop.active .tebex-box {
  transform: translateY(0) scale(1);
}

.tebex-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tebex-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tebex-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tebex-brand-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86efac;
}

.tebex-top-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tebex-secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tebex-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s, transform 0.15s;
}

.tebex-close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Product Overview */
.tebex-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: rgba(6, 16, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.tebex-prod-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tebex-prod-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(21, 128, 61, 0.3) 100%);
  border: 1px solid rgba(74, 222, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
}

.tebex-prod-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.tebex-prod-sub {
  font-size: 0.8rem;
  color: #86efac;
  font-weight: 600;
  margin-top: 3px;
}

.tebex-price-tag {
  text-align: right;
  flex-shrink: 0;
}

.tebex-price-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tebex-price-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

/* Features list in modal */
.tebex-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-bottom: 22px;
}

.tebex-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(226, 238, 232, 0.88);
  font-weight: 500;
}

.tebex-feature-item svg {
  flex-shrink: 0;
  color: #4ade80;
}

/* Payment Methods */
.tebex-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tebex-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.tebex-pay-card {
  background: rgba(6, 16, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.tebex-pay-card:hover {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(14, 28, 36, 0.8);
  transform: translateY(-2px);
}

.tebex-pay-card.selected {
  border-color: #4ade80;
  background: rgba(16, 44, 32, 0.6);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25), inset 0 0 12px rgba(34, 197, 94, 0.1);
}

.tebex-pay-icon {
  font-size: 1.45rem;
  margin-bottom: 6px;
  display: block;
}

.tebex-pay-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.tebex-pay-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.6rem;
  color: transparent;
  transition: all 0.2s;
}

.tebex-pay-card.selected .tebex-pay-check {
  background: #22c55e;
  border-color: #4ade80;
  color: #000;
}

.tebex-method-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tebex-buy-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  justify-content: center;
  cursor: pointer;
}

.tebex-footer-note {
  margin-top: 12px;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.8);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Step 2: Confirmation / Order Code Box */
.tebex-confirm-box {
  text-align: center;
}

.tebex-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tebex-confirm-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.tebex-confirm-desc {
  font-size: 0.88rem;
  color: rgba(226, 238, 232, 0.78);
  line-height: 1.5;
  margin-bottom: 18px;
}

.tebex-order-card {
  background: rgba(4, 14, 20, 0.9);
  border: 1.5px dashed rgba(74, 222, 128, 0.6);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.tebex-order-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #86efac;
  margin-bottom: 6px;
}

.tebex-order-code {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 1.9rem;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: 0.06em;
  margin: 6px 0 12px;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.tebex-order-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tebex-warn-box {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fef08a;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.tebex-steps-list {
  text-align: left;
  background: rgba(6, 16, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.tebex-steps-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.tebex-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.45;
  margin-bottom: 8px;
}

.tebex-step:last-child { margin-bottom: 0; }

.tebex-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tebex-confirm-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Spinner helper */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  margin-right: 8px;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 540px) {
  .tebex-box { padding: 20px 16px; }
  .tebex-features { grid-template-columns: 1fr; }
  .tebex-payment-grid { grid-template-columns: 1fr; }
  .tebex-order-code { font-size: 1.5rem; }
}


