
.spoof-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.28s, visibility 0.28s;
}
.spoof-overlay.open { opacity: 1; visibility: visible; }

.spoof-window {
  position: relative; width: min(100%, 420px); min-height: 380px;
  border-radius: 18px; overflow: hidden;
  background: #0a0a0a; border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
}
.spoof-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}

.spoof-close {
  position: absolute; top: 14px; right: 16px; z-index: 5;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, 0.04); color: #fff;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: background 0.2s;
}
.spoof-close:hover { background: rgba(255, 255, 255, 0.1); }

.spoof-view {
  position: relative; z-index: 2; display: none;
  flex-direction: column; align-items: center; justify-content: center;
  min-height: 380px; padding: 48px 36px 40px; text-align: center;
}
.spoof-view.active { display: flex; }

.spoof-view h2 {
  font-family: "Segoe UI", system-ui, sans-serif; font-size: 1.35rem;
  font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em;
}
.spoof-view > p {
  font-size: 0.88rem; color: #888; margin-bottom: 28px;
}

.spoof-input {
  width: 100%; max-width: 320px; padding: 14px 16px; margin-bottom: 22px;
  border-radius: 8px; border: 1px solid #2a2a2a; background: #141414;
  color: #fff; font: inherit; font-size: 16px; outline: none;
  transition: border-color 0.2s;
}
.spoof-input::placeholder { color: #555; }
.spoof-input:focus { border-color: #444; }

.spoof-btn-white {
  width: 100%; max-width: 320px; padding: 14px 20px; border: 0; border-radius: 8px;
  background: #fff; color: #000; font: inherit; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: transform 0.15s, opacity 0.15s;
  min-height: 48px;
}
.spoof-btn-white:hover { transform: translateY(-1px); opacity: 0.95; }

.spoof-info {
  width: 100%; max-width: 340px; margin: 20px 0 28px; padding: 18px 20px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.spoof-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; font-size: 0.88rem; color: #ccc;
}
.spoof-info-row span:last-child { color: #4ade80; font-weight: 600; }

.spoof-actions {
  display: flex; gap: 12px; width: 100%; max-width: 340px;
}
.spoof-actions .spoof-btn-white { flex: 1; max-width: none; font-size: 0.88rem; padding: 13px 12px; }

.spoof-demo-link {
  display: block; width: 100%; margin-top: 10px; padding: 0;
  border: 0; background: none; color: var(--violet-light, #c084fc);
  font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  text-align: center; text-decoration: underline; text-underline-offset: 3px;
}
.spoof-demo-link:hover { color: #ddd6fe; }

@media (max-width: 540px) {
  .spoof-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .spoof-window {
    width: 100%;
    max-width: none;
    min-height: 0;
    border-radius: 18px 18px 0 0;
  }
  .spoof-view {
    min-height: min(85dvh, 520px);
    padding: 44px 20px calc(28px + env(safe-area-inset-bottom));
  }
  .spoof-view h2 { font-size: 1.2rem; }
  .spoof-close { width: 40px; height: 40px; top: 12px; right: 12px; }
  .spoof-actions { flex-direction: column; }
  .spoof-actions .spoof-btn-white { width: 100%; }
}
