
:root {
  --bg: #080a12;
  --bg-elevated: #10131d;
  --accent: #8b7bff;
  --accent-2: #6366f1;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --gradient: linear-gradient(120deg, #a99bff 0%, #7c6cff 42%, #38bdf8 100%);
  --gradient-text: linear-gradient(115deg, #d9d3ff 0%, #a99bff 34%, #6ea8ff 68%, #4fe3e3 100%);
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f3f3;
  --muted: #a1a1aa;
  --faint: #71717a;
  --btn-fg: #09090b;
  --btn-bg: #d4d4d8;
  --btn-bg-hover: #e4e4e7;
  --ok: #4ade80;
  --danger: #f87171;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  --font: "Geist", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Geist", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", monospace;
  --max: 72rem;
  --nav-h: 68px;
  --glass: rgba(17, 19, 30, 0.84);
  --glass-border: rgba(124, 58, 237, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.hidden { display: none !important; }


.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(168, 85, 247, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 38% at 8% 85%, rgba(79, 70, 229, 0.07), transparent 60%),
    #05070a;
}
.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform, opacity;
}
.page-bg::before {
  width: min(82vw, 980px);
  height: min(58vw, 680px);
  top: -16%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 58, 237,.24) 0%, rgba(124, 58, 237,.08) 40%, transparent 72%);
  opacity: .85;
  animation: pageGlowA 22s ease-in-out infinite alternate;
}
.page-bg::after {
  width: min(62vw, 760px);
  height: min(48vw, 580px);
  right: -12%;
  top: 12%;
  background: radial-gradient(circle, rgba(168, 85, 247,.16) 0%, rgba(99, 102, 241,.07) 42%, transparent 72%);
  opacity: .8;
  animation: pageGlowB 28s ease-in-out infinite alternate;
}
.page-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: .55;
  will-change: transform, opacity;
}
.page-orb-a { width: 280px; height: 280px; left: 8%; bottom: 18%; background: rgba(124, 58, 237,.12); animation: orbDriftA 26s ease-in-out infinite alternate; }
.page-orb-b { width: 220px; height: 220px; right: 14%; bottom: 8%; background: rgba(99, 102, 241, 0.12); animation: orbDriftB 32s ease-in-out infinite alternate; }
.page-orb-c { width: 180px; height: 180px; left: 42%; top: 38%; background: rgba(124, 58, 237,.08); animation: orbDriftC 20s ease-in-out infinite alternate; }
.page-orb-d { width: 140px; height: 140px; right: 32%; top: 22%; background: rgba(255,255,255,.04); animation: orbDriftD 24s ease-in-out infinite alternate; }
@keyframes orbDriftA { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(6%, -8%) scale(1.12); opacity: .72; } }
@keyframes orbDriftB { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-8%, 6%) scale(1.1); opacity: .68; } }
@keyframes orbDriftC { 0% { transform: translate(-50%,0) scale(1); } 100% { transform: translate(-46%, 5%) scale(1.08); opacity: .6; } }
@keyframes orbDriftD { 0% { transform: translate(0,0); } 100% { transform: translate(4%, -6%); opacity: .5; } }
@keyframes pageGlowA {
  0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.62; }
  100% { transform: translateX(-48%) translateY(3%) scale(1.06); opacity: 0.82; }
}
@keyframes pageGlowB {
  0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate(-4%, 5%) scale(1.08); opacity: 0.78; }
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: .75rem 1rem;
}
.header-wrap { max-width: 64rem; margin: 0 auto; }
.pill-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .5rem .35rem .35rem;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: -0.02em;
}
.nav-brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav-divider {
  display: none;
  width: 2px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  margin: 0 .15rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: .125rem;
  margin-left: .15rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: .75rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.nav-link svg { opacity: .6; width: 14px; height: 14px; }
.nav-link.active svg { opacity: 1; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: .75rem;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #d4d4d8;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lang-menu {
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  min-width: 7rem;
  padding: .25rem;
  border-radius: .75rem;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: .5rem .65rem;
  border-radius: .5rem;
  font-size: .8125rem;
  color: var(--muted);
  cursor: pointer;
}
.lang-menu button:hover,
.lang-menu button.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-wrap { position: relative; }
.nav-divider-sm {
  display: none;
  width: 2px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 .25rem;
}
.btn-auth {
  display: none;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: .75rem;
  font-size: .8125rem;
  font-weight: 500;
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  transition: border-color .2s, color .2s;
}
.btn-auth:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.burger:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem;
  margin-top: .5rem;
  border-radius: 1rem;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-divider, .nav-divider-sm { display: block; }
  .btn-auth { display: inline-flex; }
  .burger { display: none; }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s, opacity .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover { opacity: .85; }
.btn-sm { min-height: 2.25rem; padding: 0 .85rem; font-size: .8125rem; font-weight: 600; }
.btn-block { width: 100%; }


.page-main { position: relative; z-index: 1; padding-top: var(--nav-h); }
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 3rem;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 56rem; }
.hero-section h1 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.gradient-line {
  background: linear-gradient(to right, #fff, #e4e4e7, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0;
}


.platforms-section { padding: 3rem 1rem; }
.platforms-row {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.platform-pills span {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.platform-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}


.section { padding: 5rem 1rem; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: .75rem;
}
.section-head p { color: var(--muted); font-size: 1rem; }


.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  text-align: center;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: transform .35s, background .35s;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.04); }
.stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.stat-card:hover .stat-icon { color: #e4e4e7; border-color: rgba(255, 255, 255, 0.1); }
.stat-value {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(to bottom right, #fff, #e4e4e7, #71717a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .35rem;
}
.stat-value .suffix { font-size: 1.75rem; color: #52525b; }
.stat-title { font-size: 1rem; font-weight: 500; color: #e4e4e7; margin-bottom: .2rem; }
.stat-desc { font-size: .75rem; color: var(--faint); }


.how-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .how-card-main { grid-row: span 2; }
}
.how-card {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  transition: transform .35s, background .35s;
}
.how-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.04); }
.how-card-main { padding: 2.5rem 2rem; }
@media (min-width: 768px) { .how-card-main { padding: 3rem; } }
.how-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.how-card-sm .how-icon { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.how-card-sm .how-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.how-card-sm .how-head .how-icon { margin-bottom: 0; }
.how-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: .75rem;
  letter-spacing: -0.02em;
}
.how-card-main h3 { font-size: 1.5rem; }
@media (min-width: 768px) { .how-card-main h3 { font-size: 1.875rem; } }
.how-card p { color: var(--faint); font-size: .9375rem; line-height: 1.65; }
.how-card-main p { font-size: 1rem; }


.pricing-grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.75rem;
}
.price-card.featured {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: #e4e4e7;
  color: #09090b;
}
.price-card h3 { color: var(--muted); font-size: 1rem; margin-bottom: .35rem; }
.price-amount {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 500; margin-left: .15rem; }
.price-desc { color: var(--muted); margin: .85rem 0 1.25rem; font-size: .9rem; }
.price-list { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.price-list li {
  color: var(--muted);
  font-size: .875rem;
  padding-left: 1.1rem;
  position: relative;
}
.price-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a1a1aa;
  position: absolute;
  left: 0;
  top: .55rem;
}
.pricing-loading {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}
.spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #e4e4e7;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; height: auto; border-radius: .5rem; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .875rem; max-width: 18rem; line-height: 1.6; }
.footer-col h4 { font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .5rem; }
.footer-col a { color: var(--muted); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.footer-social a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { color: var(--muted); font-size: .875rem; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  background: rgba(74, 222, 128, 0.1);
  color: #86efac;
}
.status-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--ok);
}


