@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #020617;
  --bg-soft: #020617;
  --surface: #020617;
  --surface-elevated: #020617;
  --card: #020617;
  --primary: #0ea5e9;
  --primary-soft: rgba(14, 165, 233, 0.25);
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.25);
  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --border-strong: rgba(30, 64, 175, 0.8);
}

/* Base reset */

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #020617 0, #000 55%, #000 100%);
  color: var(--text-main);
  height: 100%;
}

body {
  overflow-x: hidden;
}

/* Ambient background */

.ambient-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.3);
  opacity: 0.5;
  z-index: -2;
}

.ambient-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 55%),
    linear-gradient(to bottom, #020617 0%, #020617 45%, #020617 100%);
}

/* Generic icon sizing */

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* Generic pill button */

.chrome-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  padding: 5px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    transform 0.08s ease,
    border-color 0.15s ease;
}

.chrome-btn .icon {
  width: 16px;
  height: 16px;
}

.chrome-btn:hover {
  background: rgba(30, 64, 175, 0.95);
  border-color: rgba(129, 140, 248, 0.9);
  transform: translateY(-1px);
}