.portfolio-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

.owner-profile-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden; 
}

.profile-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, #ffe3e3ff 0%, #ffedc6ff 100%);
}

.profile-content {
  position: relative;
  z-index: 1;
}

.profile-top {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
  border: 5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  padding-top: 40px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 32px;
  font-weight: 700;
  color: #111;
}

.subscriber-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-platinum {
  background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.4);
}

.badge-premium {
  background: linear-gradient(135deg, #faab84 0%, #ffb027 100%);
  color: #78350f;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.badge-classic {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.profile-title {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.profile-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-bio {
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 20px;
}

.bio-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.property-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  cursor: pointer;
}

.property-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.property-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 100%);
  position: relative;
}

.property-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.95);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.property-details {
  padding: 18px;
}

.property-price {
  font-size: 24px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 8px;
}

.property-name {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.property-location {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-features {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #555;
}

.contact-section {
  background: white;
  border-radius: 12px;
  padding: 28px;
  margin-top: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.contact-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #dc2626;
  color: white;
}

.btn-primary:hover {
  background: #b91c1c;
}

.btn-secondary {
  background: white;
  color: #dc2626;
  border: 2px solid #dc2626;
}

.btn-secondary:hover {
  background: #fef2f2;
}

@media (max-width: 768px) {
  .portfolio-wrapper {
    padding: 16px 12px;
  }

  .owner-profile-card {
    padding: 24px 16px;
  }

  .profile-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    font-size: 36px;
  }

  .profile-name {
    font-size: 26px;
  }

  .profile-info {
    padding-top: 0;
  }

  .profile-meta {
    justify-content: center;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }
}
