.developer-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 34px;
  padding-bottom: 20px;
}

/* HEADER */
.compact-header {
  margin-bottom: 18px;
}

.compact-header h1 {
  font-size: 2.7rem;
  margin-bottom: 8px;
  line-height: 1.05;
}

.compact-header p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

/* TOP GRID */
.dev-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.dev-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
}

.compact-card {
  padding: 22px;
}

.dev-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.dev-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* PROJECT LIST */
.list {
  list-style: none;
  margin-top: 14px;
}

.list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #dfdfdf;
  font-size: 0.95rem;
}

.list li:last-child {
  border-bottom: none;
}

/* SECTION */
.compact-section {
  margin-top: 18px;
}

.compact-title {
  margin-bottom: 12px;
}

.compact-title h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.compact-title p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* USEFUL LINKS CARD */
.links-card {
  justify-content: space-between;
}

.links-top {
  margin-bottom: 18px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: auto;
}

.link-box {
  text-decoration: none;
  color: white;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link-box:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.link-label {
  font-size: 0.78rem;
  color: #9f9f9f;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.link-box strong {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
}

/* DEV PROFILE */
.dev-profile-grid {
  display: flex;
  justify-content: center;
}

.dev-profile {
  max-width: 520px;
  width: 100%;
  padding: 24px;
  text-align: left;
}

.dev-profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.dev-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.dev-profile-info h2 {
  font-size: 1.9rem;
  line-height: 1.05;
  margin-bottom: 6px;
  color: #ffffff;
}

.dev-role {
  color: #bcbcbc;
  font-weight: 600;
  font-size: 1rem;
}

.dev-description {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 420px;
}

/* FOOTER */
.footer {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted-2);
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .dev-top-grid {
    grid-template-columns: 1fr;
  }

  .compact-header h1 {
    font-size: 2.2rem;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .dev-profile {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .dev-profile-head {
    align-items: flex-start;
  }

  .dev-avatar {
    width: 74px;
    height: 74px;
  }

  .dev-profile-info h2 {
    font-size: 1.55rem;
  }

  .dev-description {
    max-width: 100%;
    font-size: 0.96rem;
  }
}