:root {
  --bg: #ffffff;
  --bg-secondary: #f8f8f8;
  --text: #161209;
  --text-secondary: #6b6b6b;
  --accent: #ea4335;
  --accent-hover: #d33426;
  --border: #e8e8e8;
  --icon-hover: #ea4335;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --bg: #1a1a2e;
  --bg-secondary: #16213e;
  --text: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent: #ea4335;
  --accent-hover: #ff6b5b;
  --border: #2a2a4a;
  --icon-hover: #ff6b5b;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  padding: 2rem 1rem;
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top bar */
.top-bar {
  position: fixed;
  top: 0;
  right: 0;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  z-index: 10;
}

.top-bar button,
.top-bar a {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
  font-family: inherit;
}

.top-bar button:hover,
.top-bar a:hover {
  color: var(--accent);
}

.lang-switch {
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border) !important;
}

/* Main content */
.container {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--border);
  transition: border-color 0.3s;
}

.profile-pic:hover {
  border-color: var(--accent);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* Links */
.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s, transform 0.2s;
}

.links a:hover {
  color: var(--icon-hover);
  transform: translateY(-2px);
}

.links a svg {
  width: 28px;
  height: 28px;
}

.links a span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 1rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .description {
    font-size: 0.85rem;
  }

  .links {
    gap: 1rem;
  }
}
