:root {
  --phantom-purple: #AB9FF2;
  --phantom-purple-dark: #7B6EE0;
  --phantom-bg: #1C1C1E;
  --phantom-bg-2: #2A2A2E;
  --phantom-text: #FFFFFF;
  --phantom-text-dim: #A0A0A8;
  --phantom-green: #4ADE80;
  --phantom-red: #EF4444;
  --phantom-border: rgba(171, 159, 242, 0.15);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  background: #0F0F12;
  color: var(--phantom-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

/* центральный блок */
.container, .wrap, .main {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px;
}

.logo, img.logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, #AB9FF2 0%, #7B6EE0 100%);
  padding: 16px;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 8px 32px rgba(171, 159, 242, 0.25);
}

h1, h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  text-align: center;
  color: #fff;
}

p { color: var(--phantom-text-dim); font-size: 15px; line-height: 1.55; text-align: center; margin: 0 0 16px; }

/* кнопка */
.trust-btn, button[type="button"], .btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--phantom-purple);
  color: #1C1C1E;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: -0.2px;
}
.trust-btn:hover, button[type="button"]:hover, .btn:hover { background: #BDB2F5; }
.trust-btn:active { transform: translateY(1px); }
.trust-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* иконка подключения */
.connect-icon {
  width: 80px; height: 80px;
  margin: 32px auto 24px;
  border-radius: 50%;
  background: rgba(171, 159, 242, 0.1);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(171, 159, 242, 0.3);
}

/* модалка */
.modal {
  background: #1C1C1E;
  border-radius: 20px;
  padding: 24px;
  max-width: 400px;
  color: #fff;
  border: 1px solid var(--phantom-border);
}
