/* ═══════════════════════════════════════════════════
   STALKEIA — STYLE.CSS (Landing + Confirm + Hacking)
   Mobile-first, fiel ao stalkeia.website
═══════════════════════════════════════════════════ */

:root {
  --primary:       #4a37b6;
  --primary-light: #ab58f4;
  --grad:          linear-gradient(135deg, #4a37b6 0%, #ab58f4 100%);
  --bg:            #040607;
  --card-bg:       #0a0b0e;
  --border:        rgba(255,255,255,0.08);
  --border-active: rgba(171,88,244,0.5);
  --text:          #f9f9f9;
  --muted:         #9ca3af;
  --muted2:        #6b7280;
  --error:         #ef4444;
  --font:          'Inter', -apple-system, system-ui, sans-serif;
  --max-w:         440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; }

/* ── SCREENS ─────────────────────────────────────── */
.screen { width: 100%; min-height: 100dvh; min-height: 100vh; position: relative; }

/* ── MATRIX CANVAS ───────────────────────────────── */
.matrix-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.13;
}

/* ── LANDING GLOW ────────────────────────────────── */
.landing-glow {
  position: fixed; top: -140px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 460px;
  background: radial-gradient(ellipse at center, rgba(74,55,182,.35) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:.4} 50%{opacity:.75} }

