﻿/* ============================================================
   EXILE FREE CHEATS — Complete Redesign v4
   Theme: Dark Military / Hacker Terminal (Neon Green)
   ============================================================ */

html.landing-exile [hidden] { display: none !important; }

/* ---- Body reset (needed to override Svelte base flex layout) ---- */
html.landing-exile,
html.landing-exile body {
  min-height: 100%;
  margin: 0;
  background: #020905 !important;
  color: #c8ecd1;
}
html.landing-exile body {
  display: block;
  font-family: 'Courier New', 'Consolas', monospace;
}

/* ---- Page ---- */
html.landing-exile .exile-page {
  width: 100%;
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  --ex-bg:      #020905;
  --ex-bg2:     #071209;
  --ex-panel:   #060e08;
  --ex-border:  rgba(57,255,20,0.18);
  --ex-green:   #39ff14;
  --ex-green2:  #00e040;
  --ex-red:     #ff3333;
  --ex-yellow:  #ffd600;
  --ex-text:    #c8ecd1;
  --ex-muted:   #4a7a56;
  --ex-white:   #f0fff3;
}

/* ---- Background Grid ---- */
html.landing-exile .exile-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---- Scanlines ---- */
html.landing-exile .exile-scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 3px,
    rgba(0,0,0,0.10) 3px, rgba(0,0,0,0.10) 4px
  );
}

/* ---- Glow Orbs ---- */
html.landing-exile .exile-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
html.landing-exile .exile-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}
html.landing-exile .exile-orb--1 {
  width: 360px; height: 360px; top: -80px; left: -80px;
  background: radial-gradient(circle, #39ff14 0%, transparent 70%);
  animation: exOrb1 8s ease-in-out infinite alternate;
}
html.landing-exile .exile-orb--2 {
  width: 300px; height: 300px; bottom: 0; right: -60px;
  background: radial-gradient(circle, #00b830 0%, transparent 70%);
  animation: exOrb2 10s ease-in-out infinite alternate;
}
html.landing-exile .exile-orb--3 {
  width: 200px; height: 200px; top: 45%; left: 55%;
  background: radial-gradient(circle, #1aff7a 0%, transparent 70%);
  opacity: 0.10;
  animation: exOrb1 12s ease-in-out infinite alternate-reverse;
}
@keyframes exOrb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,30px) scale(1.1); } }
@keyframes exOrb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-20px,-20px) scale(1.08); } }

/* ---- App wrapper (centered column) ---- */
html.landing-exile .exile-app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Header ---- */
html.landing-exile .exile-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ex-border);
  margin-bottom: 36px;
}
html.landing-exile .exile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
html.landing-exile .exile-brand-mark {
  width: 40px; height: 40px;
  background: var(--ex-green);
  color: #020905;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  letter-spacing: 1px;
  flex-shrink: 0;
}
html.landing-exile .exile-brand-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--ex-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html.landing-exile .exile-brand-text em {
  font-style: normal;
  color: var(--ex-green);
}
html.landing-exile .exile-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ex-muted);
  letter-spacing: 0.04em;
}
html.landing-exile .exile-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ex-green);
  box-shadow: 0 0 6px var(--ex-green);
  animation: exLivePulse 1.4s ease-in-out infinite;
}
@keyframes exLivePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--ex-green); }
  50% { opacity: 0.45; box-shadow: 0 0 2px var(--ex-green); }
}

/* ---- Hero ---- */
html.landing-exile .exile-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.landing-exile .exile-hero.exile-hero--pop {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Tags ---- */
html.landing-exile .exile-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
html.landing-exile .exile-tag {
  padding: 4px 10px;
  border: 1px solid var(--ex-border);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ex-muted);
  background: rgba(57,255,20,0.04);
}
html.landing-exile .exile-tag--ver { color: var(--ex-yellow); border-color: rgba(255,214,0,0.30); background: rgba(255,214,0,0.05); }
html.landing-exile .exile-tag--safe { color: var(--ex-green); border-color: rgba(57,255,20,0.40); background: rgba(57,255,20,0.07); }

/* ---- Title ---- */
html.landing-exile .exile-title {
  margin: 0;
  font-size: clamp(34px, 10vw, 62px);
  font-weight: 900;
  color: var(--ex-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(57,255,20,0.20);
}
html.landing-exile .exile-accent {
  color: var(--ex-green);
  text-shadow: 0 0 30px rgba(57,255,20,0.55), 0 0 80px rgba(57,255,20,0.18);
  display: block;
}
html.landing-exile .exile-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ex-muted);
  max-width: 380px;
  line-height: 1.65;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Terminal Panel ---- */
