*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --border: #2a2d3a;
  --text-primary: #e8eaf0;
  --text-secondary: #8b8fa8;
  --accent: #5b8dee;
  --accent-hover: #7aa3f5;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 1rem;
  line-height: 1.6;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 540px;
  width: 100%;
}

.domain {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.gpg-section h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.gpg-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gpg-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}

.gpg-link:hover,
.gpg-link:focus {
  border-color: var(--accent);
  color: var(--accent-hover);
  outline: none;
}

.gpg-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gpg-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.gpg-link-label {
  font-weight: 500;
}

.gpg-link-url {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

footer {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
    justify-content: center;
  }

  .card {
    padding: 1.25rem 1rem;
  }

  .domain {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  .divider {
    margin-bottom: 1.25rem;
  }

  .gpg-section h2 {
    margin-bottom: 0.65rem;
  }

  footer {
    margin-top: 1rem;
  }

  .gpg-link-url {
    display: none;
  }
}
