/* Antifa Membership Portal - Military Grade Satire Styles */

:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #1a1a1a;
  --red: #dc2626;
  --red-dark: #991b1b;
  --green: #22c55e;
  --green-dark: #166534;
  --slate: #64748b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #444 #1a1a1a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Terminal styling */
.terminal {
  background: #000;
  border: 1px solid #333;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.8);
}

.terminal-line {
  opacity: 0;
  animation: fadeInLine 120ms forwards;
}

@keyframes fadeInLine {
  to { opacity: 1; }
}

/* Progress bars */
.progress-bar {
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card styles */
.security-card {
  background: var(--bg-card);
  border: 1px solid #333;
  transition: border-color 200ms, transform 200ms;
}

.security-card.complete {
  border-color: var(--green);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.pending { background: #f59e0b; }
.status-dot.running { background: #3b82f6; animation: pulse 1.2s infinite; }
.status-dot.complete { background: var(--green); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Form inputs */
.input {
  background: #111;
  border: 1px solid #444;
  color: var(--text);
  transition: all 150ms;
}

.input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input::placeholder {
  color: #555;
}

/* Big secure code display */
.secure-code {
  font-size: 2.25rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: linear-gradient(90deg, #111, #1f2937, #111);
  padding: 1.25rem 2rem;
  border: 2px solid var(--green);
  box-shadow: 0 0 0 1px #166534 inset;
}

/* Reveal screen drama */
.reveal-screen {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a0f0f 100%);
}

.reveal-text {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn-red {
  background: var(--red);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 150ms;
}

.btn-red:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.btn-red:active {
  transform: scale(0.985);
}

.btn-green {
  background: var(--green);
  color: #052e16;
  font-weight: 700;
}

.btn-green:hover {
  background: #16a34a;
}

.btn-ghost {
  border: 1px solid #444;
  background: transparent;
}

.btn-ghost:hover {
  background: #222;
  border-color: #666;
}

/* Fake government / seal elements */
.seal {
  border: 3px double #444;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--text-muted);
}

/* Section transitions */
.screen {
  transition: opacity 250ms ease, transform 250ms ease;
}

.screen.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  position: absolute;
  width: 100%;
}

/* Subtle grid background */
.grid-bg {
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Checkbox custom */
input[type="checkbox"] {
  accent-color: var(--red);
}

/* Warning banner */
.warning-banner {
  background: #3f1f1f;
  border: 1px solid #7f1d1d;
}