* {
  box-sizing: border-box;
}

:root {
  --bg: #05070a;
  --text: #f5f7fb;
  --muted: #aeb7c7;
  --panel: rgba(7, 10, 15, 0.64);
  --border: rgba(255, 255, 255, 0.18);
  --red: #d91f2d;
  --red-hover: #f03745;
  --steel-hover: #4a5870;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: start;
  padding: clamp(1.5rem, 4vw, 5rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.20) 72%),
    url("./assets/fatpollo-login.png") center center / cover no-repeat;
}

.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 55%, rgba(217, 31, 45, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
}

.panel {
  position: relative;
  width: min(100%, 39rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 6vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.subtitle {
  max-width: 34rem;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--red);
}

.primary:hover {
  background: var(--red-hover);
}

.secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
}

.secondary:hover {
  background: var(--steel-hover);
}

.fineprint {
  margin: 1rem 0 0;
  color: rgba(245, 247, 251, 0.64);
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .hero {
    align-items: end;
    background-position: 58% center;
  }

  .panel {
    width: 100%;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
