/* EXILE FREE — dark green Standoff cheat landing */

:root {
  --ex-bg: #070d0a;
  --ex-bg-mid: #0a1410;
  --ex-panel: #0f1814;
  --ex-panel-2: #121f19;
  --ex-border: rgba(34, 197, 94, 0.14);
  --ex-border-strong: rgba(74, 222, 128, 0.28);
  --ex-green: #22c55e;
  --ex-green-bright: #4ade80;
  --ex-green-dark: #15803d;
  --ex-green-glow: rgba(34, 197, 94, 0.35);
  --ex-green-soft: rgba(34, 197, 94, 0.1);
  --ex-text: #e8f5ec;
  --ex-muted: #7a9a86;
  --ex-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html.landing-exile,
html.landing-exile body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 197, 94, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(21, 128, 61, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ex-bg-mid) 0%, var(--ex-bg) 100%) !important;
  color: var(--ex-text);
}

html.landing-exile body {
  display: block;
  font-family: "Roboto", system-ui, sans-serif;
}

html.landing-exile .exile-page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

html.landing-exile .exile-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

html.landing-exile .exile-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

html.landing-exile .exile-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

html.landing-exile .exile-glow-orb--1 {
  width: 280px;
  height: 280px;
  top: -8%;
  left: 10%;
  background: rgba(34, 197, 94, 0.18);
  animation: ex-glow-drift 14s ease-in-out infinite;
}

html.landing-exile .exile-glow-orb--2 {
  width: 220px;
  height: 220px;
  bottom: 5%;
  right: -5%;
  background: rgba(21, 128, 61, 0.22);
  animation: ex-glow-drift 18s ease-in-out infinite reverse;
}

html.landing-exile .exile-scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(74, 222, 128, 0.5) 2px,
    rgba(74, 222, 128, 0.5) 3px
  );
}

html.landing-exile .exile-app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}

html.landing-exile .exile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

html.landing-exile .exile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

html.landing-exile .exile-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ex-bg);
  background: linear-gradient(135deg, var(--ex-green-bright) 0%, var(--ex-green) 55%, var(--ex-green-dark) 100%);
  box-shadow: 0 0 20px var(--ex-green-glow);
}

html.landing-exile .exile-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html.landing-exile .exile-brand-name em {
  font-style: normal;
  color: var(--ex-green-bright);
}

html.landing-exile .exile-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ex-muted);
  background: var(--ex-green-soft);
  border: 1px solid var(--ex-border);
}

html.landing-exile .exile-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ex-green);
  box-shadow: 0 0 8px var(--ex-green);
  animation: ex-pulse 2s ease-in-out infinite;
}

html.landing-exile #exile-online-count.exile-online-count--tick {
  color: var(--ex-green-bright);
}

html.landing-exile .exile-hero {
  text-align: center;
}

html.landing-exile .exile-hero--pop {
  animation: ex-hero-pop 0.6s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
}

html.landing-exile .exile-tag {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ex-green);
}

html.landing-exile .exile-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 5.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

html.landing-exile .exile-accent {
  display: block;
  margin-top: 4px;
  color: var(--ex-green-bright);
  text-shadow: 0 0 24px var(--ex-green-glow);
}

html.landing-exile .exile-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ex-muted);
}

/* Cheat menu mock */
html.landing-exile .exile-panel {
  margin: 0 0 18px;
  padding: 0;
  border-radius: 14px;
  background: var(--ex-panel);
  border: 1px solid var(--ex-border);
  box-shadow: var(--ex-shadow);
  text-align: left;
  overflow: hidden;
}

html.landing-exile .exile-panel--glow {
  animation: ex-panel-glow 3s ease-in-out infinite;
}

html.landing-exile .exile-panel-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ex-panel-2);
  border-bottom: 1px solid var(--ex-border);
}

html.landing-exile .exile-panel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(122, 154, 134, 0.35);
}

html.landing-exile .exile-panel-dot--on {
  background: var(--ex-green);
  box-shadow: 0 0 6px var(--ex-green);
}

html.landing-exile .exile-panel-title {
  flex: 1;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--ex-muted);
}

html.landing-exile .exile-panel-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ex-green-bright);
}

