:root {
  --red: #d62828;
  --red-dark: #9d0208;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.78);
}

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  background: var(--red-dark) url("img/background.jpg") center / cover no-repeat fixed;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 48px 32px;
  text-align: center;
  border-radius: 32px;
  background: rgba(30, 6, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--red);
}

h1 {
  margin-top: 28px;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.tagline {
  margin-top: 12px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--white-soft);
}

.socials {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.socials a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
  outline: none;
}

.socials svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 480px) {
  .card {
    padding: 36px 20px;
    border-radius: 24px;
  }
  .avatar {
    width: 110px;
    height: 110px;
  }
}
