:root {
  --gold: #c9a84c; --gold-dark: #a07830; --gold-light: #e8c96e;
  --bg: #0a0a0f; --bg-card: #111118; --bg-card2: #13131c;
  --border: #2a2a3a; --text: #e0d9cc; --muted: #9a9080;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: system-ui, sans-serif; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 65%);
}

.wrap { max-width: 520px; width: 100%; display: flex; flex-direction: column; gap: 1.25rem; }

.header { text-align: center; margin-bottom: 0.5rem; }
.logo { font-family: Georgia, serif; font-size: 1.8rem; font-weight: bold; letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }

.login-block { text-align: center; }
.login-block h1 { font-family: Georgia, serif; font-size: 1.4rem; margin-bottom: 0.5rem; }
.login-block p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.75rem; line-height: 1.6; }

.btn-discord {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: #5865F2; color: white; padding: 0.85rem 2rem; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  transition: all 0.2s; border: none; cursor: pointer; width: 100%;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(88,101,242,0.3); }
.btn-discord svg { flex-shrink: 0; }

.divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 0; }
.divider span { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.oauth-explain h2 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.step { display: flex; gap: 0.875rem; margin-bottom: 0.875rem; align-items: flex-start; }
.step:last-child { margin-bottom: 0; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201,168,76,0.12); border: 1px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--gold); margin-top: 1px;
}
.step-text strong { display: block; font-size: 0.875rem; color: var(--text); margin-bottom: 0.2rem; }
.step-text span { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.safety { background: var(--bg-card2); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.safety h2 { font-size: 0.875rem; font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.safety ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.safety li { font-size: 0.82rem; color: var(--muted); display: flex; gap: 0.5rem; line-height: 1.5; }
.safety li::before { content: '✓'; color: #90d090; flex-shrink: 0; font-weight: 700; }

.alert { padding: 0.875rem 1.25rem; border-radius: 10px; font-size: 0.875rem;
  border: 1px solid rgba(180,60,60,0.4); background: rgba(180,60,60,0.1); color: #e08080; }

.footer-note { text-align: center; font-size: 0.78rem; color: #3a3430; }