.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}
.auth-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  animation: authIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.auth-card h1 {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: .25rem 0 .5rem;
}
.auth-card .sub { color: var(--muted); margin-bottom: 1.4rem; font-size: .9rem; }
.field { display: grid; gap: .4rem; margin-bottom: .9rem; }
.field label { font-size: .8125rem; color: var(--muted); }
.field input {
  width: 100%;
  min-height: 2.75rem;
  border-radius: .65rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  padding: 0 .9rem;
  outline: none;
  transition: border-color .2s;
}
.field input:focus { border-color: rgba(255, 255, 255, 0.28); }
.form-error { color: var(--danger); font-size: .85rem; min-height: 1.2rem; margin: .35rem 0 .75rem; }
.auth-switch { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.auth-switch a { color: #e4e4e7; text-decoration: underline; text-underline-offset: 2px; }


.app-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - var(--nav-h) - 2rem);
  margin: 1rem auto 2rem;
  max-width: var(--max);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.app-side {
  border-right: 1px solid var(--line);
  padding: 1.25rem 1rem;
  background: rgba(0, 0, 0, 0.2);
}
.app-side .side-label {
  color: var(--faint);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.app-side nav { display: grid; gap: .2rem; }
.side-link {
  border: 0;
  background: transparent;
  text-align: left;
  padding: .65rem .75rem;
  border-radius: .65rem;
  color: var(--muted);
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.side-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.side-link.active { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid var(--line); }
.app-main { padding: 1.5rem 1.35rem 2rem; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.app-top h1 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.app-top p { color: var(--muted); font-size: .875rem; margin-top: .2rem; }
.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.box {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}
.box h2 { font-size: .95rem; font-weight: 600; margin-bottom: .85rem; }
.kv { display: grid; gap: .5rem; }
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row span { color: var(--muted); }
.badge {
  display: inline-flex;
  padding: .15rem .5rem;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-free { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.badge-premium { background: rgba(255, 255, 255, 0.12); color: #e4e4e7; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th {
  color: var(--faint);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(0, 0, 0, 0.25);
}
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.mono { font-family: var(--mono); font-size: .8rem; }
.linkish { background: none; border: 0; color: #e4e4e7; cursor: pointer; padding: 0; text-decoration: underline; }
.warn-box {
  border: 1px solid rgba(250, 204, 21, 0.25);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  border-radius: .65rem;
  padding: .75rem 1rem;
  font-size: .85rem;
  margin: .75rem 0;
}
.code-box {
  border: 1px solid var(--line);
  background: #0a0a0b;
  border-radius: .65rem;
  padding: 1rem;
  font-family: var(--mono);
  font-size: .75rem;
  white-space: pre-wrap;
  word-break: break-all;
  color: #d4d4d8;
  max-height: 260px;
  overflow: auto;
}
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #18181b;
  border: 1px solid var(--line-strong);
  padding: .75rem 1rem;
  border-radius: .65rem;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-size: .875rem;
}

@keyframes authIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.app-panel {
  animation: none;
}
.tab-enter {
  animation: tabSoftIn 0.24s ease both;
}
@keyframes tabSoftIn {
  from { opacity: 0.88; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-enter { animation: none; }
}

.side-link {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.side-link:hover { transform: translateX(2px); }

@media (max-width: 900px) {
  .grid-2, .app-shell { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-shell { margin-left: 1rem; margin-right: 1rem; }
}


.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #09090b;
  color: #fff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-spin {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
  animation: spin 0.75s linear infinite;
}
.loader-phrase {
  margin-top: 1.25rem;
  min-width: 16rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d8;
}
.loader-phrase.phrase-in {
  animation: phraseIn 0.28s ease-out;
}
@keyframes phraseIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.site-header {
  transition: padding 0.35s ease;
}
.site-header.is-scrolled .pill-nav {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-inner {
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.hero-glow {
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.platform-pills span {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s;
}
.platform-pills span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.btn, .nav-link, .price-card, .stat-card, .how-card {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}
.btn:active { transform: translateY(0) scale(0.98); }

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pill-nav {
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-inner { opacity: 1; transform: none; animation: none; transition: none; }
  .loader-spin { animation-duration: 1.2s; }
  .page-bg::before, .page-bg::after { animation: none; }
}


:root {
  --bg: #070807;
  --bg-elevated: #0c0e0b;
  --surface: rgba(124, 58, 237, 0.04);
  --surface-hover: rgba(124, 58, 237, 0.08);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(124, 58, 237, 0.22);
  --text: #f2f5eb;
  --muted: #9aa395;
  --faint: #63685c;
  --accent: #8b7bff;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --blue: #8fbf8a;
  --danger: #ff6b73;
  --warning: #e8c66a;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --max: 76rem;
}

body { letter-spacing: -0.01em; }
body::selection { background: var(--accent); color: #0a0b08; }
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(168, 85, 247, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 38% at 8% 85%, rgba(79, 70, 229, 0.07), transparent 60%),
    #05070a;
}
.noise { opacity: .04; }
.identity-banner {
  display: flex; align-items: flex-start; gap: .85rem; flex-wrap: wrap;
  margin: 0 0 1rem; padding: .9rem 1rem;
  border: 1px solid rgba(232, 198, 106, .35);
  border-radius: var(--radius-md);
  background: rgba(232, 198, 106, .08);
}
.identity-banner strong { display: block; margin-bottom: .2rem; }
.identity-banner p { margin: 0; color: var(--muted); font-size: .82rem; max-width: 42rem; }
.identity-banner .btn { margin-left: auto; }
.oauth-row { display: grid; gap: .55rem; margin: 1rem 0 .35rem; }
.oauth-social { margin: 0 0 1rem; }
.oauth-social-lead {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}
.oauth-social-grid { display: grid; gap: .55rem; }
.oauth-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1rem 0 .9rem; color: var(--faint); font-size: .72rem; text-transform: lowercase;
}
.oauth-divider::before, .oauth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.btn-oauth {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  width: 100%; min-height: 48px; border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650; font-size: .92rem; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-oauth svg { flex-shrink: 0; }
.btn-oauth:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-oauth:active { transform: translateY(0); }
.btn-oauth-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 10px 28px rgba(88, 101, 242, .28);
}
.btn-oauth-telegram {
  background: #2AABEE;
  color: #fff;
  box-shadow: 0 10px 28px rgba(42, 171, 238, .28);
}
.oauth-tg-await { margin-top: .75rem; }
.oauth-tg-await-card {
  display: grid; gap: .55rem; justify-items: start;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(42, 171, 238, .35);
  background: rgba(42, 171, 238, .08);
}
.oauth-tg-await-card strong { color: var(--text); font-size: .9rem; }
.oauth-tg-await-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.oauth-tg-await-card .btn { width: auto; }
.oauth-tg-code {
  margin: 0 !important;
  padding: .45rem .6rem;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--accent, #8b7bff);
  font-size: .78rem;
  word-break: break-all;
}
.identity-card {
  display: grid; gap: .75rem; margin-top: 1rem;
}
.identity-link-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.identity-link-row .meta { color: var(--muted); font-size: .78rem; }
.pill-nav {
  min-height: 48px;
  border-radius: 14px;
  background: rgba(10, 12, 9, .82);
  border: 1px solid rgba(124, 58, 237, .12);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .4);
}
.nav-brand { font-size: .82rem; letter-spacing: -.01em; }
.nav-brand img { border-radius: 7px; }
.nav-link, .lang-btn, .btn-auth { border-radius: 9px; }
.btn {
  border-radius: 11px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.btn-primary { background: var(--text); color: #0b0c0d; }
.btn-primary:hover { background: #fff; box-shadow: 0 8px 28px rgba(255,255,255,.12); }
.btn-accent { background: var(--accent); color: #0b0d08; }
.btn-accent:hover { background: #a99bff; box-shadow: 0 10px 30px rgba(124, 58, 237,.13); }
.btn-danger { color: #ffdadd; border-color: rgba(255,122,130,.25); background: rgba(255,122,130,.08); }
.btn-icon { width: 2.5rem; padding: 0; }

.hero-section { min-height: 88vh; padding-top: 8rem; }
.hero-inner { max-width: 66rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .7rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c8c9cd;
  background: rgba(255,255,255,.025);
  font-size: .75rem;
  font-weight: 600;
}
.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.hero-section h1 {
  font-family: var(--font);
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: .98;
  font-weight: 650;
  letter-spacing: -.065em;
}
.gradient-line {
  background: linear-gradient(105deg, #fff 10%, #a9abb1 80%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead { max-width: 42rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.25rem;
  color: var(--faint);
  font-size: .78rem;
}
.hero-proof span { display: inline-flex; align-items: center; gap: .42rem; }
.hero-proof span::before { content: "✓"; color: var(--accent); }
.hero-glow {
  background: radial-gradient(500px 250px at 50% 32%, rgba(255,255,255,.055), transparent 72%);
}
.section { padding: 6.5rem 1rem; }
.section-head { max-width: 45rem; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: .85rem;
}
.section-head h2, .app-top h1 { font-family: var(--font); font-weight: 650; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.055em; line-height: 1.06; }
.platform-pills span {
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018);
  font-weight: 550;
}
.stats-grid { grid-template-columns: repeat(2, 1fr); max-width: 70rem; }
.stat-card { text-align: left; min-height: 190px; padding: 1.35rem; border-radius: 18px; }
.stat-card .stat-icon { margin: 0 0 2.1rem; width: 2.55rem; height: 2.55rem; }
.stat-value { font-family: var(--font); font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.06em; }
.stat-network { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.3fr; align-items: end; }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 75px; padding-bottom: 5px; }
.mini-bars i { flex: 1; min-width: 4px; border-radius: 3px 3px 1px 1px; background: rgba(124, 58, 237,.42); }


.network-status {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(124, 58, 237,.04), rgba(255,255,255,.015));
}
.network-status-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.network-status-head h3 { font-size: 1.35rem; letter-spacing: -.04em; margin: .35rem 0; }
.network-status-head p { color: var(--faint); font-size: .78rem; }
.status-head-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.status-range-tabs { display: inline-flex; gap: .25rem; padding: .2rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.status-range-tabs button {
  border: 0; background: transparent; color: var(--muted); font-size: .68rem; font-weight: 600;
  padding: .35rem .65rem; border-radius: 999px; cursor: pointer;
}
.status-range-tabs button.active { background: rgba(124, 58, 237,.14); color: var(--accent); }
.status-pill-warn { background: rgba(232,198,106,.12); color: #f5dc93; }
.status-pill-warn .status-dot { background: #e8c66a; }
.status-pill-bad { background: rgba(255,122,130,.12); color: #ffc5c9; }
.status-pill-bad .status-dot { background: var(--danger); }
.status-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr); gap: 1rem; }
.status-chart { min-height: 250px; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.status-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; color: var(--faint); font-size: .68rem; }
.status-chart-head strong { color: var(--text); font-size: .82rem; }
.status-svg { display: block; width: 100%; height: auto; }
.status-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.status-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.status-area {  }
.status-kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-bottom: .75rem; }
.status-kpi { padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); }
.status-kpi span { display: block; color: var(--faint); font-size: .62rem; margin-bottom: .2rem; }
.status-kpi strong { font-size: .92rem; letter-spacing: -.02em; }
.key-dialog .btn-block + .btn-block { margin-top: .65rem; }
.key-secret-actions { display: flex; flex-direction: column; gap: .65rem; margin-top: .35rem; }
.key-secret-inner .btn-block { margin-top: .45rem; }
@media (max-width: 900px) {
  .status-layout { grid-template-columns: 1fr; }
}
.status-dot { fill: var(--bg); stroke-width: 2; }
.status-dot-ok { stroke: var(--accent); }
.status-dot-warn { stroke: #e8c66a; }
.status-dot-bad { stroke: var(--danger); }
.status-dot-muted { stroke: var(--faint); }
.status-axis { fill: var(--faint); font-size: 9px; }
.status-empty { display: grid; place-items: center; min-height: 180px; color: var(--muted); font-size: .82rem; text-align: center; }
.status-systems { display: grid; gap: .55rem; align-content: start; }
.status-system {
  display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center;
  padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018);
}
.status-system strong { display: block; font-size: .78rem; }
.status-system small { color: var(--faint); font-size: .64rem; }
.status-system b { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.status-system-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status-system-ok .status-system-dot { background: var(--ok); box-shadow: 0 0 10px rgba(74,222,128,.35); }
.status-system-warn .status-system-dot { background: #e8c66a; }
.status-system-bad .status-system-dot { background: var(--danger); }
.uptime-strip {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.uptime-strip-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.uptime-strip-meta > div strong { display: block; font-size: .82rem; }
.uptime-strip-meta > div span { display: block; color: var(--faint); font-size: .66rem; margin-top: .15rem; }
.uptime-strip-meta > b { font-size: 1.35rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.uptime-bar { width: 100%; display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.04); }
.uptime-seg { flex: 1; min-width: 2px; border-radius: 2px; }
.uptime-seg.ok { background: rgba(74,222,128,.75); }
.uptime-seg.warn { background: rgba(232,198,106,.85); }
.uptime-seg.bad { background: rgba(255,122,130,.85); }
.uptime-seg.muted, .uptime-seg.unknown { background: rgba(255,255,255,.12); }


.player-search { display: grid; grid-template-columns: 1fr auto; gap: .65rem; margin-bottom: .85rem; }
.player-search input, .ticket-reply input { min-height: 44px; }
.ticket-reply {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .65rem;
  align-items: center;
  padding: .8rem 1.15rem 1rem;
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.018);
  border-radius: 0;
  transition: background .25s, box-shadow .25s;
}
.ticket-reply:focus-within {
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 1px 0 rgba(124, 58, 237,.1), 0 -8px 32px rgba(124, 58, 237,.04);
}
.ticket-reply input { width: 100%; min-height: 44px; border: none; background: transparent; padding: .55rem 0; box-shadow: none; }
.ticket-reply input:focus { border: none; box-shadow: none; transform: none; }
.ticket-messages, .messages.ticket-messages, .admin-messages.ticket-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.15rem 1.3rem;
  margin: 0;
  min-height: 280px;
  max-height: 460px;
  border: none;
  border-radius: 0;
  background: rgba(0,0,0,.14);
}
.player-layout { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: 1rem; }
.player-results, .player-profile { min-height: 320px; }
.player-result {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.015);
  color: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s;
}
.player-result:hover, .player-result:focus-visible { border-color: var(--line-strong); background: var(--surface-hover); }
.player-result strong { display: block; font-size: .82rem; }
.player-result small { color: var(--faint); font-size: .66rem; }
.player-result b { font-size: .74rem; white-space: nowrap; }
.risk-low { color: var(--ok); }
.risk-mid { color: #e8c66a; }
.risk-high { color: var(--danger); }
.risk-disclaimer { color: var(--faint); font-size: .68rem; margin: 0 0 1rem; }
.player-profile-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.player-id { color: var(--faint); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.risk-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1rem; }
.risk-gauge { text-align: center; }
.risk-ring {
  width: 74px; height: 74px; margin: 0 auto .45rem; border-radius: 50%;
  display: grid; place-items: center; background:
    radial-gradient(circle at center, rgba(8,9,10,.92) 58%, transparent 59%),
    conic-gradient(var(--gauge-color, var(--accent)) calc(var(--score) * 1%), rgba(255,255,255,.08) 0);
}
.risk-gauge strong { font-size: .95rem; }
.risk-gauge span { color: var(--faint); font-size: .64rem; }
.risk-gauge.danger { --gauge-color: var(--danger); }
.risk-gauge.safe { --gauge-color: var(--ok); }
.risk-gauge.info { --gauge-color: var(--blue); }
.aggregate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1rem; }
.aggregate-grid span { padding: .65rem; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: rgba(255,255,255,.015); }
.aggregate-grid strong { display: block; font-size: 1rem; }
.factor-list, .player-events { display: grid; gap: .45rem; }
.factor-row, .player-events > div {
  display: flex; justify-content: space-between; gap: .75rem; padding: .55rem .65rem;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.012); font-size: .72rem;
}
.player-section h3 { font-size: .82rem; margin: 1rem 0 .55rem; }
.player-timeline-chart { display: flex; align-items: flex-end; gap: 3px; min-height: 88px; padding: .5rem 0; }
.player-timeline-chart .timeline-bar { flex: 1; min-width: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(129,255,194,.85), rgba(129,255,194,.18)); }
.player-timeline-chart .timeline-bar.has-alert { background: linear-gradient(180deg, #f5a623, rgba(245,166,35,.25)); }
.player-timeline-chart .timeline-bar.has-punish { background: linear-gradient(180deg, #ee1955, rgba(238,25,85,.25)); }
.player-timeline-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .72rem; color: var(--muted); margin-top: .35rem; }
.player-timeline-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; }
.player-timeline-legend .legend-checks::before { background: rgba(129,255,194,.7); }
.player-timeline-legend .legend-alerts::before { background: #f5a623; }
.player-timeline-legend .legend-punish::before { background: #ee1955; }
.player-identity-tools { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }


.key-dialog .modal-inner { width: min(460px, calc(100vw - 2rem)); text-align: center; }
.key-dialog .modal-lead { color: var(--muted); font-size: .82rem; margin-bottom: 1rem; }
.key-dialog .secret-label { display: block; text-align: left; margin: .85rem 0 .35rem; color: var(--faint); font-size: .68rem; }
.key-dialog .code-box { text-align: left; max-height: 180px; overflow: auto; }
.step-success { display: inline-block; margin-bottom: .35rem; color: var(--accent); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }


.ticket-back { display: none; margin-bottom: .75rem; min-height: 44px; }
.ticket-thread .message { max-width: 82%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.02); animation: messageIn .34s cubic-bezier(.22,1,.36,1) both; }
.ticket-thread .message.customer { align-self: flex-end; border-color: rgba(124, 58, 237,.14); border-radius: 12px 12px 4px 12px; background: var(--accent-soft); }
.ticket-thread .message span { display: block; margin-top: .35rem; color: var(--faint); font-size: .64rem; }

.how-grid { gap: 1rem; max-width: 70rem; }
.how-card { border-radius: 18px; padding: 1.6rem; }
.how-card-main { background: linear-gradient(145deg, rgba(124, 58, 237,.08), rgba(255,255,255,.02)); }
.how-icon { border-radius: 12px; }
.price-card { border-radius: 18px; padding: 1.6rem; }
.price-card.featured { box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.price-badge { background: var(--accent); }
.faq-list { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.faq-item summary::after { content: "+"; color: var(--faint); font-size: 1.25rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding: 0 0 1.35rem; max-width: 44rem; }


.auth-page { display: block; padding: 6.75rem 1rem 2rem; }
.auth-shell {
  width: min(960px, 100%);
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #0d0f10;
  box-shadow: var(--shadow-lg);
}
.auth-story {
  position: relative;
  padding: 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(500px 360px at 35% 15%, rgba(124, 58, 237,.09), transparent 68%),
    #101214;
  border-right: 1px solid var(--line);
}
.auth-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.auth-story > * { position: relative; z-index: 1; }
.auth-story h2 { max-width: 24rem; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.055em; line-height: 1.05; }
.auth-story p { color: var(--muted); max-width: 23rem; }
.auth-signal { display: grid; gap: .75rem; }
.signal-row { display: flex; align-items: center; justify-content: space-between; padding: .75rem .85rem; border: 1px solid var(--line); background: rgba(0,0,0,.18); border-radius: 11px; font-size: .78rem; color: var(--muted); }
.signal-row strong { color: var(--text); font-weight: 600; }
.signal-live { color: var(--accent) !important; }
.auth-form-wrap { padding: 3.25rem; display: flex; flex-direction: column; justify-content: center; }
.auth-card { width: 100%; border: 0; background: transparent; border-radius: 0; padding: 0; animation: authIn .7s cubic-bezier(.22,1,.36,1) both; }
.auth-card h1 { font-family: var(--font); font-size: 2rem; letter-spacing: -.045em; }
.field label { color: #c3c4c8; font-weight: 500; }
.field-control { position: relative; }
.field input, .field textarea, .field select {
  min-height: 3rem;
  background: #090a0b;
  border-radius: 10px;
  border-color: var(--line);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; padding: .75rem .9rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(124, 58, 237,.48);
  box-shadow: 0 0 0 3px rgba(124, 58, 237,.07);
  background: #0b0d0e;
}
.password-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--faint); cursor: pointer; padding: .4rem; }
.password-meter { display: flex; gap: 4px; margin-top: .5rem; }
.password-meter i { height: 3px; flex: 1; border-radius: 2px; background: var(--line); transition: background .2s; }
.password-meter[data-score="1"] i:nth-child(-n+1),
.password-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warning); }
.password-meter[data-score="3"] i:nth-child(-n+3),
.password-meter[data-score="4"] i:nth-child(-n+4) { background: var(--accent); }
.form-help { color: var(--faint); font-size: .74rem; margin-top: .35rem; }
.btn.is-loading { color: transparent; pointer-events: none; position: relative; }
.btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.25); border-top-color: #111; border-radius: 50%; animation: spin .7s linear infinite; }


.app-body { overflow-x: hidden; }
.app-shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 92px);
  max-width: 92rem;
  margin: 76px auto 1rem;
  border-radius: 18px;
  background: rgba(12,14,15,.86);
}
.app-side { padding: 1rem; display: flex; flex-direction: column; }
.app-side .side-label { padding: .65rem .75rem; }
.app-side nav { gap: .25rem; }
.side-link { display: flex; align-items: center; gap: .65rem; border: 1px solid transparent; border-radius: 9px; }
.side-link svg { width: 16px; height: 16px; color: var(--faint); }
.side-link.active { background: var(--surface-hover); }
.side-link.active svg { color: var(--accent); }
.side-spacer { flex: 1; min-height: 2rem; }
.side-account { width: 100%; padding: .65rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.02); color: var(--text); display: flex; align-items: center; gap: .65rem; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.side-account:hover { border-color: rgba(124, 58, 237,.24); background: rgba(255,255,255,.035); transform: translateY(-1px); }
.side-account-copy { min-width: 0; }
.side-account strong, .side-account-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-account strong { font-size: .8rem; }
.side-account-copy > span { color: var(--faint); font-size: .7rem; margin-top: .15rem; }
.user-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(124, 58, 237,.24); border-radius: 50%; background: linear-gradient(145deg, rgba(124, 58, 237,.16), rgba(99, 102, 241, 0.12)); color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.user-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.user-avatar-sm { width: 28px; height: 28px; font-size: .61rem; }
.user-avatar-xl { width: 76px; height: 76px; font-size: 1.15rem; box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.profile-chip { display: inline-flex; align-items: center; gap: .45rem; max-width: 13.5rem; padding: .28rem .62rem .28rem .22rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--muted); font-size: .7rem; cursor: pointer; transition: color .22s, border-color .22s, background .22s, box-shadow .22s; }
.profile-chip #headerName { flex: 1; min-width: 0; max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.profile-chip .user-avatar-sm { flex: 0 0 auto; }
.profile-chip:hover { color: var(--text); border-color: rgba(124, 58, 237,.2); background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(124, 58, 237,.08), 0 8px 24px rgba(124, 58, 237,.08); }
.profile-heading { justify-content: flex-start; }
.profile-avatar-wrap { position: relative; flex: 0 0 auto; }
.avatar-edit { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: .22rem .45rem; border: 1px solid var(--line); border-radius: 999px; background: #141617; color: var(--text); font-size: .6rem; cursor: pointer; box-shadow: var(--shadow-lg); }
.avatar-edit:hover { border-color: rgba(124, 58, 237,.3); color: var(--accent); }
.app-panel .kpi-card,
.app-panel .box,
.admin-content .admin-kpi,
.admin-content .admin-card { animation: none; }
.admin-content.is-live-refresh .admin-kpi,
.admin-content.is-live-refresh .admin-card,
.admin-content.is-live-refresh .admin-table tbody tr { animation: none !important; }
.admin-content.is-soft-refresh { opacity: .92; transition: opacity .2s ease; }
.admin-content.is-soft-refresh.is-ready { opacity: 1; }
.app-panel .kpi-card:nth-child(2),
.admin-content .admin-kpi:nth-child(2) { animation-delay: .035s; }
.app-panel .kpi-card:nth-child(3),
.admin-content .admin-kpi:nth-child(3) { animation-delay: .07s; }
.app-panel .kpi-card:nth-child(4),
.admin-content .admin-kpi:nth-child(4) { animation-delay: .105s; }
.app-panel .dashboard-grid > .box:nth-child(n+5),
.admin-content .admin-card:nth-child(n+2) { animation-delay: .12s; }
.data-table tbody tr, .table-wrap tbody tr, .admin-table tbody tr { animation: none; }
.modal[open] .modal-inner { animation: modalPop .26s cubic-bezier(.22,1,.36,1) both; }
@keyframes cardRise {
  from { opacity: 0; transform: translateY(9px) scale(.992); }
  to { opacity: 1; transform: none; }
}
@keyframes rowIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.app-main { min-width: 0; padding: 2rem; contain: layout style; }
.app-main > section { contain: layout style; }
.app-top { align-items: center; margin-bottom: 1.6rem; }
.app-top h1 { font-size: 1.8rem; letter-spacing: -.045em; }
.app-top p { color: var(--faint); }
.dashboard-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.kpi-card { grid-column: span 3; min-height: 132px; }
.kpi-label { color: var(--muted); font-size: .78rem; }
.kpi-value { margin-top: .75rem; font-size: 2rem; font-weight: 650; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.kpi-meta { margin-top: .15rem; color: var(--faint); font-size: .7rem; }
.box { border-radius: 13px; padding: 1.15rem; background: rgba(255,255,255,.022); }
.box-wide { grid-column: span 8; }
.box-narrow { grid-column: span 4; }
.box-full { grid-column: 1 / -1; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.box-head h2 { margin: 0; }
.range-tabs { display: flex; gap: .2rem; padding: .2rem; border-radius: 8px; background: rgba(255,255,255,.035); }
.range-tabs button { border: 0; background: transparent; color: var(--faint); font-size: .68rem; padding: .32rem .48rem; border-radius: 6px; cursor: pointer; }
.range-tabs button.active { background: rgba(255,255,255,.09); color: var(--text); }
.chart-wrap { position: relative; min-height: 320px; display: grid; gap: .75rem; }
.chart-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.chart-stat { padding: .58rem .7rem; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.chart-stat span { display: block; color: var(--faint); font-size: .64rem; margin-bottom: .2rem; }
.chart-stat strong { font-size: .82rem; font-weight: 600; }
.model-detections { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; min-height: 28px; }
.model-detections-label { color: var(--faint); font-size: .68rem; margin-right: .15rem; }
.model-detection-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); font-size: .7rem; }
.model-detection-chip strong { color: var(--text); font-size: .72rem; }
.model-detection-chip.pro { border-color: rgba(168,85,247,.35); }
.model-detection-chip.fast { border-color: rgba(34,197,94,.35); }
.model-detection-chip.test { border-color: rgba(96,165,250,.35); }
.chart-canvas { position: relative; height: 290px; min-height: 290px; overflow: hidden; border: 1px solid rgba(255,255,255,.065); border-radius: 12px; background: radial-gradient(110% 80% at 7% 5%, rgba(168,85,247,.13), transparent 58%), linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.006)); }
.chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-hit { position: absolute; inset: 0 0 0 0; cursor: crosshair; }
.chart-grid { stroke: rgba(255,255,255,.075); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.chart-axis { fill: var(--faint); font-size: 10px; font-family: var(--font); }
.chart-axis-left { fill: rgba(124, 58, 237,.72); }
.chart-axis-right { fill: rgba(99, 102, 241, 0.12); }
.chart-axis-bottom { fill: var(--muted); }
.chart-line-requests { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-line-detections { fill: none; stroke: var(--blue); stroke-width: 2.1; stroke-dasharray: 5 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .95; }
.chart-line-glow { stroke-width: 6; opacity: .28; stroke-dasharray: none; }
.chart-area { fill: url(#requestArea); }
.chart-bar-det { fill: url(#detectionBars); stroke: rgba(96,165,250,.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-dot-req { fill: #15111d; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .92; }
.chart-crosshair { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart-focus-req { fill: var(--accent); stroke: #101214; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-focus-det { fill: var(--blue); stroke: #101214; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .85rem; color: var(--faint); font-size: .72rem; margin-top: .25rem; }
.chart-legend span::before { content: ""; display: inline-block; width: 10px; height: 3px; margin-right: .35rem; border-radius: 2px; background: var(--accent); vertical-align: middle; }
.chart-legend span:last-child::before { width: 10px; height: 3px; background: transparent; border-top: 2px dashed var(--blue); }
.chart-tooltip { position: absolute; left: 0; pointer-events: none; padding: .5rem .6rem; border: 1px solid var(--line); background: #111315; border-radius: 10px; font-size: .7rem; box-shadow: var(--shadow-lg); min-width: 150px; z-index: 2; }
.chart-tooltip strong { display: block; margin-bottom: .35rem; font-size: .74rem; }
.chart-tip-row { display: flex; align-items: center; gap: .4rem; color: var(--muted); margin-top: .2rem; }
.chart-tip-row strong { color: var(--text); margin-left: auto; }
.chart-tip-req, .chart-tip-det { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.chart-tip-req { background: var(--accent); }
.chart-tip-det { background: var(--blue); }
.replay-temporarily-hidden { display: none !important; }
.distribution-list, .activity-list, .server-list, .ticket-list { display: grid; gap: .7rem; }
.distribution-row { display: grid; grid-template-columns: 72px 1fr 36px; gap: .6rem; align-items: center; font-size: .75rem; }
.distribution-track { height: 6px; background: rgba(255,255,255,.05); border-radius: 10px; overflow: hidden; }
.distribution-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.activity-item, .server-row, .ticket-row { display: flex; align-items: center; gap: .75rem; padding: .72rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.015); }
.activity-icon { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: rgba(99, 102, 241, 0.12); color: var(--blue); }
.activity-copy, .server-copy, .ticket-copy { min-width: 0; flex: 1; }
.activity-copy strong, .server-copy strong, .ticket-copy strong { display: block; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-copy span, .server-copy span, .ticket-copy span { color: var(--faint); font-size: .68rem; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; color: var(--muted); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.status.online::before, .status.open::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.status.answered::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
.status.waiting::before { background: var(--warning); box-shadow: 0 0 0 4px rgba(232,198,106,.1); }
.status.closed::before { background: var(--faint); }
.status.open { color: #8b7bff; }
.status.waiting { color: #f5dc93; }
.status.answered { color: #b8cbff; }
.status.closed { color: var(--faint); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--faint); }
.empty-state strong { display: block; color: var(--muted); margin-bottom: .3rem; }
.empty-state span { display: block; color: var(--faint); font-size: .78rem; }
.skeleton { position: relative; overflow: hidden; min-height: 18px; border-radius: 6px; background: rgba(255,255,255,.04); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.data-table { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table table { min-width: 700px; }
.table-wrap { border-radius: 12px; }
.code-actions { display: flex; justify-content: flex-end; margin-top: .6rem; }
.modal {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 2rem));
  max-height: min(90vh, 820px);
  margin: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background:
    radial-gradient(520px 220px at 10% -10%, rgba(124, 58, 237,.08), transparent 70%),
    linear-gradient(165deg, rgba(18,20,22,.98), rgba(10,11,12,.98));
  color: var(--text);
  padding: 0;
  box-shadow:
    0 28px 90px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(4,5,6,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.modal-inner { padding: 1.5rem 1.55rem 1.35rem; max-height: inherit; overflow: auto; }
.modal-inner h2 { font-size: 1.2rem; letter-spacing: -.03em; margin-bottom: .35rem; }
.modal-lead, .modal-inner > p.sub { color: var(--muted); font-size: .82rem; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ticket-layout { display: grid; grid-template-columns: 310px 1fr; gap: 1rem; min-height: 520px; padding: .15rem 0; }
.ticket-layout .box { padding: 0; overflow: hidden; }
.ticket-list { padding: .85rem .95rem; }
.ticket-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  padding: 0;
}
.ticket-thread .ticket-back { margin: .85rem .95rem 0; }
.ticket-thread .box-head {
  padding: .9rem 1.15rem .75rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.ticket-thread > .empty-state { padding: 1rem 1.15rem; }
.ticket-thread .message,
.ticket-messages .message {
  max-width: 78%;
  padding: .72rem .88rem;
  border-radius: 12px 12px 12px 4px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.ticket-thread .message.customer,
.ticket-messages .message.customer {
  align-self: flex-end;
  border-color: rgba(124, 58, 237,.14);
  border-radius: 12px 12px 4px 12px;
  background: var(--accent-soft);
}
.ticket-thread .message p,
.ticket-messages .message p { font-size: .8rem; white-space: pre-wrap; margin: 0; }
.ticket-thread .message span,
.ticket-messages .message span { display: block; color: var(--faint); font-size: .64rem; margin-top: .35rem; }
.setup-steps { color: var(--muted); padding-left: 1.2rem; display: grid; gap: .8rem; font-size: .88rem; }
#newKeyPanel { margin-top: 1rem; }
#newKeyYaml { margin-top: .7rem; }
.code-actions { gap: .5rem; }
.ticket-row { width: 100%; color: inherit; text-align: left; cursor: pointer; }
.ticket-row.active { border-color: var(--line-strong); background: var(--surface-hover); }
.operator-main { min-height: 100vh; padding: 7rem 1rem 2rem; }
.operator-login { max-width: 430px; margin: 10vh auto 0; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: #0e1012; }
.operator-shell { width: min(1180px, 100%); min-height: 680px; margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: 1rem; }
.operator-queue { min-height: 0; }
.operator-queue .ticket-list { max-height: 590px; overflow: auto; }
.operator-queue select, .operator-shell select {
  min-height: 2.25rem;
  padding: 0 .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0b0c;
}
.docs-main { padding-top: 8rem; }
.docs-head { text-align: left; margin-left: 0; max-width: 46rem; }
.docs-actions { justify-content: flex-start; margin-top: 1.5rem; }
.docs-grid { margin-bottom: 1.5rem; }
.docs-code { margin-top: .8rem; }
.toast { animation: toastIn .3s cubic-bezier(.22,1,.36,1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }


.billing-return, .billing-error {
  display: grid; gap: .22rem; margin-bottom: 1rem; padding: .9rem 1rem;
  border: 1px solid rgba(232,198,106,.25); border-radius: 12px;
  background: rgba(232,198,106,.06); color: #f5dc93; font-size: .76rem;
}
.billing-return { grid-template-columns: auto 1fr; align-items: center; }
.billing-return small { grid-column: 2; color: var(--muted); }
.billing-return.success { border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.06); color: #86efac; }
.billing-return.error, .billing-error { border-color: rgba(255,122,130,.28); background: rgba(255,122,130,.06); color: #ffb1b7; }
.billing-return .spinner { width: 19px; height: 19px; grid-row: 1 / span 2; }
.billing-summary { margin-bottom: 1rem; }
.billing-skeleton { min-height: 178px; border-radius: 13px; background: linear-gradient(100deg, rgba(255,255,255,.025) 30%, rgba(255,255,255,.065) 50%, rgba(255,255,255,.025) 70%); background-size: 220% 100%; animation: billingShimmer 1.4s infinite linear; }
@keyframes billingShimmer { to { background-position: -220% 0; } }
.billing-current { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-color: rgba(124, 58, 237,.14); background: radial-gradient(500px 180px at 0 0, rgba(124, 58, 237,.065), transparent 72%), rgba(255,255,255,.022); }
.billing-current-copy { flex: 1; min-width: 0; }
.billing-kicker { color: var(--accent); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.billing-current h2 { margin: .35rem 0 1rem; font-size: 1.55rem; }
.billing-meta { display: grid; grid-template-columns: repeat(4, minmax(105px, 1fr)); gap: .55rem; }
.billing-meta span { padding: .65rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.12); }
.billing-meta small, .billing-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.billing-meta small { color: var(--faint); font-size: .62rem; }
.billing-meta strong { margin-top: .2rem; font-size: .75rem; white-space: nowrap; }
.billing-switch { min-width: 205px; display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.billing-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-switch > span { position: relative; width: 42px; height: 24px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.billing-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.billing-switch input:checked + span { border-color: rgba(124, 58, 237,.4); background: var(--accent-soft); }
.billing-switch input:checked + span::after { transform: translateX(18px); background: var(--accent); }
.billing-switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.billing-switch strong { font-size: .74rem; }
.billing-switch strong small { display: block; margin-top: .12rem; color: var(--faint); font-size: .61rem; font-weight: 400; }
.billing-switch.is-disabled { opacity: .45; cursor: not-allowed; }
.billing-plans { margin: 0 0 1rem; }
.billing-plans .price-card { display: flex; flex-direction: column; }
.billing-checkout { margin-top: auto; padding-top: .8rem; }
.billing-receipt { margin-bottom: .65rem; color: var(--faint); font-size: .67rem; word-break: break-word; }
.billing-receipt strong { color: var(--muted); }
.billing-consent {
  display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .7rem;
  padding: .7rem; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255,255,255,.018); color: var(--muted); font-size: .68rem;
  line-height: 1.45; cursor: pointer;
}
.billing-consent:hover { border-color: var(--line-strong); }
.billing-consent span { flex: 1; min-width: 0; }
.billing-history { padding: 0; overflow: hidden; }
.billing-unavailable {
  margin: 0 0 .75rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(232,198,106,.22);
  border-radius: 10px;
  background: rgba(232,198,106,.08);
  color: #f5dc93;
  font-size: .78rem;
  line-height: 1.45;
}
.billing-pay-link { margin-bottom: 1rem; }
.billing-pay-link-card {
  display: grid;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(124, 58, 237,.18);
  border-radius: 14px;
  background: rgba(124, 58, 237,.08);
}
.billing-pay-link-card strong { display: block; font-size: .95rem; margin-bottom: .25rem; }
.billing-pay-link-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.billing-pay-url {
  display: block;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  color: var(--text);
  font-size: .68rem;
  word-break: break-all;
}
.upload-preview-list {
  display: grid;
  gap: .45rem;
  margin-bottom: .85rem;
}
.upload-preview-item {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.upload-preview-item strong { font-size: .74rem; }
.upload-preview-item span { color: var(--faint); font-size: .65rem; white-space: nowrap; }
.app-main.is-live-refresh .kpi-card,
.app-main.is-live-refresh .box,
.app-main.is-live-refresh .server-row,
.app-main.is-live-refresh .activity-item,
.app-main.is-live-refresh .ticket-row {
  transition: none !important;
  transform: none !important;
}


.legal-page { position: relative; z-index: 1; padding: calc(var(--nav-h) + 2.25rem) 0 4rem; }
.legal-shell { width: min(44rem, calc(100% - 2rem)); margin: 0 auto; }
.legal-doc { color: var(--muted); line-height: 1.75; font-size: .9375rem; }
.legal-doc h1 { color: var(--text); font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 0 0 .75rem; letter-spacing: -.03em; }
.legal-doc h2 { color: var(--text); font-size: 1.15rem; margin: 1.75rem 0 .65rem; }
.legal-doc section + section { margin-top: .25rem; }
.legal-doc p, .legal-doc li { margin: 0 0 .85rem; }
.legal-doc ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { margin: 0 0 1.25rem; color: var(--faint); }
.legal-lead { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); color: var(--text); }
.legal-consent { margin: .85rem 0 1rem; }
.legal-consent a { color: var(--accent); }


.captcha-mount { margin: .35rem 0 1rem; }
.captcha-shell {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.captcha-shell[data-state="done"] {
  border-color: rgba(124, 58, 237,.28);
  background: rgba(124, 58, 237,.05);
  box-shadow: 0 18px 50px rgba(0,0,0,.24), 0 0 0 1px rgba(124, 58, 237,.08);
}
.captcha-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .65rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease;
}
.captcha-head:hover { transform: scale(1.005); }
.captcha-head:focus-visible { outline: 2px solid rgba(124, 58, 237,.35); outline-offset: 2px; border-radius: 14px; }
.captcha-head-main { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.captcha-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  position: relative;
}
.captcha-icon-loading,
.captcha-icon-done {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .25s, transform .25s;
}
.captcha-icon-loading {
  width: 1rem;
  height: 1rem;
  margin: auto;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.captcha-icon-done {
  opacity: 0;
  transform: scale(.7);
  color: var(--accent);
  font-size: .95rem;
  font-weight: 700;
}
.captcha-shell[data-state="done"] .captcha-icon-loading { opacity: 0; transform: scale(.7); }
.captcha-shell[data-state="done"] .captcha-icon-done { opacity: 1; transform: scale(1); }
.captcha-shell[data-state="done"] .captcha-icon {
  border-color: rgba(124, 58, 237,.24);
  background: rgba(124, 58, 237,.08);
  color: var(--accent);
}
.captcha-copy { min-width: 0; display: grid; gap: .12rem; }
.captcha-title {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.captcha-subtitle {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.captcha-badge {
  flex: 0 0 auto;
  padding: .28rem .55rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.captcha-shell[data-state="done"] .captcha-badge {
  border-color: rgba(124, 58, 237,.24);
  background: rgba(124, 58, 237,.1);
  color: var(--accent);
}
.captcha-panel {
  display: none;
  padding: 0 .65rem .65rem;
}
.captcha-shell.is-open .captcha-panel {
  display: block;
}
.captcha-widget-host {
  width: 100%;
  min-height: 100px;
}
.captcha-widget-host iframe,
.captcha-widget-host > div {
  width: 100% !important;
  max-width: 100% !important;
}
.captcha-error {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,120,120,.25);
  background: rgba(255,80,80,.08);
  color: #ffb4b4;
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 520px) {
  .captcha-subtitle { white-space: normal; }
}
.billing-history .box-head { padding: 1.15rem; margin: 0; }
.billing-history .box-head p { margin-top: .2rem; color: var(--faint); font-size: .68rem; }
.billing-history .table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-radius: 0; }
.billing-history table { min-width: 680px; }
.status.billing-paid::before { background: #4ade80; }
.status.billing-pending::before { background: var(--warning); box-shadow: 0 0 0 4px rgba(232,198,106,.08); }
.status.billing-canceled::before, .status.billing-failed::before { background: var(--danger); }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; max-width: 560px; }
  .auth-story { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); padding: 2rem; }
  .auth-signal { display: none; }
  .app-shell { grid-template-columns: 1fr; margin: 68px .75rem .75rem; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-side nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .side-link { white-space: nowrap; }
  .side-spacer, .side-account, .app-side .side-label { display: none; }
  .kpi-card { grid-column: span 6; }
  .box-wide, .box-narrow { grid-column: 1 / -1; }
  .ticket-layout { grid-template-columns: 1fr; }
  .operator-shell { grid-template-columns: 1fr; }
  .billing-current { align-items: flex-start; flex-direction: column; }
  .billing-switch { min-width: 0; }
}
@media (max-width: 640px) {
  .section { padding: 4.5rem 1rem; }
  .hero-section h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-network { grid-column: auto; grid-template-columns: 1fr; gap: 1rem; }
  .status-layout { grid-template-columns: 1fr; }
  .risk-gauges, .aggregate-grid { grid-template-columns: 1fr; }
  .player-layout { grid-template-columns: 1fr; }
  .ticket-thread.mobile-active .ticket-back { display: inline-flex; align-items: center; }
  #tab-support .ticket-layout.ticket-mobile .ticket-list { display: block; }
  #tab-support .ticket-layout.ticket-mobile .ticket-thread { display: none; }
  #tab-support .ticket-layout.ticket-mobile .ticket-thread.mobile-active { display: flex; flex-direction: column; }
  .auth-page { padding-top: 5.5rem; }
  .auth-story, .auth-form-wrap { padding: 1.5rem; }
  .app-main { padding: 1.1rem; }
  .kpi-card { grid-column: 1 / -1; }
  .app-top { align-items: flex-start; }
  .chart-summary { grid-template-columns: 1fr; }
  .chart-canvas { height: 220px; }
  .chart-wrap { min-height: 0; }
  .billing-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-current { padding: 1rem; }
  .billing-history .box-head { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


.admin-body { min-height: 100vh; overflow-x: hidden; }
.admin-body .noise { z-index: 0; }
.admin-login {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.admin-login-card {
  width: min(450px, 100%);
  padding: clamp(1.6rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(450px 230px at 5% 0%, rgba(124, 58, 237,.08), transparent 70%),
    rgba(13,15,16,.94);
  box-shadow: var(--shadow-lg);
  animation: authIn .65s cubic-bezier(.22,1,.36,1) both;
}
.admin-brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: -.025em; }
.admin-brand img { border-radius: 9px; }
.admin-brand small {
  margin-left: .35rem;
  padding: .18rem .38rem;
  border: 1px solid rgba(124, 58, 237,.18);
  border-radius: 5px;
  color: var(--accent);
  font-size: .58rem;
  letter-spacing: .09em;
  vertical-align: middle;
}
.admin-login-copy { margin: 3.5rem 0 2rem; }
.admin-login-copy h1 { margin: .5rem 0 .65rem; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.05; letter-spacing: -.055em; }
.admin-login-copy p, .admin-topbar p, .admin-card-head p, .admin-modal-text { color: var(--muted); font-size: .86rem; }
.admin-kicker { color: var(--accent); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.admin-login-card .field { margin-bottom: 1rem; }
.admin-login-card .btn { margin-top: .3rem; }

.admin-app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.35rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(8,9,10,.86);
  backdrop-filter: blur(20px);
}
.admin-sidebar > .admin-brand { padding: 0 .65rem 1.3rem; }
.admin-nav { flex: 1; overflow-y: auto; padding-right: .2rem; scrollbar-width: thin; }
.admin-nav-group { display: grid; gap: .18rem; margin-bottom: 1.25rem; }
.admin-nav-group > span { padding: 0 .65rem .35rem; color: var(--faint); font-size: .61rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 39px;
  padding: .45rem .65rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 550;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.admin-nav-link i { width: 18px; color: var(--faint); font-style: normal; text-align: center; transition: color .2s; }
.admin-nav-link:hover { color: var(--text); background: rgba(255,255,255,.035); transform: translateX(2px); }
.admin-nav-link.active { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.055); }
.admin-nav-link.active i { color: var(--accent); }
.admin-user {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.admin-avatar, .admin-profile-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237,.18);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.admin-avatar { width: 34px; height: 34px; font-size: .78rem; }
.admin-avatar img, .admin-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-user-copy { flex: 1; min-width: 0; }
.admin-user-copy strong, .admin-user-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-copy strong { font-size: .73rem; }
.admin-user-copy span { margin-top: .12rem; color: var(--faint); font-size: .63rem; }
.admin-logout, .admin-modal-close {
  border: 0;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
}
.admin-logout { padding: .35rem; font-size: 1rem; transform: rotate(45deg); }
.admin-logout:hover, .admin-modal-close:hover { color: var(--text); }
.admin-mobile-toggle { display: none; }

.admin-workspace { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); }
.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1440px;
  margin: 0 auto 2rem;
}
.admin-topbar .admin-live-pill { align-self: center; margin-left: auto; }
.admin-topbar h1 { margin: .32rem 0 .25rem; font-size: clamp(1.8rem, 4vw, 2.45rem); line-height: 1; letter-spacing: -.055em; }
.admin-content { max-width: 1440px; margin: 0 auto; animation: panelIn .35s cubic-bezier(.22,1,.36,1) both; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: .85rem; }
.admin-kpi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-kpi, .admin-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(15,17,18,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
}
.admin-kpi { min-height: 140px; padding: 1.15rem; display: flex; flex-direction: column; }
.admin-kpi > span { color: var(--muted); font-size: .72rem; }
.admin-kpi > strong { margin-top: auto; font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.admin-kpi > small { margin-top: .35rem; color: var(--faint); font-size: .65rem; }
.admin-card { min-width: 0; padding: 1.15rem; margin-bottom: .85rem; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-card-head h2, .admin-thread-head h2, .admin-modal h2 { margin: .18rem 0; font-size: 1rem; letter-spacing: -.025em; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.admin-status-list { display: grid; gap: .1rem; }
.admin-status-list > div { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.admin-status-list > div:last-child { border-bottom: 0; }
.admin-quick-links { display: grid; }
.admin-quick-links button {
  display: flex; justify-content: space-between; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--muted); text-align: left; cursor: pointer; font-size: .78rem;
}
.admin-quick-links button:hover { color: var(--text); }
.admin-quick-links button span { color: var(--accent); }
.admin-badge { display: inline-flex; align-items: center; padding: .2rem .5rem; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; }
.admin-badge.success { background: rgba(74,222,128,.09); color: #86efac; }
.admin-badge.warning { background: rgba(232,198,106,.1); color: #f5dc93; }
.admin-badge.danger { background: rgba(255,122,130,.1); color: #ffb1b7; }
.admin-badge.accent { background: var(--accent-soft); color: var(--accent); }

.admin-table-wrap { overflow: auto; margin: 0 -1.15rem -1.15rem; border-top: 1px solid var(--line); border-radius: 0 0 15px 15px; }
.admin-table { min-width: 790px; }
.admin-table th, .admin-table td { padding: .72rem 1rem; }
.admin-table th { position: sticky; top: 0; z-index: 1; background: #0d0f10; }
.admin-table tbody tr { transition: background .18s; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.018); }
.admin-table td { font-size: .74rem; vertical-align: middle; }
.table-primary { display: block; color: var(--text); font-size: .76rem; font-weight: 600; }
.admin-table td small { display: block; margin-top: .15rem; color: var(--faint); font-size: .65rem; }
.table-actions { display: flex; justify-content: flex-end; gap: .35rem; }
.table-actions button, .admin-license-list button {
  padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.025); color: var(--muted); cursor: pointer; font-size: .64rem; white-space: nowrap;
}
.table-actions button:hover { color: var(--text); border-color: var(--line-strong); }
.table-actions button.danger, .admin-license-list button { color: #ffabb1; }
.admin-details { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-note { display: flex; gap: 1rem; align-items: baseline; color: var(--muted); font-size: .75rem; }
.admin-note strong { color: var(--text); white-space: nowrap; }

.admin-state { min-height: 260px; display: grid; place-items: center; align-content: center; gap: .6rem; padding: 2rem; color: var(--faint); text-align: center; }
.admin-state strong { color: var(--muted); font-size: .82rem; }
.admin-state p { color: var(--faint); font-size: .72rem; }
.admin-state .spinner { width: 24px; height: 24px; }
.admin-state-error strong, .admin-inline-error { color: var(--danger); }
.admin-state-error .btn { margin-top: .4rem; }

.admin-modal { width: min(620px, calc(100vw - 2rem)); max-height: min(820px, calc(100vh - 2rem)); overflow: auto; }
.admin-modal .modal-inner { padding: 1.35rem; }
.admin-modal-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.admin-modal-close { font-size: 1.5rem; line-height: 1; }
.admin-confirm { width: min(430px, calc(100vw - 2rem)); }
.admin-confirm h2 { margin-top: .5rem; font-size: 1.15rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
.admin-password-fields { margin-bottom: .25rem; }
.admin-password-fields .field { margin-bottom: .75rem; }
.admin-password-meta { margin: .15rem 0 1rem; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-modal .field, .admin-profile-forms .field, .admin-train-form .field, #datasetForm .field { margin-bottom: .85rem; }
.admin-modal input, .admin-modal textarea, .admin-modal select,
.admin-content input, .admin-content textarea, .admin-content select, .admin-filters select, .admin-thread-head select {
  width: 100%; min-height: 2.55rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px;
  outline: none; background: #090a0b; color: var(--text); font-size: .75rem;
}
.admin-modal textarea, .admin-content textarea { min-height: 90px; resize: vertical; }
.admin-modal input:focus, .admin-modal textarea:focus, .admin-modal select:focus,
.admin-content input:focus, .admin-content textarea:focus, .admin-content select:focus { border-color: rgba(124, 58, 237,.42); box-shadow: 0 0 0 3px var(--accent-soft); }
.admin-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}
.admin-check input[type="checkbox"] {
  flex: 0 0 1.05rem;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-height: 0 !important;
  margin: .12rem 0 0 !important;
}
.admin-train-form .field, .admin-train-form .admin-check { margin: 0; }
.admin-train-form .btn { align-self: flex-start; }
.admin-secret { margin-bottom: .8rem; }
.admin-secret label { color: var(--muted); font-size: .69rem; }
.admin-secret pre { max-height: 180px; overflow: auto; margin: .35rem 0 .5rem; padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: #08090a; color: #d7d8da; font: .7rem/1.5 var(--mono); white-space: pre-wrap; word-break: break-all; }
.admin-license-list { display: grid; gap: .4rem; }
.admin-license-list > div { display: flex; align-items: center; gap: .5rem; padding: .55rem; border: 1px solid var(--line); border-radius: 8px; font-size: .72rem; }
.admin-license-list > div span:first-child { flex: 1; }
.admin-muted { color: var(--faint); font-size: .68rem; }
.admin-label-row { display: flex; flex-wrap: wrap; gap: .28rem; max-width: 14rem; }
.admin-label-chip {
  display: inline-flex;
  align-items: center;
  padding: .12rem .42rem;
  border-radius: .35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.3;
  white-space: nowrap;
}

.admin-ticket-layout { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: .85rem; height: calc(100vh - 150px); min-height: 560px; padding: .15rem 0; }
.admin-ticket-list, .admin-ticket-thread { display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 1rem 1.05rem; gap: .75rem; }
.admin-filters { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-bottom: .7rem; }
.admin-ticket-items { display: grid; gap: .4rem; overflow-y: auto; padding: .15rem .1rem .3rem; }
.admin-ticket-items > button {
  display: flex; align-items: center; gap: .5rem; padding: .7rem; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255,255,255,.018); color: inherit; text-align: left; cursor: pointer;
}
.admin-ticket-items > button:hover, .admin-ticket-items > button.active { border-color: var(--line-strong); background: rgba(255,255,255,.045); }
.admin-ticket-items > button > span:first-child { flex: 1; min-width: 0; }
.admin-ticket-items strong, .admin-ticket-items small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-ticket-items strong { font-size: .72rem; }
.admin-ticket-items small { margin-top: .18rem; color: var(--faint); font-size: .62rem; }
.admin-thread-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.admin-thread-head select { width: auto; min-width: 115px; }
.admin-messages article { max-width: 76%; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 10px 10px 10px 2px; background: rgba(255,255,255,.035); animation: messageIn .34s cubic-bezier(.22,1,.36,1) both; }
.admin-messages article.staff { align-self: flex-end; border-color: rgba(124, 58, 237,.13); border-radius: 10px 10px 2px 10px; background: var(--accent-soft); }
.admin-messages p { font-size: .75rem; white-space: pre-wrap; }
.admin-messages span { display: block; margin-top: .3rem; color: var(--faint); font-size: .59rem; }

.admin-grid-upload { grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); }
.admin-dropzone { min-height: 155px; display: grid; place-items: center; align-content: center; margin-bottom: .85rem; padding: 1rem; border: 1px dashed var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.018); text-align: center; cursor: pointer; }
.admin-dropzone:hover { border-color: rgba(124, 58, 237,.4); background: var(--accent-soft); }
.admin-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-dropzone strong { font-size: .78rem; }
.admin-dropzone span { margin-top: .25rem; color: var(--faint); font-size: .65rem; }
.admin-slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.admin-slot-grid > div { padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.admin-slot-grid strong, .admin-slot-grid span { display: block; }
.admin-slot-grid strong { font-size: .82rem; }
.admin-slot-grid span { margin: .18rem 0 .75rem; color: var(--faint); font-size: .63rem; }
.admin-slot-grid > div > div { display: flex; gap: .4rem; }
.admin-training-card { padding: clamp(1.2rem, 3vw, 2rem); }
.admin-train-status {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.admin-train-status.is-running {
  border-color: rgba(99, 102, 241, 0.12);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(255,255,255,.02));
}
.admin-train-status-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.admin-train-status-head strong {
  display: block;
  margin-top: .2rem;
  font-size: 1rem;
}
.admin-train-pct {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.admin-progress { height: 8px; margin-top: 0; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.05); }
.admin-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #6366f1); transition: width .35s ease; }
.admin-train-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  margin-top: .75rem;
  color: var(--faint);
  font-size: .72rem;
}
.admin-train-status-meta span { font-variant-numeric: tabular-nums; }
.admin-train-detail {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  min-height: 1.1rem;
}
.admin-train-settings {
  margin: 1rem 0 1.25rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.admin-train-settings .admin-muted { display: block; margin-top: .35rem; }
.admin-progress-label { display: block; margin-top: .45rem; color: var(--faint); font-size: .63rem; }
.admin-train-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .85rem;
  margin-top: 1rem;
}
.admin-train-form .field, .admin-train-form .admin-check { margin: 0; }
.admin-prediction-card { min-height: 250px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: clamp(1.4rem, 4vw, 3rem); }
.admin-prediction-card h2 { margin: .4rem 0; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.05em; }
.admin-prediction-card p { max-width: 580px; color: var(--muted); font-size: .8rem; }
.admin-signal { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft), 0 0 30px rgba(124, 58, 237,.35); }
.admin-prediction-card.paused .admin-signal { background: var(--danger); box-shadow: 0 0 0 8px rgba(255,122,130,.1); }

.admin-profile-grid { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: .85rem; }
.admin-profile-grid > .admin-card { text-align: center; }
.admin-profile-avatar { width: 88px; height: 88px; margin: .8rem auto 1rem; border-radius: 23px; font-size: 1.5rem; }
.admin-profile-grid > .admin-card h2 { font-size: 1.05rem; }
.admin-profile-grid > .admin-card > p { margin: .25rem 0 .7rem; color: var(--muted); font-size: .7rem; }
.admin-avatar-actions { display: flex; justify-content: center; gap: .4rem; margin: 1.2rem 0 .55rem; }
.admin-profile-forms { display: grid; align-content: start; gap: .85rem; }
.admin-profile-forms .admin-card { margin: 0; }

.admin-toast-host { position: fixed; top: 1rem; right: 1rem; z-index: 9999; display: grid; gap: .45rem; pointer-events: none; }
.admin-toast {
  width: min(340px, calc(100vw - 2rem)); padding: .7rem .85rem; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #141617; box-shadow: var(--shadow-lg); color: var(--text); font-size: .75rem;
  opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s;
}
.admin-toast.show { opacity: 1; transform: none; }
.admin-toast.error { border-color: rgba(255,122,130,.35); color: #ffc5c9; }
.admin-toast.warning { border-color: rgba(232,198,106,.35); color: #f5dc93; }

.admin-billing-row { display: grid; grid-template-columns: 72px 1fr auto; gap: .55rem; align-items: center; margin-bottom: .45rem; font-size: .72rem; }
.admin-billing-row span { color: var(--faint); text-transform: capitalize; }
.admin-billing-row i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #6366f1); }
.admin-billing-row b { min-width: 1.5rem; text-align: right; }
.player-merge-form { display: grid; grid-template-columns: 1fr auto; gap: .55rem; align-items: end; margin-top: .65rem; }
.player-merge-form .field { margin: 0; }

@media (max-width: 1100px) {
  .admin-app { grid-template-columns: 220px minmax(0, 1fr); }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-train-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .admin-app { display: block; }
  .admin-sidebar { position: sticky; z-index: 20; height: auto; padding: .75rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-sidebar > .admin-brand { padding: 0; }
  .admin-mobile-toggle { display: block; position: absolute; top: .85rem; right: .8rem; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); color: var(--muted); font-size: .7rem; }
  .admin-nav { display: none; max-height: calc(100vh - 130px); margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
  .admin-nav.open { display: block; }
  .admin-user { display: none; }
  .admin-workspace { padding: 1.1rem .75rem; }
  .admin-topbar { margin-bottom: 1.25rem; }
  .admin-topbar .btn { min-height: 2.25rem; }
  .admin-grid-2, .admin-grid-upload, .admin-profile-grid, .admin-ticket-layout { grid-template-columns: 1fr; }
  .admin-ticket-layout { height: auto; min-height: 0; }
  .admin-ticket-list { max-height: 430px; }
  .admin-ticket-thread { min-height: 530px; }
  .admin-slot-grid { grid-template-columns: 1fr; }
  .admin-prediction-card { grid-template-columns: auto 1fr; }
  .admin-prediction-card .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .admin-kpi-grid, .admin-kpi-grid-3, .admin-form-grid, .admin-train-form { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .admin-kpi { min-height: 115px; }
  .admin-card-head { align-items: flex-start; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar > div { min-width: 0; }
  .admin-topbar p { display: none; }
  .admin-filters { grid-template-columns: 1fr; }
  .admin-messages article { max-width: 90%; }
  .admin-note { display: block; }
  .admin-note strong { display: block; margin-bottom: .3rem; }
}

.modal-eyebrow, .modal-inner .modal-eyebrow {
  color: var(--accent);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
:root {
  --accent: #8b7bff;
  --accent-soft: rgba(124, 58, 237,.12);
  --blue: #6366f1;
  --warning: #e8c66a;
  --shadow-lg: 0 18px 60px rgba(0,0,0,.42);
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(168, 85, 247, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 38% at 8% 85%, rgba(79, 70, 229, 0.07), transparent 60%),
    #05070a;
}
.app-shell, .admin-app .admin-sidebar, .box, .admin-card, .auth-card {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 40px rgba(0,0,0,.22);
}
.box, .kpi-card, .admin-kpi {
  border-color: rgba(255,255,255,.09);
  background:
    radial-gradient(420px 180px at 0 0, rgba(124, 58, 237,.04), transparent 72%),
    rgba(255,255,255,.022);
}


.field input, .field textarea, .field select,
.app-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.app-main textarea, .app-main select,
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-content textarea, .admin-content select,
.player-search input,
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal textarea, .modal select {
  width: 100%;
  min-height: 2.85rem;
  padding: .62rem .9rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  outline: none;
  background: rgba(6,7,8,.88);
  color: var(--text);
  font-size: .84rem;
  transition: border-color .22s, box-shadow .22s, background .22s, transform .15s;
}
.field textarea, .app-main textarea, .admin-content textarea, .modal textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.field input:hover, .field textarea:hover, .field select:hover,
.app-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.app-main textarea:hover, .app-main select:hover,
.admin-content input:hover, .admin-content textarea:hover, .admin-content select:hover,
.modal input:hover, .modal textarea:hover, .modal select:hover {
  border-color: rgba(255,255,255,.16);
  background: rgba(8,9,10,.95);
}
.field input:focus, .field textarea:focus, .field select:focus,
.app-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.app-main textarea:focus, .app-main select:focus,
.admin-content input:focus, .admin-content textarea:focus, .admin-content select:focus,
.modal input:focus, .modal textarea:focus, .modal select:focus {
  border-color: rgba(124, 58, 237,.45);
  box-shadow: 0 0 0 4px rgba(124, 58, 237,.08), 0 8px 24px rgba(0,0,0,.18);
  transform: none;
}

.ticket-reply input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 44px;
  border: none;
  background: transparent;
  padding: .55rem 0;
  box-shadow: none;
  border-radius: 0;
}
.ticket-reply input:not([type="checkbox"]):not([type="radio"]):hover,
.ticket-reply input:not([type="checkbox"]):not([type="radio"]):focus {
  border: none;
  background: transparent;
  box-shadow: none;
  transform: none;
}


.password-strength {
  position: relative;
  margin-top: .65rem;
  padding: .72rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  overflow: hidden;
  transition: border-color .28s, background .28s, transform .28s, opacity .28s;
}
.password-strength-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(124, 58, 237,.16), transparent 68%);
  opacity: .35;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.password-strength-copy { position: relative; z-index: 1; }
.password-strength-copy strong { display: block; font-size: .78rem; margin-bottom: .12rem; }
.password-strength-copy span { color: var(--faint); font-size: .7rem; }
.password-strength.tone-weak { border-color: rgba(255,122,130,.28); background: rgba(255,122,130,.06); }
.password-strength.tone-mid { border-color: rgba(232,198,106,.28); background: rgba(232,198,106,.06); }
.password-strength.tone-good, .password-strength.tone-strong { border-color: rgba(124, 58, 237,.28); background: rgba(124, 58, 237,.08); }
.password-strength.tone-warn { border-color: rgba(232,198,106,.35); background: rgba(232,198,106,.08); }
.password-strength.is-ready { transform: translateY(-1px); }
.password-strength.is-ready .password-strength-glow { opacity: .85; transform: translateX(8%); }


.ticket-layout .box, .admin-ticket-list, .admin-ticket-thread {
  background:
    radial-gradient(360px 160px at 100% 0, rgba(99, 102, 241,.07), transparent 72%),
    rgba(255,255,255,.018);
}
.ticket-row, .admin-ticket-items > button {
  transition: border-color .22s ease, background .22s ease, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .26s ease;
}
.ticket-row:hover, .admin-ticket-items > button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(124, 58, 237,.08), 0 10px 28px rgba(124, 58, 237,.08);
}


.admin-slot-grid > div {
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.admin-slot-grid > div.is-on {
  border-color: rgba(124, 58, 237,.28);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237,.08), 0 10px 30px rgba(124, 58, 237,.08);
}
.admin-slot-grid > div.is-off { opacity: .82; }
.admin-slot-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.admin-slot-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  cursor: pointer;
  user-select: none;
}
.admin-slot-toggle input {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
  opacity: 0; pointer-events: none;
}
.admin-slot-toggle i {
  width: 42px; height: 24px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.06);
  position: relative;
  transition: background .22s, border-color .22s;
}
.admin-slot-toggle i::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--muted);
  transition: transform .22s, background .22s;
}
.admin-slot-toggle input:checked + i,
.admin-slot-toggle.is-on i {
  border-color: rgba(124, 58, 237,.45);
  background: var(--accent-soft);
}
.admin-slot-toggle input:checked + i::after,
.admin-slot-toggle.is-on i::after {
  transform: translateX(18px);
  background: var(--accent);
}
.admin-badge.ticket-open { background: rgba(124, 58, 237,.12); color: #8b7bff; }
.admin-badge.ticket-waiting { background: rgba(232,198,106,.12); color: #f5dc93; }
.admin-badge.ticket-answered { background: rgba(99, 102, 241, 0.12); color: #b8cbff; }
.admin-badge.ticket-closed { background: rgba(255,255,255,.06); color: var(--faint); }
.admin-slot-meta { color: var(--faint); font-size: .66rem; line-height: 1.45; }


.admin-network-status { margin-bottom: .85rem; }
.status-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .75rem;
}
.status-kpi {
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.status-kpi span { display: block; color: var(--faint); font-size: .62rem; }
.status-kpi strong { font-size: .82rem; }
.uptime-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  width: 100%;
  font-size: .68rem;
  color: var(--faint);
  line-height: 1;
}
.uptime-legend-item {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
}
.uptime-legend-item b { font-variant-numeric: tabular-nums; font-weight: 650; }
.uptime-legend-item.ok b, .uptime-legend-item.ok span { color: #86efac; }
.uptime-legend-item.warn b, .uptime-legend-item.warn span { color: #f5dc93; }
.uptime-legend-item.bad b, .uptime-legend-item.bad span { color: #ffb1b7; }


.key-row-actions { display: flex; gap: .35rem; justify-content: flex-end; flex-wrap: wrap; }
.key-card {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  margin-bottom: .55rem;
}
.key-card-head { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.key-card-meta { color: var(--faint); font-size: .68rem; margin-top: .2rem; }


.side-admin-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .35rem .15rem .65rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(124, 58, 237,.18);
  border-radius: 10px;
  background: rgba(124, 58, 237,.08);
  color: var(--accent);
  font-size: .74rem;
  font-weight: 600;
  transition: background .2s, transform .18s, border-color .2s;
}
.side-admin-link:hover { background: rgba(124, 58, 237,.1); transform: translateY(-1px); }

.admin-modal { width: min(560px, calc(100vw - 2rem)); }
.key-dialog { width: min(500px, calc(100vw - 2rem)); }
.key-dialog .modal-inner { text-align: left; }

.factor-row span { color: var(--muted); font-size: .74rem; }
.factor-row strong { font-size: .78rem; }
.section-note { color: var(--faint); font-size: .72rem; margin: 0 0 .75rem; line-height: 1.45; }

@media (max-width: 640px) {
  .status-kpi-row { grid-template-columns: 1fr; }
}


.player-search-live { grid-template-columns: 1fr; }
.player-search-live .btn[type="submit"] { display: none; }
.player-results.is-searching { opacity: .72; transition: opacity .2s ease; }


.app-panel .side-link,
.app-panel .kpi-card,
.app-panel .box,
.admin-content .admin-card,
.admin-content .admin-kpi,
.player-result,
.ticket-row,
.btn {
  transition: border-color .24s ease, background .24s ease, box-shadow .28s ease, transform .22s cubic-bezier(.22,1,.36,1);
}
.app-panel .side-link:hover,
.app-panel .side-link.active {
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237,.07), 0 0 28px rgba(124, 58, 237,.05);
}
.app-panel .kpi-card:hover,
.app-panel .box:hover,
.admin-content .admin-card:hover,
.admin-content .admin-kpi:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 14px 42px rgba(0,0,0,.2),
    0 0 56px rgba(124, 58, 237,.04);
}
.player-result:hover,
.player-result:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(124, 58, 237,.12), 0 12px 36px rgba(124, 58, 237,.07);
}
.btn-primary:hover,
.btn-accent:hover {
  transform: translateY(-1px);
}
.admin-ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.admin-ticket-thread .admin-thread-head {
  padding: .9rem 1.15rem .75rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.admin-ticket-thread .ticket-back { margin: .85rem .95rem 0; }
.admin-live-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--faint);
  font-size: .68rem;
  letter-spacing: .02em;
}
.admin-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(74,222,128,.55);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1); }
}




.ha-shell {
  position: relative;
  display: block;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 28px rgba(0,0,0,.18);
  transition: border-color .28s ease, box-shadow .32s ease, transform .22s ease;
}
.ha-shell-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237,.16), transparent 68%);
  transition: opacity .32s ease;
}
.ha-shell:focus-within {
  border-color: rgba(124, 58, 237,.32);
  box-shadow: inset 0 1px 0 rgba(124, 58, 237,.1), 0 0 0 1px rgba(124, 58, 237,.08), 0 0 32px rgba(124, 58, 237,.1), 0 12px 36px rgba(0,0,0,.22);
  transform: translateY(-1px);
}
.ha-shell:focus-within .ha-shell-glow { opacity: 1; }
.ha-control, .ha-shell > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .ha-shell > textarea, .ha-shell > select {
  width: 100%; min-height: 2.85rem; padding: .68rem .95rem; border: none; outline: none;
  background: transparent; color: var(--text); font-size: .86rem; border-radius: inherit;
  box-shadow: none !important; transform: none !important;
}
.ha-shell > textarea { min-height: 110px; resize: vertical; line-height: 1.5; padding-top: .75rem; }
.ha-control::placeholder { color: rgba(161,161,170,.72); }
.field .ha-shell { margin-top: .35rem; }
.field-control.ha-shell { display: flex; align-items: stretch; }
.field-control.ha-shell > .ha-control { flex: 1; padding-right: .35rem; }
.field-control.ha-shell > .password-toggle { align-self: center; margin-right: .45rem; }
.ha-search { margin-bottom: .85rem; }
.ha-search-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .55rem; padding: .15rem .2rem .15rem .85rem; }
.ha-search-icon { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; color: rgba(124, 58, 237,.72); filter: drop-shadow(0 0 8px rgba(124, 58, 237,.35)); animation: iconPulse 2.4s ease-in-out infinite; }
.ha-search-icon svg { width: 100%; height: 100%; display: block; }
.ha-search-input { min-height: 2.75rem !important; padding-left: 0 !important; }
.player-search-live .btn[type="submit"] { display: none !important; }
.player-results.is-searching { opacity: .72; transition: opacity .2s ease; }
.ha-composer { display: grid; grid-template-columns: 1fr auto; gap: .65rem; align-items: end; padding: .85rem 1.1rem 1rem; margin-top: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); }
.ha-composer-body { display: block; padding: .1rem .15rem .1rem .75rem; border-radius: 14px; }
.ha-composer-input { min-height: 2.65rem !important; padding: .55rem 0 !important; }
.ha-composer-send { min-height: 2.65rem; padding-inline: 1.1rem; box-shadow: 0 0 24px rgba(124, 58, 237,.12); transition: transform .2s ease, box-shadow .25s ease; }
.ha-composer-send:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(124, 58, 237,.2), 0 8px 24px rgba(0,0,0,.2); }
.ticket-thread .ha-composer, .admin-ticket-thread .ha-composer { border-radius: 0; }
input[type="checkbox"]:not(.admin-slot-toggle input) {
  -webkit-appearance: none; appearance: none; width: 1.1rem; height: 1.1rem; min-height: 0 !important; flex: 0 0 1.1rem;
  margin: 0; padding: 0 !important; border: 1px solid rgba(255,255,255,.18); border-radius: 7px;
  background: rgba(8,9,10,.75); cursor: pointer; position: relative;
  transition: border-color .22s, background .22s, box-shadow .28s, transform .15s; box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
input[type="checkbox"]:not(.admin-slot-toggle input):hover { border-color: rgba(124, 58, 237,.28); box-shadow: 0 0 16px rgba(124, 58, 237,.08); }
input[type="checkbox"]:not(.admin-slot-toggle input):checked {
  border-color: rgba(124, 58, 237,.55); background: linear-gradient(145deg, rgba(124, 58, 237,.95), rgba(190,230,80,.88));
  box-shadow: 0 0 20px rgba(124, 58, 237,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
input[type="checkbox"]:not(.admin-slot-toggle input):checked::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: .32rem; height: .58rem;
  border: solid #0b0d08; border-width: 0 2px 2px 0; transform: translate(-50%, -55%) rotate(45deg) scale(1);
  animation: checkPop .22s cubic-bezier(.22,1,.36,1) both;
}
.billing-consent input[type="checkbox"], .admin-check input[type="checkbox"] { width: 1.1rem !important; height: 1.1rem !important; min-height: 0 !important; accent-color: unset; }
.kpi-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .15rem; }
.kpi-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(124, 58, 237,.08); color: rgba(124, 58, 237,.9); box-shadow: 0 0 20px rgba(124, 58, 237,.08); transition: transform .25s ease, box-shadow .25s ease; }
.kpi-card:hover .kpi-icon { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 28px rgba(124, 58, 237,.16); }
.kpi-icon svg { width: 1rem; height: 1rem; display: block; }
.kpi-icon-blue { background: rgba(99, 102, 241, 0.12); color: #b8cbff; box-shadow: 0 0 20px rgba(99, 102, 241, 0.12); }
.kpi-icon-warn { background: rgba(232,198,106,.08); color: #f5dc93; box-shadow: 0 0 20px rgba(232,198,106,.1); }
@keyframes iconPulse { 0%, 100% { opacity: .75; filter: drop-shadow(0 0 6px rgba(124, 58, 237,.25)); } 50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(124, 58, 237,.45)); } }
@keyframes checkPop { from { transform: translate(-50%, -55%) rotate(45deg) scale(.4); opacity: 0; } to { transform: translate(-50%, -55%) rotate(45deg) scale(1); opacity: 1; } }
.side-link [data-side-icon] svg { transition: transform .22s ease, filter .22s ease; }
.side-link:hover [data-side-icon] svg, .side-link.active [data-side-icon] svg { filter: drop-shadow(0 0 8px rgba(124, 58, 237,.35)); transform: scale(1.06); }
.app-panel .side-link, .app-panel .kpi-card, .app-panel .box, .admin-content .admin-card, .admin-content .admin-kpi, .btn {
  transition: border-color .24s ease, background .24s ease, box-shadow .28s ease, transform .22s cubic-bezier(.22,1,.36,1);
}
.app-panel .side-link:hover, .app-panel .side-link.active { box-shadow: inset 0 0 0 1px rgba(124, 58, 237,.08), 0 0 32px rgba(124, 58, 237,.08); }
.app-panel .kpi-card:hover, .app-panel .box:hover, .admin-content .admin-card:hover, .admin-content .admin-kpi:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 16px 48px rgba(0,0,0,.22), 0 0 64px rgba(124, 58, 237,.05);
}


body {
  background:
    #050505
    radial-gradient(circle at 50% -18%, rgba(48, 52, 40, .55) 0%, rgba(8, 9, 8, .92) 48%, #000 100%) fixed;
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(168, 85, 247, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 38% at 8% 85%, rgba(79, 70, 229, 0.07), transparent 60%),
    #05070a;
}
@keyframes ambientShift {
  0% { filter: hue-rotate(0deg) saturate(1); opacity: 1; }
  100% { filter: hue-rotate(12deg) saturate(1.08); opacity: .92; }
}
.page-bg::before {
  width: min(90vw, 1100px);
  height: min(60vw, 720px);
  background: radial-gradient(circle, rgba(124, 58, 237,.26) 0%, rgba(124, 58, 237,.05) 42%, transparent 70%);
  animation: pageGlowA 18s ease-in-out infinite alternate;
}
.page-bg::after {
  width: min(70vw, 820px);
  height: min(52vw, 620px);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.12) 45%, transparent 72%);
  animation: pageGlowB 24s ease-in-out infinite alternate;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px #0b0c0d inset !important;
}


.oauth-social .btn-oauth,
button.btn-oauth {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  min-height: 48px;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  font-weight: 700 !important;
  font-size: .92rem !important;
  cursor: pointer;
  color: #fff !important;
  text-shadow: none !important;
}
.oauth-social .btn-oauth span,
button.btn-oauth span {
  color: #fff !important;
}
.oauth-social .btn-oauth-discord,
button.btn-oauth-discord {
  background: #5865F2 !important;
  background-image: linear-gradient(180deg, #6772f5 0%, #5865F2 100%) !important;
  box-shadow: 0 10px 28px rgba(88, 101, 242, .35) !important;
}
.oauth-social .btn-oauth-telegram,
button.btn-oauth-telegram {
  background: #2AABEE !important;
  background-image: linear-gradient(180deg, #3db6f2 0%, #2AABEE 100%) !important;
  box-shadow: 0 10px 28px rgba(42, 171, 238, .35) !important;
}
.oauth-social .btn-oauth:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.oauth-social-lead { color: rgba(200, 205, 190, .78) !important; }
.auth-card {
  background:
    radial-gradient(520px 220px at 10% -20%, rgba(255,255,255,.04), transparent 60%),
    var(--glass) !important;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 36px rgba(0,0,0,.55);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.auth-card .field input {
  background: rgba(6, 7, 8, .92) !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.12) !important;
}


body.app-body {
  min-height: 100vh;
}
body.app-body .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5,5,5,.88), rgba(5,5,5,.55));
}
body.app-body .header-wrap {
  max-width: none;
  width: 100%;
  padding: .65rem 1.1rem 0;
}
body.app-body .pill-nav {
  max-width: none;
  width: 100%;
  border-radius: 16px;
}
body.app-body .app-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  max-width: none !important;
  width: 100%;
  min-height: calc(100vh - 78px);
  margin: .55rem 0 0 !important;
  border-radius: 18px 18px 0 0 !important;
  border-left: none;
  border-right: none;
  border-bottom: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    rgba(10, 12, 10, .72) !important;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
body.app-body .app-side {
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12));
  border-right: 1px solid rgba(255,255,255,.07);
}
body.app-body .app-main {
  padding: 1.35rem 1.5rem 2.4rem;
  background: radial-gradient(900px 360px at 80% -10%, rgba(124, 58, 237,.05), transparent 55%);
}
body.app-body .app-panel .box,
body.app-body .app-panel .kpi-card {
  background:
    radial-gradient(380px 160px at 0 0, rgba(124, 58, 237,.05), transparent 70%),
    rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.08);
}
@media (max-width: 960px) {
  body.app-body .app-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 70px);
    margin-top: .35rem !important;
  }
}






:root {
  --accent: #8b7bff;
  --accent-2: #6366f1;
  --accent-soft: rgba(124, 58, 237, 0.12);
}
body { font-family: var(--font); letter-spacing: -0.006em; }
body::selection, ::selection { background: rgba(124, 58, 237, 0.85); color: #0a0b12; }


.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(168, 85, 247, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 38% at 8% 85%, rgba(79, 70, 229, 0.07), transparent 60%),
    #05070a;
}
.page-bg::before { background: radial-gradient(circle, rgba(124, 58, 237,.30) 0%, rgba(124, 58, 237,.07) 42%, transparent 72%); }
.page-bg::after  { background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.12) 44%, transparent 72%); }
.page-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 58, 237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 72%);
}


.pill-nav {
  background: rgba(13, 15, 24, 0.72);
  border: 1px solid rgba(124, 58, 237,.14);
  box-shadow: 0 6px 30px rgba(6,7,14,.5), inset 0 1px 0 rgba(255,255,255,.04);
}
.site-header.is-scrolled .pill-nav { border-color: rgba(124, 58, 237,.28); }
.nav-brand span { font-family: var(--display); letter-spacing: .01em; }
.nav-link.active { background: rgba(124, 58, 237,.14); color: #fff; }
.btn-auth { background: rgba(124, 58, 237,.10); border-color: rgba(124, 58, 237,.24); }


.hero-section h1 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.hero-section h1 span:not(.gradient-line) {
  background: linear-gradient(180deg, #ffffff 0%, #cfc9ee 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-line {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-kicker {
  color: #cbd0ff;
  background: rgba(124, 58, 237,.10);
  border: 1px solid rgba(124, 58, 237,.24);
}
.hero-kicker::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(124, 58, 237,.18); }
.hero-proof span::before { color: var(--accent-2); }
.hero-glow {
  background: radial-gradient(circle, rgba(124, 58, 237,.22), rgba(99, 102, 241, 0.12) 45%, transparent 70%);
}


.section-eyebrow {
  color: #b9b2ff;
  background: rgba(124, 58, 237,.10);
  border: 1px solid rgba(124, 58, 237,.22);
  border-radius: 999px;
  padding: .28rem .7rem;
  display: inline-block;
}
.section-head h2 { font-family: var(--display); letter-spacing: -0.02em; }


.platform-pills span {
  border: 1px solid rgba(124, 58, 237,.16);
  background: rgba(124, 58, 237,.05);
}
.platform-pills span:hover {
  border-color: rgba(124, 58, 237,.4);
  background: rgba(124, 58, 237,.12);
  color: #fff;
}
.platform-line { background: linear-gradient(90deg, transparent, rgba(124, 58, 237,.4), transparent); }


.stat-card, .how-card, .price-card {
  position: relative;
  background:
    radial-gradient(420px 160px at 0 0, rgba(124, 58, 237,.06), transparent 70%),
    rgba(255,255,255,.022);
  border: 1px solid rgba(124, 58, 237,.12);
  border-radius: var(--radius-md);
}
.stat-card:hover, .how-card:hover {
  background:
    radial-gradient(420px 180px at 0 0, rgba(99, 102, 241, 0.12), transparent 70%),
    rgba(255,255,255,.045);
  border-color: rgba(124, 58, 237,.34);
  box-shadow: 0 20px 50px rgba(8,10,20,.5);
}
.stat-icon, .how-icon {
  color: var(--accent);
  background: rgba(124, 58, 237,.1);
  border: 1px solid rgba(124, 58, 237,.2);
}
.stat-card:hover .stat-icon { color: #fff; border-color: rgba(99, 102, 241, 0.12); background: rgba(99, 102, 241, 0.12); }
.stat-value { font-family: var(--display); }
.how-card h3, .price-card h3 { font-family: var(--display); }


.price-card.featured {
  border-color: rgba(124, 58, 237,.5);
  background:
    radial-gradient(520px 220px at 50% -10%, rgba(124, 58, 237,.14), transparent 65%),
    rgba(255,255,255,.03);
  box-shadow: 0 24px 60px rgba(60,48,140,.28);
}
.price-badge { background: var(--gradient); color: #0a0b12; }
.price-amount { font-family: var(--display); }
.price-list li::before { color: var(--accent-2); }


.btn-accent {
  background: var(--gradient);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 26px rgba(124,108,255,.32);
}
.btn-accent:hover {
  filter: brightness(1.07);
  box-shadow: 0 12px 34px rgba(124,108,255,.42);
}
.btn-primary { background: #efeefb; color: #0a0b12; }
.btn-primary:hover { background: #fff; box-shadow: 0 8px 28px rgba(124, 58, 237,.22); }


.status-dot { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
.footer-social a:hover { color: #fff; background: rgba(124, 58, 237,.14); }
.footer-col a:hover { color: #cbd0ff; }


.loader-spin { border-top-color: var(--accent) !important; }








.gradient-line {
  background: var(--gradient-text);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hueShift 9s ease-in-out infinite alternate;
}
@keyframes hueShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


.btn-accent {
  background: var(--gradient);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff !important;
  border: 0;
  box-shadow: 0 10px 30px rgba(124,108,255,.30);
  transition: background-position .6s ease, box-shadow .3s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
.btn-accent:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 40px rgba(124,108,255,.45);
  transform: translateY(-2px);
  filter: none;
}


.pill-nav { transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.pill-nav:hover { box-shadow: 0 6px 30px rgba(6,7,14,.5), 0 0 0 1px rgba(124,108,255,.14); }
.nav-link { transition: background .25s ease, color .25s ease; }


.hero-kicker::before { animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237,.18); }
  50%      { box-shadow: 0 0 0 7px rgba(124, 58, 237,.05); }
}


.stat-card, .how-card, .price-card {
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.stat-card:hover, .how-card:hover { transform: translateY(-5px); }


.platform-pills span { transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease; }
.platform-pills span:hover { transform: translateY(-3px); }


.no-js .reveal, .reveal.is-visible { opacity: 1; transform: none; }


@media (prefers-reduced-motion: reduce) {
  .gradient-line, .hero-kicker::before, .btn-accent { animation: none !important; }
  * { scroll-behavior: auto; }
}