html.landing-exile .exile-features {
  list-style: none;
  margin: 0;
  padding: 12px 14px 14px;
}

html.landing-exile .exile-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ex-text);
  border-bottom: 1px solid rgba(34, 197, 94, 0.06);
}

html.landing-exile .exile-features li:last-child {
  border-bottom: none;
}

html.landing-exile .exile-feat-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: rgba(122, 154, 134, 0.25);
  position: relative;
}

html.landing-exile .exile-feat-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5a7262;
  transition: transform 0.2s ease;
}

html.landing-exile .exile-feat-toggle--on {
  background: rgba(34, 197, 94, 0.35);
}

html.landing-exile .exile-feat-toggle--on::after {
  transform: translateX(14px);
  background: var(--ex-green-bright);
  box-shadow: 0 0 8px var(--ex-green-glow);
}

html.landing-exile .exile-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

html.landing-exile .exile-badges li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ex-green-bright);
  background: var(--ex-green-soft);
  border: 1px solid var(--ex-border);
}

html.landing-exile .exile-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ex-muted);
}

html.landing-exile .exile-download-btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ex-bg);
  background: linear-gradient(135deg, var(--ex-green-bright) 0%, var(--ex-green) 50%, var(--ex-green-dark) 100%);
  cursor: pointer;
  box-shadow: 0 8px 32px var(--ex-green-glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

html.landing-exile .exile-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.45);
  filter: brightness(1.06);
}

html.landing-exile .exile-download-btn:active {
  transform: translateY(0);
}

/* Auth panel */
html.landing-exile .exile-auth-panel {
  text-align: center;
  padding: 8px 0 0;
  animation: ex-auth-in 0.45s ease forwards;
}

html.landing-exile .exile-auth-heading {
  margin-bottom: 16px;
}

html.landing-exile .exile-auth-heading h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html.landing-exile .exile-auth-heading p {
  margin: 0;
  font-size: 14px;
  color: var(--ex-muted);
}

html.landing-exile .exile-auth-panel .container.svelte-12qhfyh,
html.landing-exile .exile-auth-panel .container.svelte-vywflk {
  width: 100%;
  max-width: none;
  min-height: auto;
  height: auto !important;
  padding: 0;
  margin: 0;
  background: transparent !important;
}

html.landing-exile .exile-auth-panel .background,
html.landing-exile .exile-auth-panel .background.svelte-vywflk,
html.landing-exile .exile-auth-panel .background.svelte-1afbb1c,
html.landing-exile .exile-auth-panel .layer.layer-base {
  display: none !important;
}

html.landing-exile .exile-auth-panel .auth.auth--regular.svelte-vywflk {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  background: var(--ex-panel) !important;
  border: 1px solid var(--ex-border);
  box-shadow: var(--ex-shadow);
}

html.landing-exile .exile-auth-panel .auth--regular.svelte-vywflk .form.svelte-vywflk {
  padding: 22px 20px 8px;
  min-height: auto;
}

html.landing-exile .logoWrapper.svelte-vywflk,
html.landing-exile .auth--regular.svelte-vywflk .header.svelte-vywflk {
  display: none;
}

html.landing-exile .auth-step {
  display: block !important;
}

html.landing-exile .auth-step:not(.active) {
  display: none !important;
}

html.landing-exile .auth-step .explainer.svelte-vywflk .subheader {
  color: var(--ex-text);
}

html.landing-exile .auth-step .explainer.svelte-vywflk .detail,
html.landing-exile .auth-step .field.svelte-vywflk .hint {
  color: var(--ex-muted);
}

html.landing-exile .auth-step .input.input--secondary.input--neutral.svelte-14rzpox {
  background: var(--ex-bg-mid);
  border-color: var(--ex-border);
}

html.landing-exile .auth-step .input.input--secondary.input--neutral.svelte-14rzpox:focus-within {
  border-color: var(--ex-border-strong);
  box-shadow: 0 0 0 3px var(--ex-green-soft);
}

html.landing-exile .auth-step .country.svelte-1cug6p,
html.landing-exile .auth-step input.field.svelte-14rzpox {
  color: var(--ex-text);
}

