.profile-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.profile-image {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(180,160,120,.8);
  box-shadow: 0 0 12px rgba(255,200,100,.25);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .35rem;
}

.profile-name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fce9c5;
  text-shadow: 0 0 10px rgba(252,233,197,.55);
}

.profile-email {
  color: #dfe3e6;
  opacity: .9;
  text-decoration: none;
  font-size: 1rem;
}
.profile-email:hover { text-decoration: underline; }

.profile-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
  min-height: 175px;
}

.right-top-icons { display: grid; grid-auto-flow: column; gap: .45rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: auto;
  min-width: 48px;
  height: 40px;
  padding: 0 .6rem;
  cursor: pointer;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.icon-btn img { width: 20px; height: 20px; display: block; object-fit: contain; }

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 10px rgba(255,255,255,.15);
}

.right-top-icons a.icon-btn {
  width: 44px; height: 44px; padding: 0;
}
.right-top-icons a.icon-btn img {
  width: 22px; height: 22px; object-fit: contain;
}

.right-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  min-width: 220px;
  align-items: flex-end;
}
.right-actions .btn.action { min-width: 200px; justify-content: center; }

.btn.action {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: 8px;
  background: rgba(24, 120, 78, 0.12);
  border: 1px solid rgba(24, 120, 78, 0.6);
  color: #d7ffea;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: all .18s ease;
}
.btn.action:hover {
  background: rgba(24, 120, 78, 0.18);
  box-shadow: 0 0 10px rgba(24,120,78,.35);
}

.profile-summary {
  margin-top: 1.25rem;
}
.profile-geo {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: .95;
  margin-bottom: .55rem;
}
.profile-about {
  font-size: 1.15rem;
  opacity: .9;
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-left {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .profile-info {
    margin-top: 0;
    align-items: center;
  }

  .profile-right {
    align-items: center;
    width: 100%;
    min-height: auto;
    margin-top: 1rem;
  }

  .right-actions {
    align-items: center;
  }
}
