:root {
  --bg: #121212;
  --text: #f4f4f4;
  --card: #1e1e1e;
  --accent: #0078d7;
}

[data-theme='light'] {
  --bg: #f4f4f4;
  --text: #1a1a1a;
  --card: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  padding: 2rem;
  transition: all 0.3s ease;
}

.container {
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--accent);
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.role {
  color: gray;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.icons a {
  font-size: 1.8rem;
  color: var(--text);
  transition: transform 0.2s, color 0.2s;
}

.icons a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.4rem;
  background: var(--card);
  padding: 0.6rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.theme-toggle:hover {
  background: #2a2a2a;
}

footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: gray;
}