html.landing-exile #code-inputs .digit {
  background: var(--ex-bg-mid);
  border-color: var(--ex-border);
  color: var(--ex-text);
}

html.landing-exile #submit-btn.button--primary,
html.landing-exile #code-submit-btn.button--primary,
html.landing-exile #password-submit-btn.button--primary,
html.landing-exile #password-reset-btn.button--primary,
html.landing-exile #return-btn.button--primary {
  background: linear-gradient(135deg, var(--ex-green-bright), var(--ex-green-dark)) !important;
  border: none !important;
  color: var(--ex-bg) !important;
  box-shadow: 0 8px 24px var(--ex-green-glow) !important;
}

html.landing-exile .qr-phone-link,
html.landing-exile .back-link,
html.landing-exile .legal-link.svelte-vywflk {
  color: var(--ex-green-bright) !important;
}

html.landing-exile .footer.svelte-vywflk .description {
  color: var(--ex-muted);
  font-size: 11px;
}

/* Success screen — как на firespark после авторизации */
html.landing-exile.exile-auth-success,
html.landing-exile.exile-auth-success body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 197, 94, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(21, 128, 61, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ex-bg-mid) 0%, var(--ex-bg) 100%) !important;
}

html.landing-exile .exile-auth-panel--success {
  padding-top: 4px;
}

html.landing-exile .exile-auth-panel--success .exile-auth-heading {
  margin-bottom: 18px;
}

html.landing-exile .exile-auth-panel--success .exile-auth-heading h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

html.landing-exile .exile-auth-panel--success .exile-auth-heading p {
  font-size: 14px;
  line-height: 1.45;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ex-muted);
}

html.landing-exile .exile-auth-panel--success .auth.auth--regular.svelte-vywflk {
  background: var(--ex-panel) !important;
  border: 1px solid var(--ex-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--ex-shadow) !important;
}

html.landing-exile .exile-auth-panel--success #step-result.active .form.svelte-vywflk {
  padding: 32px 22px 26px;
  min-height: auto;
}

html.landing-exile .exile-auth-panel--success #step-result .explainer.svelte-vywflk {
  margin: 0;
}

html.landing-exile .exile-auth-panel--success #step-result .subheader {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ex-text);
}

html.landing-exile .exile-auth-panel--success #step-result .detail {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ex-muted);
  margin: 0;
}

html.landing-exile .exile-auth-panel--success #step-result .detail .svelte-vywflk {
  display: block;
}

html.landing-exile .exile-auth-panel--success #step-result .result-actions {
  margin-top: 28px;
  padding-bottom: 0;
}

html.landing-exile .exile-auth-panel--success #return-btn {
  min-height: 50px;
  border-radius: 12px !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--ex-green-glow) !important;
}

html.landing-exile .exile-auth-panel--success #auth-footer {
  display: none !important;
}

@media (max-width: 640px) {
  html.landing-exile .exile-auth-panel .container.svelte-12qhfyh,
  html.landing-exile .exile-auth-panel .container.svelte-vywflk {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  html.landing-exile .exile-auth-panel .auth.auth--phone.auth--regular.svelte-vywflk {
    min-height: auto !important;
    height: auto !important;
    border-radius: 16px !important;
    border: 1px solid var(--ex-border) !important;
    box-shadow: var(--ex-shadow) !important;
  }

  html.landing-exile .exile-auth-panel .auth--regular.svelte-vywflk .form.svelte-vywflk {
    padding: 22px 20px 8px;
    width: 100%;
    max-width: none;
  }

  html.landing-exile .exile-auth-panel--success #step-result.active .form.svelte-vywflk {
    padding: 30px 20px 24px;
  }
}

@keyframes ex-hero-pop {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ex-panel-glow {
  0%, 100% { box-shadow: var(--ex-shadow); border-color: var(--ex-border); }
  50% { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--ex-border-strong); }
}

@keyframes ex-glow-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 16px); }
}

@keyframes ex-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes ex-auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html.landing-exile .exile-hero--pop,
  html.landing-exile .exile-panel--glow,
  html.landing-exile .exile-glow-orb,
  html.landing-exile .exile-live-dot {
    animation: none !important;
  }
}
