*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050508;
  --surface: #0d0d14;
  --border: rgba(255,255,255,0.07);
  --accent: #c8f542;
  --accent-dim: rgba(200,245,66,0.12);
  --text: #f0f0f0;
  --muted: rgba(240,240,240,0.35);
}

body {
  font-family: 'DM Mono', monospace;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,245,66,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,245,66,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,245,66,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Scan line */
@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.scanline {
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(transparent, rgba(200,245,66,0.06), transparent);
  animation: scan 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Card */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card {
  position: relative;
  z-index: 1;
  width: 380px;
  padding: 52px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  animation: fadeUp 0.7s cubic-bezier(.16,1,.3,1) both;
}

/* Corner decorations */
.card::before, .card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
}
.card::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
}
.card::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
}

/* Inner corners */
.corner-tr, .corner-bl {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
}
.corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }

/* Header */
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.1s cubic-bezier(.16,1,.3,1) both;
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 18px; height: 18px;
  fill: #050508;
}

.logo-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* Status chip */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.2s cubic-bezier(.16,1,.3,1) both;
}

.status-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
  animation: fadeUp 0.7s 0.25s cubic-bezier(.16,1,.3,1) both;
}

h1 span { color: var(--accent); }

.subtitle {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.3s cubic-bezier(.16,1,.3,1) both;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.35s cubic-bezier(.16,1,.3,1) both;
}

/* Google button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, color 0.25s;
  animation: fadeUp 0.7s 0.4s cubic-bezier(.16,1,.3,1) both;
}

.btn-google::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}

.btn-google:hover { border-color: var(--accent); color: var(--accent); }
.btn-google:hover::before { transform: translateX(0); }

.btn-google svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.25s;
}

.btn-google:hover svg { transform: scale(1.1); }

.btn-google span {
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  margin-top: 28px;
  font-size: 10px;
  color: rgba(240,240,240,0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  animation: fadeUp 0.7s 0.5s cubic-bezier(.16,1,.3,1) both;
}

/* Blinking cursor detail */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor {
  display: inline-block;
  width: 2px; height: 12px;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}