.profile-content {
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
}

.profile-header {
  display: flex;
  gap: 80px;
  margin-bottom: 50px;
  align-items: center;
}

.profile-avatar {
  flex-shrink: 0;
}

.profile-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1a1a1a;
}

.profile-info {
  flex: 1;
}

.profile-username {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-username h1 {
  font-size: 28px;
  font-weight: 400;
}

.edit-profile-btn {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.edit-profile-btn:hover {
  background-color: #333;
  border-color: #666;
}

.settings-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.profile-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 18px;
  font-weight: 600;
}

.stat-label {
  font-size: 16px;
  color: #ccc;
}

.profile-bio h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.profile-bio p {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

.profile-nav {
  display: flex;
  justify-content: center;
  border-top: 1px solid #1a1a1a;
  margin-bottom: 30px;
}

.profile-nav-btn {
  background: none;
  border: none;
  color: #666;
  padding: 15px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease, border-top-color 0.3s ease;
  border-top: 1px solid transparent;
}

.profile-nav-btn.active {
  color: #ffffff;
  border-top-color: #ffffff;
}

.profile-nav-btn:hover {
  color: #ffffff;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover .grid-overlay {
  opacity: 1;
}

.grid-item:hover img {
  transform: scale(1.1);
}

.grid-stats {
  display: flex;
  gap: 20px;
  color: #ffffff;
  font-weight: 600;
}

.grid-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .profile-username {
    flex-direction: column;
    gap: 15px;
  }

  .profile-stats {
    justify-content: center;
  }

  .profile-nav-btn {
    padding: 15px 20px;
    font-size: 10px;
  }

  .profile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .profile-content {
    padding: 20px 10px;
  }

  .profile-avatar img {
    width: 120px;
    height: 120px;
  }

  .profile-username h1 {
    font-size: 24px;
  }

  .profile-stats {
    gap: 30px;
  }
}
