:root {
  --bg-start: #0d1118;
  --bg-end: #05070b;
  --panel: rgba(14, 18, 25, 0.94);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e9eef7;
  --muted: #9aabbe;
  --accent: #f28b31;
  --accent-strong: #ff6d1f;
  --steel: #2a6dd0;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -5%, rgba(242, 139, 49, 0.2), transparent 40%),
    radial-gradient(circle at 90% 105%, rgba(42, 109, 208, 0.18), transparent 38%),
    linear-gradient(160deg, var(--bg-start), var(--bg-end));
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.card {
  width: min(100%, 500px);
  background: linear-gradient(180deg, rgba(23, 28, 38, 0.95), rgba(12, 15, 22, 0.95));
  border: 1px solid var(--panel-border);
  border-top: 3px solid var(--accent);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 2rem 1.35rem;
  text-align: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(242, 139, 49, 0.9);
  box-shadow: 0 0 0 5px rgba(242, 139, 49, 0.17);
  background: #1f1f1f;
}

.realm {
  margin: 1rem 0 0.35rem;
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  text-transform: lowercase;
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: 0.02em;
}

.spec {
  margin: 0.35rem 0 0.6rem;
  font-weight: 700;
  color: var(--accent);
}

.bio {
  margin: 0.25rem 0 1.35rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.links {
  display: grid;
  gap: 0.72rem;
}

.link {
  display: block;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(145deg, rgba(34, 41, 56, 0.95), rgba(25, 31, 44, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid rgba(242, 139, 49, 0.4);
  border-radius: 0.72rem;
  padding: 0.88rem 1rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link span {
  display: block;
  font-weight: 800;
}

.link small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 139, 49, 0.45);
  border-left-color: var(--accent-strong);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.handles {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.handles h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.security-note {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.handle-row {
  background: linear-gradient(140deg, rgba(23, 28, 38, 0.95), rgba(14, 18, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid rgba(42, 109, 208, 0.6);
  border-radius: 0.72rem;
  padding: 0.75rem;
  margin-top: 0.65rem;
}

.handle-name {
  margin: 0;
}

.handle-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.handle-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(40, 47, 62, 0.95), rgba(28, 34, 48, 0.95));
  color: var(--text);
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
}

.handle-btn:hover,
.handle-btn:focus-visible {
  border-color: rgba(242, 139, 49, 0.6);
}

.handle-status {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

@media (max-width: 420px) {
  .card {
    padding: 1.6rem 1rem;
  }

  .bio {
    font-size: 0.9rem;
  }
}