html.landing-exile .exile-terminal {
  width: 100%;
  max-width: 420px;
  background: var(--ex-panel);
  border: 1px solid var(--ex-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(57,255,20,0.04), 0 6px 36px rgba(0,0,0,0.55);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
html.landing-exile .exile-terminal.exile-panel--glow {
  box-shadow: 0 0 24px rgba(57,255,20,0.22), 0 0 2px var(--ex-green), 0 6px 36px rgba(0,0,0,0.55);
  border-color: rgba(57,255,20,0.40);
}
html.landing-exile .exile-terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(57,255,20,0.05);
  border-bottom: 1px solid var(--ex-border);
}
html.landing-exile .exile-dots { display: flex; gap: 6px; }
html.landing-exile .exile-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
html.landing-exile .exile-dot--r { background: #ff5f57; }
html.landing-exile .exile-dot--y { background: #febc2e; }
html.landing-exile .exile-dot--g { background: #28c840; }
html.landing-exile .exile-terminal-name {
  flex: 1;
  font-size: 11px;
  color: var(--ex-muted);
  letter-spacing: 0.06em;
  text-align: center;
}
html.landing-exile .exile-terminal-active {
  font-size: 10px;
  font-weight: 700;
  color: var(--ex-green);
  letter-spacing: 0.08em;
  animation: exBlink 2s step-end infinite;
}
@keyframes exBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

html.landing-exile .exile-features {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
html.landing-exile .exile-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(57,255,20,0.06);
  transition: background 0.2s;
}
html.landing-exile .exile-feat:last-child { border-bottom: none; }
html.landing-exile .exile-feat:hover { background: rgba(57,255,20,0.04); }
html.landing-exile .exile-feat-ico {
  font-size: 16px;
  color: var(--ex-green);
  flex-shrink: 0;
  line-height: 1;
}
html.landing-exile .exile-feat-label {
  flex: 1;
  font-size: 13px;
  color: var(--ex-text);
  text-align: left;
  font-family: 'Courier New', monospace;
}
html.landing-exile .exile-feat-val {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(57,255,20,0.10);
  color: var(--ex-green);
  border: 1px solid rgba(57,255,20,0.28);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ---- Stats ---- */
html.landing-exile .exile-stats {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 420px;
  background: var(--ex-panel);
  border: 1px solid var(--ex-border);
  border-radius: 10px;
  overflow: hidden;
}
html.landing-exile .exile-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  gap: 4px;
}
html.landing-exile .exile-stat-sep {
  width: 1px; height: 40px;
  background: var(--ex-border);
  flex-shrink: 0;
}
html.landing-exile .exile-stat-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--ex-white);
  letter-spacing: 0.02em;
  font-family: 'Courier New', monospace;
}
html.landing-exile .exile-stat-val--safe { color: var(--ex-green); text-shadow: 0 0 10px rgba(57,255,20,0.4); font-size: 16px; }
html.landing-exile .exile-stat-lbl {
  font-size: 10px;
  color: var(--ex-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: -apple-system, sans-serif;
}

/* ---- Download Button ---- */
html.landing-exile .exile-download-btn {
  width: 100%;
  max-width: 420px;
  padding: 16px 24px;
  background: var(--ex-green);
  color: #020905;
  font-size: 15px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(57,255,20,0.35), 0 4px 18px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
html.landing-exile .exile-download-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
}
html.landing-exile .exile-download-btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(57,255,20,0.50), 0 6px 22px rgba(0,0,0,0.5); }
html.landing-exile .exile-download-btn:active { transform: translateY(0); box-shadow: 0 0 12px rgba(57,255,20,0.30); }

/* ---- Badges ---- */
html.landing-exile .exile-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
html.landing-exile .exile-badge {
  padding: 5px 12px;
  border: 1px solid var(--ex-border);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ex-muted);
  background: rgba(57,255,20,0.04);
  font-family: -apple-system, sans-serif;
}
html.landing-exile .exile-badge--warn { color: var(--ex-yellow); border-color: rgba(255,214,0,0.30); background: rgba(255,214,0,0.05); }

/* ---- Note ---- */
html.landing-exile .exile-note {
  margin: 0;
  font-size: 12px;
  color: var(--ex-muted);
  text-align: center;
  max-width: 360px;
  line-height: 1.6;
  font-family: -apple-system, sans-serif;
}

/* ---- Auth Panel ---- */
html.landing-exile .exile-auth-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  animation: exFadeIn 0.4s ease;
}
@keyframes exFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

html.landing-exile .exile-auth-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
html.landing-exile .exile-auth-icon {
  width: 54px; height: 54px;
  background: rgba(57,255,20,0.08);
  border: 1px solid rgba(57,255,20,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ex-green);
  margin-bottom: 4px;
}
html.landing-exile .exile-auth-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ex-white);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
}
html.landing-exile .exile-auth-heading p {
  margin: 0;
  font-size: 13px;
  color: var(--ex-muted);
  font-family: -apple-system, sans-serif;
  max-width: 320px;
}

