:root {
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
  background: #08090d;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(6, 182, 212, 0.08), transparent 70%);
  color: #e2e8f0;
  font-family: var(--font-display);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.auth-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 1.75rem;
  background: rgba(13, 15, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
.brand-wrap svg {
  width: 20px;
  height: 20px;
}
.brand-wrap:hover {
  opacity: 0.9;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-link:hover {
  color: #38bdf8;
}
.operator-btn {
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.operator-btn.unauthenticated {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}
.operator-btn.unauthenticated:hover {
  background: #10b981;
  color: #041f14;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}
.operator-btn.authenticated {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}
.operator-btn.authenticated:hover {
  background: #38bdf8;
  color: #000;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(48px + 1rem) 1.5rem calc(32px + 1rem) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  box-sizing: border-box;
  width: 100%;
}
.hero-banner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 75%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.35rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}
.btn-cta span {
  font-size: 0.875rem;
}
.btn-cta-primary {
  background: #10b981;
  color: #041f14;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.28);
}
.btn-cta-primary:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}
.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}
.btn-cta-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-cta-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.playground-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .hero-title { font-size: 1.5rem; }
  .playground-grid { grid-template-columns: 1fr; }
}

.deck-card {
  background: rgba(15, 18, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.deck-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.status-pill {
  font-size: 0.6875rem;
  font-family: ui-monospace, monospace;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.status-uninitialized {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.status-authenticated {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.status-standby {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.auth-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.auth-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.auth-metric-label {
  font-size: 0.65rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-metric-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.code-block {
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.55;
  margin: 0;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}
.spec-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.spec-strong {
  color: #fff;
  font-weight: 700;
}

footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1.75rem;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  background: rgba(8, 9, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}
footer.site-footer a, footer.site-footer button {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}
footer.site-footer a:hover, footer.site-footer button:hover {
  color: #38bdf8;
}
