:root {
  --bg: #080b11;

  --surface: linear-gradient(
    180deg,
    rgba(25, 29, 38, 0.92),
    rgba(14, 17, 24, 0.95)
  );

  --text: #f5f7fb;
  --muted: #9ba3b3;

  --border: rgba(255, 255, 255, 0.08);

  --accent: #8aa0ff;
  --accent-hover: #9baeff;

  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);

  --radius: 28px;
}

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

body {
  font-family: Inter, sans-serif;

  min-height: 100vh;

  display: grid;
  place-items: center;

  padding: 32px;

  color: var(--text);

  background:
    linear-gradient(rgba(7, 10, 15, 0.55), rgba(7, 10, 15, 0.75)),
    url("../pics/background/eydooremake.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}

/* subtle vignette */
body::after {
  content: "";

  position: fixed;
  inset: 0;

  background: radial-gradient(circle, transparent 45%, rgba(0, 0, 0, 0.45));

  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 560px;

  position: relative;
  z-index: 1;
}

.profile {
  background: var(--surface);

  border: 1px solid var(--border);

  backdrop-filter: blur(18px);

  border-radius: var(--radius);

  padding: 52px;

  text-align: center;

  box-shadow: var(--shadow);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.profile:hover {
  transform: translateY(-4px);

  border-color: rgba(138, 160, 255, 0.25);
}

.avatar {
  width: 118px;
  height: 118px;

  object-fit: cover;

  border-radius: 50%;

  display: block;

  margin: 0 auto 28px;

  border: 3px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

h1 {
  font-size: 2.3rem;

  font-weight: 700;

  letter-spacing: -0.04em;

  margin-bottom: 10px;
}

.subtitle {
  color: var(--muted);

  font-size: 0.95rem;

  margin-bottom: 26px;
}

.bio {
  max-width: 420px;

  margin: 0 auto 38px;

  line-height: 1.8;

  color: #d5dae4;
}

.profile p a {
  color: var(--accent);

  text-decoration: none;

  transition: color 0.2s ease;
}

.profile p a:hover {
  color: var(--accent-hover);

  text-decoration: underline;
}

.links {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 18px;

  margin-bottom: 34px;
}

.links a {
  color: var(--muted);

  text-decoration: none;

  font-size: 0.95rem;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.links a:hover {
  color: white;

  transform: translateY(-1px);
}

.button-row {
  display: flex;

  justify-content: center;

  gap: 12px;

  margin-top: 10px;
}

.button {
  padding: 14px 24px;

  border-radius: 14px;

  background: var(--accent);

  color: white;

  text-decoration: none;

  font-weight: 600;

  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;

  box-shadow: 0 10px 35px rgba(138, 160, 255, 0.18);
}

.button:hover {
  transform: translateY(-2px);

  background: var(--accent-hover);

  box-shadow: 0 14px 40px rgba(138, 160, 255, 0.28);
}

.secondary {
  background: rgba(255, 255, 255, 0.03);

  border: 1px solid var(--border);

  box-shadow: none;
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.credit {
  margin-top: 34px;

  font-size: 0.88rem;

  color: var(--muted);

  opacity: 0.75;
}

@media (max-width: 600px) {
  .profile {
    padding: 38px;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }
}
