:root {
  --page-bg: #ebe7e1;
  --card-bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-muted: #8a8a8a;
  --border-color: #ececec;
  --item-hover-bg: #fafafa;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #131313;
    --card-bg: #1c1c1e;
    --text-primary: #f5f5f5;
    --text-muted: #8e8e93;
    --border-color: #2c2c2e;
    --item-hover-bg: #232325;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 48px 24px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 56px 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.name {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  flex-shrink: 0;
}

.bio {
  margin: 0 0 40px;
  color: var(--text-muted);
  font-size: 17px;
}

.section {
  width: 100%;
  margin-bottom: 8px;
}

.section-label {
  margin: 0 0 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--card-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: var(--item-hover-bg);
}

.arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
}

.item-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-github { background: #181717; }
.icon-linkedin { background: #0a66c2; }
.icon-email { background: #4f6cf6; }

.item-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.item-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .item-card {
    transition: none;
  }
}

@media (max-width: 560px) {
  .card {
    padding: 40px 24px 36px;
    border-radius: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
