body {
  --bg-dark: #0b0f22;
  --bg-light: #e7ebf6;
  --text-dark: #f5f6ff;
  --text-light: #12131a;
  --accent: #a890ff;
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  transition: background 0.4s, color 0.4s;
}
body[data-theme="dark"] {
  background: radial-gradient(900px 600px at 20% 20%, rgba(120, 0, 255, 0.4), transparent 70%), radial-gradient(900px 600px at 90% 80%, rgba(255, 0, 180, 0.25), transparent 70%), linear-gradient(180deg, #0b0f22 0%, #0a0a14 100%);
  color: var(--text-dark);
}
body[data-theme="light"] {
  background: radial-gradient(900px 600px at 20% 20%, rgba(170, 120, 255, 0.25), transparent 70%), radial-gradient(900px 600px at 90% 80%, rgba(255, 210, 120, 0.2), transparent 70%), linear-gradient(180deg, #f0f3ff 0%, #dfe6fa 100%);
  color: var(--text-light);
}
.wrap {
  width: 90%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  padding: 30px;
  backdrop-filter: blur(16px);
  text-align: center;
}
body[data-theme="light"] .wrap {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.1);
}
.avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(170, 120, 255, 0.3);
}
.name {
  font-weight: 700;
  font-size: 20px;
}
.handle {
  opacity: 0.8;
}
.switch {
  display: inline-block;
  position: relative;
  width: 66px;
  height: 32px;
}
.switch .track {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.4));
  border-radius: 999px;
}
.switch .thumb {
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
body[data-theme="light"] .switch .thumb {
  transform: translate(36px, -50%);
  background: #111;
  color: #fff;
}
.link-btn {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  margin: 10px 0;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.3s, transform 0.3s;
}
.link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.social a {
  color: inherit;
  margin: 0 10px;
  font-size: 22px;
  text-decoration: none;
}
.social a:hover {
  color: var(--accent);
}
footer {
  font-size: 12px;
  opacity: 0.7;
}
.contact-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.contact-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}