:root {
  --primary: #0067c0;
  --primary-strong: #005a9e;
  --primary-light: #e7f1ff;
  --text: #1f1f1f;
  --text-secondary: #666666;
  --muted: #808080;
  --border: #d0d0d0;
  --surface: #ffffff;
  --surface-secondary: #f5f5f5;
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: "Segoe UI", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f1ff 50%, #f0f8ff 100%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  padding: 32px 0 48px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 50%, rgba(0, 103, 192, 0.08) 0%, rgba(0, 103, 192, 0) 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 103, 192, 0.04) 0%, rgba(0, 103, 192, 0) 50%);
  opacity: 0.8;
  z-index: 0;
}

body::after {
  content: "Rinn.Moe";
  position: fixed;
  bottom: -2vh;
  left: -2vw;
  font-size: 140px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(0, 103, 192, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "Segoe UI", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.canvas {
  text-align: center;
  padding: 60px 48px;
  background: var(--surface);
  border: 1px solid rgba(208, 208, 208, 0.6);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: 90vw;
  position: relative;
  z-index: 1;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-icon {
  width: clamp(56px, 8vw, 76px);
  height: clamp(56px, 8vw, 76px);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 103, 192, 0.05) 100%);
  border: 1px solid rgba(0, 103, 192, 0.15);
}

.icon-shield {
  font-size: clamp(32px, 6vw, 44px);
}

.subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
}

.lead {
  margin: 0 auto 32px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
  font-size: 16px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 103, 192, 0.25);
}

.btn.primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 4px 12px rgba(0, 103, 192, 0.35);
  transform: translateY(-2px);
}

.btn.secondary {
  background: var(--surface-secondary);
  color: var(--text);
  border-color: var(--border);
}

.btn.secondary:hover {
  background: #ececec;
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.meta {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
}

@media (max-width: 640px) {
  .canvas {
    padding: 48px 32px;
    max-width: 100%;
    width: 95vw;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 13px;
  }
}