/* ── LANDING WRAP ────────────────────────────────── */
.landing-wrap {
  position: relative; z-index: 1;
  min-height: 100dvh; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px 64px;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── LOGO ────────────────────────────────────────── */
.logo-box {
  display: inline-flex; align-items: center; gap: 8px;
}
.logo-text {
  font-size: 18px; font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-badge {
  font-size: 9px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-top: 2px;
}

/* ── HEADLINE ────────────────────────────────────── */
.landing-h1 {
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 14px;
  min-height: 1.2em;
}

.landing-sub {
  font-size: 15px; font-weight: 400;
  line-height: 1.65; color: var(--muted);
  margin-bottom: 22px;
  min-height: 1.6em;
}

/* ── BADGES ──────────────────────────────────────── */
.badges {
  display: flex; flex-wrap: wrap;
  gap: 6px; justify-content: center;
  margin-bottom: 22px;
  transition: opacity .5s ease;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: rgba(255,255,255,0.75);
  padding: 5px 10px;
}

/* ── INPUT SECTION ───────────────────────────────── */
.input-wrap { width: 100%; max-width: 380px; margin-bottom: 14px; transition: opacity .5s ease; }
.input-row { position: relative; display: flex; align-items: center; }
.at-sign {
  position: absolute; left: 18px;
  font-size: 17px; font-weight: 600;
  color: var(--primary); z-index: 2; pointer-events: none;
}
.username-input {
  width: 100%;
  padding: 16px 52px 16px 36px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 500;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none;
}
.username-input::placeholder { color: var(--muted2); font-weight: 400; }
.username-input:focus {
  border-color: rgba(171,88,244,.5);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(74,55,182,.15);
}
.go-btn {
  position: absolute; right: 8px;
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.go-btn:hover { transform: scale(1.06); box-shadow: 0 4px 20px rgba(74,55,182,.5); }
.go-btn:active { transform: scale(0.97); }

.input-err {
  margin-top: 10px; padding: 10px 14px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 12px; color: #fca5a5;
  font-size: 13px; line-height: 1.5;
  animation: fadeInUp .3s ease;
}

/* ── COUNTER ─────────────────────────────────────── */
.counter-box { font-size: 14px; color: var(--muted); transition: opacity .5s ease; }
.counter-num {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════
   TELA 2 — CONFIRME O INSTAGRAM
══════════════════════════════════════════════════ */

.confirm-overlay {
  position: relative; z-index: 1;
  min-height: 100dvh; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px 48px;
}

.confirm-card {
  width: min(100%, 560px);
  background: rgba(10,11,14,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px 24px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: scaleIn .35s cubic-bezier(0.4,0,0.2,1);
}
@keyframes scaleIn { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }

.confirm-logo { display: flex; justify-content: center; margin-bottom: 22px; }

.confirm-title {
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 800; text-align: center;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.confirm-sub {
  font-size: 15px; color: var(--muted);
  text-align: center; line-height: 1.55;
  margin-bottom: 24px;
}
.confirm-sub strong { color: var(--text); }

/* ── PROFILE ROW ─────────────────────────────────── */
.profile-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 16px;
}
.profile-photo-wrap {
  position: relative; flex-shrink: 0;
  width: 82px; height: 82px;
}
.profile-photo-ring {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  z-index: 0;
}
.profile-photo-ring::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--card-bg);
}
.profile-photo {
  position: relative; z-index: 1;
  width: 82px; height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-bg);
}

.profile-stats {
  flex: 1;
  display: flex; gap: 8px; justify-content: space-around;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num { font-size: 18px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 12px; color: var(--muted); }

/* ── META ────────────────────────────────────────── */
.profile-meta { margin-bottom: 18px; }
.profile-fullname { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.profile-bio { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── LIMIT WARN ──────────────────────────────────── */
.limit-warn {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 12px;
  color: #fca5a5; font-size: 13px; line-height: 1.55;
  margin-bottom: 22px;
  text-align: center; justify-content: center;
}

/* ── BUTTONS ─────────────────────────────────────── */
.confirm-btns {
  display: flex; gap: 12px;
}
.btn-corrigir {
  flex: 1; padding: 15px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-corrigir:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }

.btn-confirmar {
  flex: 1.5; padding: 15px;
  background: var(--grad);
  border-radius: 999px;
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 28px rgba(74,55,182,.45);
  transition: transform .2s, box-shadow .2s;
}
.btn-confirmar:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(74,55,182,.6); }
.btn-confirmar:active { transform: translateY(0); }

/* ══════════════════════════════════════════════════
   TELA 3 — HACKING (Fake Instagram Login)
══════════════════════════════════════════════════ */

.hack-page {
  min-height: 100dvh; min-height: 100vh;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}

.hack-container {
  width: min(100%, 360px);
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}

/* Logo Instagram cursiva */
.instagram-font {
  font-family: 'Dancing Script', cursive;
  font-size: 46px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* Campos */
.hack-field {
  width: 100%;
  background: #121212;
  border: 1px solid #262626;
  border-radius: 6px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  position: relative;
  display: flex; align-items: center;
  min-height: 44px;
}
.hack-field.filled { color: rgba(255,255,255,0.85); }
.hack-field-text { flex: 1; }

/* Campo senha */
.password-field { justify-content: space-between; }
.hack-dots { flex: 1; letter-spacing: 3px; font-size: 16px; }
.hack-clear {
  color: rgba(255,255,255,0.5); font-size: 18px;
  cursor: pointer; padding: 0 8px;
}
.hack-eye {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hack-eye-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4e8ef7;
}

/* Status box */
.hack-status {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.hack-status-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  animation: statusSpin 1.2s linear infinite;
}
@keyframes statusSpin { to { transform: rotate(360deg); } }

.hack-status-text { display: flex; flex-direction: column; gap: 2px; }
.hack-status-main { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.hack-status-sub { font-size: 12px; color: rgba(255,255,255,0.45); }

/* Botão Entrar */
.hack-enter-btn {
  width: 100%;
  padding: 11px;
  background: #1877f2;
  opacity: 0.45;
  border-radius: 8px;
  color: #fff; font-size: 14px; font-weight: 600;
  cursor: not-allowed;
  transition: opacity .3s;
  margin-top: 4px;
}
.hack-enter-btn:not([disabled]) { opacity: 1; cursor: pointer; }

/* Links */
.hack-link {
  font-size: 13px; color: rgba(255,255,255,.55);
  margin: 4px 0;
}
.hack-link-blue { color: #4e8ef7; }

/* Divider */
.hack-divider {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  margin: 6px 0;
}
.hack-divider::before, .hack-divider::after {
  content: ''; flex: 1; height: 1px; background: #262626;
}
.hack-divider span { font-size: 12px; color: #666; font-weight: 600; }
.hack-divider-full { width: 100%; height: 1px; background: #1a1a1a; margin: 6px 0; }

/* Facebook link */
.hack-fb-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: #4e8ef7;
}

.hack-signup { font-size: 13px; color: rgba(255,255,255,.55); }

/* ── ANIMAÇÕES GLOBAIS ───────────────────────────── */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes typingBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes spinAnim { to { transform: rotate(360deg); } }
.spin-icon { animation: spinAnim 0.9s linear infinite; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 380px) {
  .confirm-card { padding: 20px 16px 22px; border-radius: 18px; }
  .confirm-title { font-size: 20px; }
  .hack-container { padding: 0 8px; }
  .instagram-font { font-size: 38px; }
}
