:root {
  --bg: #0d0c10;
  --bg-2: #15131b;
  --panel: rgba(30, 26, 38, 0.82);
  --border: rgba(214, 195, 255, 0.12);

  --text: #f3eef8;
  --muted: #b7aec8;

  --accent: #c5a7ff;
  --accent-soft: rgba(197, 167, 255, 0.08);

  --shadow: rgba(0, 0, 0, 0.32);
  --soft-line: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(140, 110, 220, 0.08), transparent 30%),
    radial-gradient(circle at bottom, rgba(110, 80, 170, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

@media (max-height: 760px), (max-width: 820px) {
  body {
    align-items: flex-start;
    padding: 16px 16px calc(48px + env(safe-area-inset-bottom));
  }
}

.login-button {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(197, 167, 255, 0.12);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.login-button:visited,
.login-button:active {
  color: inherit;
  text-decoration: none;
}

.login-button:hover {
  background: rgba(197, 167, 255, 0.14);
  color: var(--text);
}

.content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.left,
.right {
  padding: 38px 34px;
}

.left {
  border-right: 1px solid var(--soft-line);
  display: flex;
  flex-direction: column;
}

.logo-box img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.intro {
  margin: 0;
  padding-top: 10px;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.note {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(197, 167, 255, 0.1);
  color: #e0d8f1;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer {
  margin-top: auto;
  padding-top: 32px;
  opacity: 0.9;
}

@media (max-width: 820px) {
  body {
    align-items: flex-start;
    padding: 16px 16px calc(48px + env(safe-area-inset-bottom));
  }

  .content {
    grid-template-columns: 1fr;
  }

  .left {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }
}
