:root {
  --bg: #141414;
  --bg-card: #1f2937;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Prompt', Tahoma, sans-serif;
  min-height: 100vh;
}

body {
  background-image: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.18), transparent 50%),
                    radial-gradient(circle at 80% 100%, rgba(168, 85, 247, 0.15), transparent 50%);
  background-attachment: fixed;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100vh;
  justify-content: center;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card__icon {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  object-fit: cover;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.card__title-sm {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: left;
}

.card__tagline {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 12px;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  min-width: 220px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.card__btn:hover:not(:disabled)  { background: var(--accent-hover); }
.card__btn:active:not(:disabled) { transform: translateY(1px); }

.card__btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.card__btn-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 20h14v-2H5v2zM12 4l-7 7h4v6h6v-6h4l-7-7z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 20h14v-2H5v2zM12 4l-7 7h4v6h6v-6h4l-7-7z'/></svg>") center / contain no-repeat;
}

.card__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 1px;
}

.card__link:hover { color: var(--text); }

.card__hint {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card--list { padding: 18px 16px; }

.list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}

.list__item:hover    { background: rgba(255, 255, 255, 0.05); }
.list__item.is-active { background: rgba(37, 99, 235, 0.15); }

.list__item img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: cover;
}

.list__item span { font-size: 14px; font-weight: 500; }

.more {
  text-align: center;
  margin: 0;
}

.more a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 1px;
}

.more a:hover { color: var(--text); }
