/* シンプルな共通スタイル。後から自由に編集してよい。 */

:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #5865f2; /* Discord ブランドカラー */
  --accent-hover: #4752c4;
  --border: #2a2e37;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.6;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

p {
  color: var(--muted);
  margin: 0.5rem 0;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-hover);
}

.link {
  color: var(--accent);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.footer-link {
  margin-top: 2rem;
  font-size: 0.9rem;
}
