:root {
  --primary-green: #2ecc71;
  --medium-green: #27ae60;
  --dark-green: #1b4332;
  --text-color: #e0e0e0;
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-green);
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.profile-pic:hover { transform: scale(1.05); }

h1 { color: var(--medium-green); margin-bottom: 8px; }
.bio { color: #aaa; line-height: 1.6; margin-bottom: 24px; white-space: pre-line; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.social-link {
  display: block;
  background: var(--dark-green);
  color: var(--medium-green);
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.social-link:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.25);
}

.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lang-switcher button {
  background: transparent;
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.lang-switcher button:hover,
.lang-switcher button.active {
  background: var(--primary-green);
  color: white;
}

.languages {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  justify-content: center;
  align-items: center;
}

.lang-flag {
  font-size: 2rem;
  line-height: 1;
  cursor: default;
  /* Subtle blend with the dark background so it doesn't pop harshly */
  filter: brightness(0.95) saturate(0.85);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.lang-flag.valid:hover {
  cursor: pointer;
  transform: scale(1.15);
  filter: brightness(1) saturate(1);
}