:root {
  --bg: #080c1e;
  --card: rgba(14, 18, 44, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #6fd1ff;
  --accent-strong: #7d83ff;
  --text: #e7ebf5;
  --muted: #b7bed3;
  --button: #ffffff;
  --button-text: #0b1a30;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(circle at 20% 20%, rgba(109, 150, 255, 0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255, 148, 208, 0.16), transparent 30%),
    radial-gradient(circle at 60% 70%, rgba(132, 255, 210, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

.auth-shell {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: center;
}

.auth-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(111, 209, 255, 0.12);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid rgba(111, 209, 255, 0.3);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.auth-panel h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.02em;
}

.auth-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--button);
  color: var(--button-text);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  filter: brightness(0.96);
}

.auth-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.google-icon svg {
  width: 100%;
  height: 100%;
}

.auth-visual {
  position: relative;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(125, 131, 255, 0.28), rgba(111, 209, 255, 0.1), rgba(91, 255, 199, 0.16));
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-visual::after {
  content: "V3";
  position: absolute;
  bottom: 18px;
  right: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(231, 235, 245, 0.6);
}

.glow {
  position: absolute;
  filter: blur(52px);
  opacity: 0.9;
}

.glow-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(111, 209, 255, 0.55), transparent 55%);
  top: -40px;
  left: -60px;
}

.glow-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(125, 131, 255, 0.45), transparent 55%);
  bottom: -40px;
  right: -40px;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.65;
}

@media (max-width: 720px) {
  body {
    padding: 18px;
  }

  .auth-panel {
    padding: 26px;
  }

  .auth-shell {
    gap: 16px;
  }
}
