:root {
  --bg-top: #f81e1e;
  --bg-bottom: #1b0303;
  --panel: rgba(82, 8, 8, 0.86);
  --panel-soft: rgba(20, 9, 9, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff8ea;
  --muted: #d2c2bc;
  --red: #e73535;
  --red-dark: #910000;
  --red-soft: #ff615a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-top) 0%, #150202 48%, var(--bg-bottom) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100% - 32px, 460px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0 56px;
}

.profile-card {
  width: 100%;
  padding: 30px 24px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  margin: 0 auto 20px;
  padding: 6px;
  border-radius: 50%;
  background: conic-gradient(from -40deg, var(--red-soft), var(--red), #1a0505, var(--red-dark), var(--red-soft));
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 4px solid #0c0f0a;
  border-radius: 50%;
  pointer-events: none;
}

.avatar img,
.avatar span {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar img {
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
  background: #f5f1e8;
}

.avatar span {
  display: grid;
  place-items: center;
  color: #11130f;
  font-size: 42px;
  font-weight: 900;
  background: #f5f1e8;
}

.tagline {
  margin: 0 0 4px;
  color: var(--red-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 12vw, 68px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.about {
  max-width: 390px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.58;
}

.contact {
  display: block;
  padding: 15px 18px;
  color: var(--text);
  background: rgba(75, 12, 12, 0.64);
  border: 1px solid rgba(231, 53, 53, 0.74);
  border-radius: 8px;
}

.contact span {
  display: block;
  margin-bottom: 3px;
  color: var(--red-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact strong {
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 18px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(231, 53, 53, 0.7);
  background: rgba(35, 12, 12, 0.96);
}

.link-button span {
  font-size: 16px;
  font-weight: 900;
}

.link-button strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #10120e;
  font-size: 12px;
  font-weight: 900;
  background: var(--red);
  border-radius: 50%;
}

.link-button:nth-child(2) strong,
.link-button:nth-child(4) strong {
  color: var(--text);
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

footer {
  margin-top: 18px;
  color: #bfc8c5;
  text-align: center;
  font-size: 13px;
}

footer span {
  margin: 0 10px;
  color: var(--red-soft);
  font-weight: 900;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 460px);
    padding-top: 44px;
  }

  .profile-card {
    padding: 24px 18px 20px;
  }

  .avatar {
    width: 132px;
    height: 132px;
  }

  .about {
    font-size: 15px;
  }
}