/* ============================================================
   MOBILE  (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  html.landing-exile .exile-app {
    padding: 0 16px 44px;
    align-items: stretch;
  }
  html.landing-exile .exile-header { padding: 16px 0 12px; margin-bottom: 24px; }
  html.landing-exile .exile-brand-mark { width: 34px; height: 34px; font-size: 13px; }
  html.landing-exile .exile-brand-text { font-size: 13px; }
  html.landing-exile .exile-hero { gap: 16px; align-items: stretch; }
  html.landing-exile .exile-tags-row { justify-content: flex-start; }
  html.landing-exile .exile-title { font-size: clamp(30px, 12vw, 46px); text-align: left; }
  html.landing-exile .exile-accent { display: inline; }
  html.landing-exile .exile-subtitle { text-align: left; }
  html.landing-exile .exile-terminal { max-width: 100%; }
  html.landing-exile .exile-stats { max-width: 100%; }
  html.landing-exile .exile-download-btn { max-width: 100%; font-size: 14px; padding: 15px 20px; }
  html.landing-exile .exile-badges { justify-content: flex-start; }
  html.landing-exile .exile-note { text-align: left; }
  html.landing-exile .exile-stat-val { font-size: 18px; }
  html.landing-exile .exile-orb--1 { width: 200px; height: 200px; filter: blur(60px); }
  html.landing-exile .exile-orb--2 { width: 160px; height: 160px; filter: blur(50px); }
  html.landing-exile .exile-orb--3 { display: none; }
  html.landing-exile .exile-auth-panel { align-items: stretch; }
  html.landing-exile .exile-auth-heading { align-items: flex-start; text-align: left; }
}

@media (max-width: 380px) {
  html.landing-exile .exile-brand-text { display: none; }
  html.landing-exile .exile-feat { padding: 7px 12px; }
  html.landing-exile .exile-feat-label { font-size: 12px; }
  html.landing-exile .exile-stat { padding: 12px 6px; }
}

/* ============================================================
   AUTH PANEL — full visibility fix (mirrors roblox approach)
   ============================================================ */

/* Hide Svelte background layers that paint everything black */
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,
html.landing-exile .exile-auth-panel .layer.layer-base.svelte-1afbb1c {
  display: none !important;
}

/* Hide Svelte logo/header block */
html.landing-exile .exile-auth-panel .logoWrapper.svelte-vywflk,
html.landing-exile .exile-auth-panel .auth--regular.svelte-vywflk .header.svelte-vywflk {
  display: none !important;
}

/* Container — transparent, no fixed height */
html.landing-exile .exile-auth-panel .container.svelte-12qhfyh,
html.landing-exile .exile-auth-panel .container.svelte-vywflk {
  width: 100% !important;
  max-width: 480px !important;
  min-height: auto !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Auth form card — visible dark green surface */
html.landing-exile .exile-auth-panel .auth.auth--phone.auth--regular.svelte-vywflk {
  width: 100% !important;
  max-width: 480px !important;
  min-height: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(57,255,20,0.18) !important;
  background: #0a1a0c !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(57,255,20,0.05) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Form inner padding */
html.landing-exile .exile-auth-panel .form.svelte-vywflk {
  padding: 28px 24px 8px !important;
  gap: 0 !important;
}

/* Footer */
html.landing-exile .exile-auth-panel .footer.svelte-vywflk {
  padding: 16px 24px 20px !important;
  border-top: 1px solid rgba(57,255,20,0.08) !important;
}

/* Text colors */
html.landing-exile .exile-auth-panel .subheader,
html.landing-exile .exile-auth-panel h3.subheader {
  color: #f0fff3 !important;
  font-size: 18px !important;
}
html.landing-exile .exile-auth-panel .detail,
html.landing-exile .exile-auth-panel .detail * {
  color: #6a9a75 !important;
}
html.landing-exile .exile-auth-panel .hint {
  color: #5a8a65 !important;
}
html.landing-exile .exile-auth-panel .description,
html.landing-exile .exile-auth-panel .description * {
  color: #4a6a52 !important;
}
html.landing-exile .exile-auth-panel .legal-link,
html.landing-exile .exile-auth-panel .qr-phone-link,
html.landing-exile .exile-auth-panel .back-link {
  color: #39ff14 !important;
}
html.landing-exile .exile-auth-panel .auth-error {
  color: #ff6b6b !important;
}

/* Input fields */
html.landing-exile .exile-auth-panel .input.input--secondary.input--neutral.svelte-14rzpox {
  background: #0d2010 !important;
  border-color: rgba(57,255,20,0.25) !important;
}
html.landing-exile .exile-auth-panel input.field.svelte-14rzpox {
  color: #f0fff3 !important;
  background: transparent !important;
}
html.landing-exile .exile-auth-panel .country.svelte-1cug6p {
  color: #c8ecd1 !important;
}
html.landing-exile .exile-auth-panel .placeholder.svelte-1cug6p {
  color: #4a7a56 !important;
}

/* Code digit inputs */
html.landing-exile .exile-auth-panel .digit.svelte-j7f9bk {
  background: #0d2010 !important;
  border-color: rgba(57,255,20,0.25) !important;
  color: #f0fff3 !important;
}
html.landing-exile .exile-auth-panel .digit.svelte-j7f9bk:focus {
  border-color: #39ff14 !important;
  box-shadow: 0 0 0 2px rgba(57,255,20,0.15) !important;
}

/* Password input */
html.landing-exile .exile-auth-panel #password-input {
  color: #f0fff3 !important;
  background: #0d2010 !important;
}

/* QR spinner background */
html.landing-exile .exile-auth-panel .qr-spinner {
  background: #0d2010 !important;
}
