:root {
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --accent: #004085;
  --focus-ring: #74b9ff;
}

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

/* Profile Card Root */
.profile-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
}

/* Responsive Layout: Desktop */
@media (min-width: 600px) {
  .profile-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Avatar Section */
.avatar-container {
  flex-shrink: 0;
  margin: 0 auto;
}

.user-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-color);
}

/* Content Section */
.profile-content {
  flex-grow: 1;
}

.user-name {
  margin: 0 0 0.5rem 0;
  color: var(--text-main);
  font-size: 1.5rem;
}

.user-bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.time-display {
  font-family: monospace;
  font-size: 0.9rem;
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Lists Styling */
.info-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.social-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: all 0.2s;
}

.social-links a:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.social-links a:hover {
  background: var(--accent);
  color: white;
}
