:root {
  --bg-primary: #050807;
  --card-bg: rgba(9, 19, 15, 0.8);
  --card-border: rgba(45, 212, 191, 0.2);
  --accent-green: #10b981;
  --accent-teal: #14b8a6;
  --text-main: #f0fdf4;
  --text-muted: #9bb3a8;
  --btn-bg: rgba(13, 27, 21, 0.75);
  --btn-border: rgba(26, 51, 40, 0.85);
  --btn-hover-bg: rgba(19, 39, 31, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(5, 8, 7, 0.72), rgba(5, 15, 10, 0.85)),
    url('https://i.postimg.cc/RFcswbK2/DARK-SOULS-III-18-08-2024-13-52-28.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
}

.background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 34px 24px 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.profile {
  text-align: center;
  margin-bottom: 24px;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-teal);
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.3);
  background-color: #142820;
}

.status-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  background-color: var(--accent-green);
  border: 2px solid #09130f;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.name {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.bio {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 8px;
}

.links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.icon {
  width: 20px;
  height: 20px;
  color: var(--accent-teal);
  transition: transform 0.25s ease, color 0.25s ease;
}

.link-item:hover {
  background-color: var(--btn-hover-bg);
  border-color: var(--accent-teal);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.22);
}

.link-item:hover .icon {
  color: var(--text-main);
  transform: scale(1.1);
}

footer {
  margin-top: 24px;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.5;
}

@media (max-width: 480px) {
  body {
    padding: 16px;
  }

  .card {
    padding: 28px 20px 22px;
  }
}
